[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#100357: I got the gateway wrong first time, reconfigure net didn't help



Package: boot-floppies
Version: N/A; reported 2001-06-09
Severity: normal
Tags: woody

This is current cvs boot-floppies.

The first time I configured the network I gave the wrong gateway.  (I have 
a 192.168 network with a gateway doing NAT (ipmasq))

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

I meant for the gateway to be 192.168.0.20.

I went through the network configuration step again and network was still 
broken:

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.0.20    0.0.0.0         UG    0      0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

Oops, I don't know what the kernel is supposed to do when there are two
gateways, but the anything outside the 192.168 was dead, no response.

To fix I did a :
# ifconfig eth0 down

Then went through the network configuration again, all was good after that.

-David


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux meow 2.4.4 #1 Thu May 31 11:41:44 PDT 2001 i686
Locale: LANG=C, LC_CTYPE=C




Reply to: