• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 222
  • Last Modified:

how can I add a second nic card to my linux to make a firewall?

I have a little old compaq 133 being used as a test linux box.  I am pretty new to linux, and want to figure out how to add support for a second nic card to the box.
any idea?
  • 2
1 Solution
well, if your question is just adding a second NIC, the steps involved are as follows:

1)  install new NIC into system

2) turn system back on, boot into Linux

3)  logon as root, run    linuxconf

4)   under the section for the NIC, there should be a series of tabs..
one should say something like ETH0, the next shoould say ETH1, and so on..
 ETH0 should be your first network card, and it should be active, and should have addresses and values assigned to it..   the other tabs, ie. ETH1, ETH2, etc. should be blank and disabled at this point..

5)  click on the ETH1 tab, and fill in the fields appropriately.. get another IP address from your site admin.. get the right gateway address, etc. etc.  

6) to setup routing between the NIC, you'll need to fill in the appropriate information on the ROUTING tab.. without having it here in front of me, I think it's a few notches above the actual NIC configuration section in LINUXCONF..

good luck

The first step should be to buy nic that is supported by linux
I might add supported by your release of Linux
best solution.


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now