Re: Two NIC Routing Question

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

 



On Thu, 2005-06-02 at 16:15, Jake Colman wrote:
> I have to add the IP adress of my external NIC as a default gw.
> 
>    MD> Please post the results of "netstat -rn" after a fresh reboot.
> 
> The output of 'netstat -rn' following a reboot is:
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
> 68.196.176.0    0.0.0.0         255.255.240.0   U         0 0          0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1
> 127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
> 0.0.0.0         192.168.0.254   0.0.0.0         UG        0 0          0 eth1
> 
> After I manually add a default route through eth0, I get the following:
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
> 68.196.176.0    0.0.0.0         255.255.240.0   U         0 0          0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1
> 127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
> 0.0.0.0         68.196.186.208  0.0.0.0         UG        0 0          0 eth0
> 0.0.0.0         192.168.0.254   0.0.0.0         UG        0 0          0 eth1

You have 192.168.0.254 configured as your gateway ( in
/etc/sysconfig/network). Remove that entry, and let dhcp set it for you.
dhcp won't set your default gateway if it's already set.

Bas Vermeulen

--

fedora-legacy-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-legacy-list

[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux