Two NIC Routing Question

(Mailings) Patrick Lambooy patrickmailing at narmida.com
Wed Jun 1 20:19:04 UTC 2005


should be gotten from dhcp
so does ifdown eth0 / ipup eth0 work ?



Jake Colman wrote:

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




More information about the fedora-legacy-list mailing list