[NTLUG:Discuss] Dual NIC Firewall - Problems with the external NIC

Chris J Albertson alb at chrisalbertson.com
Mon Mar 24 15:49:38 CST 2003


 I'm trying to set up a firewall box with dual NICs. Both NICs get detected by
 the kernel and everything looks good to there. Set up the internal NIC with
 ifconfig and give it a static IP. Things are good from there. I then add the
 second NIC using ifconfig and it too looks good. All local subnet IP addresses
 resolve on both NICs.
 The next step is to add a default route for the external NIC to the router
 that
 it's connected to. This is where things get hosed.
 
 So here is the ultimate question. Can I even have a default gw when I have two
 NICs? Is that causing too much confusion? I'm adding the default route like
 this: (Forget about the IP address not being legal for now....)
 route add default gw 10.10.0.1
 I would think that if I add the default gw with that IP address, it would
 realize that it needs to go thru the external nic (eth1) to reach it and all
 will be fine.
 
 Any help you guys can provide would be most excellent!
 Thanks!
 
 --
 Chris Albertson
 Owner - ChrisAlbertson.com  (Actually, I rent, with an option to buy)
 
 4783147098
 
 


-------------------------------------------------
This email was sent from www.chrisalbertson.com
using the IMP mailing program, part of the Horde suite
of information management tools.
http://horde.org/



More information about the Discuss mailing list