Wednesday, August 20, 2025

Updated IP Routing

 eth1 is DOWN (state DOWN) - it's not activated

No default route in the routing table

eth0 doesn't have an IP address assigned (or it's not showing in routing)

DNS is failing because there's no network connectivity

Let's troubleshoot step by step:

1. First, check if eth0 has the IP address:

bash

ip addr show eth0

2. Bring up eth1 interface:

bash

sudo ip link set eth1 up

3. Check current IP configuration:

bash

ip addr show

4. If eth0 doesn't have the IP, assign it manually:

bash

sudo ip addr add xxx.xxx.xxx.xxx/20 dev eth0

5. Add the default gateway:

bash

sudo ip route add default via xxx.xxx.xxx.x dev eth0

6. Test connectivity:

ping -c 4 xxx.xxx.xx.x  # Test gateway first

ping -c 4 8.8.8.8       # Test internet


No comments:

Post a Comment