Re: Two NIC Routing Question

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

 



>>>>> "MD" == Marc Deslauriers <marcdeslauriers@xxxxxxxxxxxx> writes:

   MD> On Wed, 2005-06-01 at 09:31 -0400, Jake Colman wrote:
   >> The problem is that it only works if I manually set up a default gateway
   >> route through the external interface.  After I boot the system, I type the
   >> following command:
   >> 
   >> route add default gw x.x.x.x
   >> 
   >> where x.x.x.x is the address assigned to my external interface. If I don't do

   MD> The address used by your external interface, or the address of your
   MD> gateway?

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


Why do your posts come through as a text attachment?

-- 
Jake Colman
Sr. Applications Developer
Principia Partners LLC
Harborside Financial Center
1001 Plaza Two
Jersey City, NJ 07311
(201) 209-2467
www.principiapartners.com

--

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