Two NICs, Two gateways

redhatdude at bellsouth.net redhatdude at bellsouth.net
Fri May 26 05:43:06 UTC 2006


On May 25, 2006, at 9:32 PM, Terry Polzin wrote:

> On Thursday May 25 2006 21:24, redhatdude at bellsouth.net wrote:
>> Hi,
>> I have a FC5 machine running apache at work which I set up as an nfs
>> server to share files in our office. Unfortunately, our IT guys
>> blocked everything except apache ports and therefore I can't run nfs
>> since the traffic doesn't reach that linux box. We have two gateways
>> at work,  one 10.0.0.200 for the IT department and apache, and the
>> other 10.0.0.201 for the rest of the users. I installed a second card
>> into this machine to serve NFS shares with a different IP and the
>> gateway for the users. Unfortunately, even though I configured both
>> cards with one different gateway each, the last NIC to load at boot
>> sets the gateway for both cards and it either allows http traffic or
>> nfs traffic, depending on the gateway that gets set.
>> Can someone show me how I can get each card to access different
>> gateways?
>> Thanks,
>> EJ
> There can be ONLY one default gateway, sounds like you need to set  
> up a static
> route for the one interface.


How do I do that?
EJ




More information about the fedora-list mailing list