-   Linux - Networking (
-   -   1 internal 1 external nic (

neocontrol 02-14-2007 10:50 AM

1 internal 1 external nic
I'm looking to setup my red hat machine to have dual network cards. One is for my static external IP and one is for my internal network attached to a gigabit switch.

Edit: I would also like to add, that the interal IP address doesn't need to go out to the internet. It should stay strictly within the internal network.

Edit some more: Currently these boxes use IPtables for firewalls.

The external card is already set, and working. I am adding the internal to this server.

What do I need to know, or what do I need to read to set this up?


jimbo1954 02-14-2007 11:48 AM

Well, this is a start...

it gives you firewall function on the 2-interface box, and private (RFC1918) addresses on the internal. You can also set up DHCP on the box, so it gives additional functionality.

There is no "right" way of doing this, and there will be loads of others out there who have different ways that are just as good...this just happens to be the method I use...


neocontrol 02-14-2007 12:02 PM

Thanks for the read Jim. I also edited my original to show more of what my setup is for any others who are able to help.

neocontrol 02-14-2007 12:08 PM

My other idea is to just setup the IP address of the internal card. Then add a route for the internal card. What does everyone think of this way? I guess if this is a good way, how do I set the route of the internal card?

neocontrol 02-14-2007 01:53 PM

Well, I figured out my own problem, it seems I already has this type of problem earlier this year, and the fix was to just to add Network = to get it to use the internal network. So thanks for letting me talk out loud. And thanks Jim.

All times are GMT -5. The time now is 01:29 PM.