Jim Perrin wrote: > On 1/9/07, Theo Band [Xanadu Wireless] <theo.band at xanadu-wireless.com> > wrote: >> I try to setup networking with a fresh CENTOS4.4 installation. Upto now >> I have 20 installations, most of them FC3/FC4 and RHEL3. >> I noticed that the default gateway is not setup properly when using >> Centos. >> >> [root at raaf ~]# route >> Kernel IP routing table >> Destination Gateway Genmask Flags Metric Ref Use >> Iface >> 192.168.101.0 * 255.255.255.0 U 0 0 0 eth1 >> 169.254.0.0 * 255.255.0.0 U 0 0 0 eth1 >> default 192.168.101.1 0.0.0.0 UG 1 0 0 eth1 >> >> Networking is setup done by using dhcp, and this seems to work OK. >> Problem is however that the gateway should be 192.168.101.2 and not >> 192.168.101.1 (does not exist). If I manually add the gateway, >> networking is OK: > > Sounds like you need to fix your dhcp server so that it hands out the > proper information. > > Thanks Jim. That triggered the right thing. I had two servers specified in my dhcpd configuration: option routers 192.168.101.2, 192.168.101.1; > option routers ip-address [, ip-address... ]; > > The routers option specifies a list of IP addresses for routers on > the client’s subnet. Routers should be listed in order of prefer- > ence. All my other Windows and Linux boxes up to now don't seem to mind. I checked the routing on other boxes and they show up with both gateways (the old gateway was replaced a year ago..). Again thanks, you pointed me to the right spot. Theo