Two NIC Routing Question
Larry Underhill
lgu at pobox.com
Wed Jun 1 21:35:10 UTC 2005
Huh. I had a similar problem with my FC3 laptop. By chance are you
running NetworkManager?
/etc/init.d/NetworkManager status
/etc/init.d/network status
If you see that NetworkManger is started, then stop it and restart
network. I am pretty sure this was the root of my problem...
--Larry
On Wed, 2005-06-01 at 09:31 -0400, 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