[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Two NIC Routing Question
- From: Bas Vermeulen <bvermeul blackstar nl>
- To: Discussion of the Fedora Legacy Project <fedora-legacy-list redhat com>
- Subject: Re: Two NIC Routing Question
- Date: Thu, 02 Jun 2005 17:47:59 +0200
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]