[CentOS] Default gateway set incorrectly

Tue Jan 9 14:09:56 UTC 2007
Jim Perrin <jperrin at gmail.com>

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.




-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell