Two NIC Routing Question

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

 



I have a class two NIC firewall.  eth0 is my external interface connected to
my cablemodem, eth1 is my internal interface connected to my hub.  I am using
iptables-based firewall rules and using NAT so I can access the internet from
all my desktops.  Everything is working correctly.

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
this, I cannot access anything on the internet from any my internal machines.
Once I execute this command it all works as expected.  I am certain, however,
that as a RH 7.2 system, which is what I was before I started incrementally
upgrading to FC1 where I am now, I did not need to do this for it to work.

How can I get this routing between two NICs to work correctly without
manually executing a 'route' command?  Please don't tell me to add this
command to rc.local.  My external IP address is dynamic so it can change
between reboots.  I need some mechanism that works dynamically.  I'm sure
that it used to work this way!

TIA!

...Jake

-- 
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