Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Dual Nic's

  • Please log in to reply
1 reply to this topic

#1 spearball


  • Members
  • 17 posts
  • Local time:08:51 PM

Posted 22 October 2007 - 08:20 PM

How can i properly setup dual nics on a linux machine so internet goes in one and out the other. I have fedora running. I mean what am i supposed to enter as my ips and subnets, etc. Thanks

Heres my setup.

Modem, linux box, router which i made into a switch, other computers.

BC AdBot (Login to Remove)


#2 Wassim


  • Members
  • 376 posts
  • Gender:Male
  • Location:Byblos, Lebanon, Middle East.
  • Local time:02:51 AM

Posted 23 October 2007 - 02:36 PM

The general idea is to configure the NIC that has an internet connection incoming on it(where you plugged the cable) with the settings provided by your ISP.This will make internet woking on the Linux machine.

As for the second NIC You could give it and IP adrress : with a subnet mask: and the DNS:
Now on the other computers put same settings but increase the last number of the IP by one on each different computer.Ex:2nd PC, 3rd PC with all pcs having as subnet masks: and the default gateway and the DNS

And i guess u need to enable Internet connection sharing on the Linux machine wish i dont know how to do on Fedora.

This way is guaranted to work on Windows ( i am using this way).maybe it might need some twists or diffrent setting to work on Fedora.

Of course since ur using a switch all the cabling should be straight.

By the way, what OS are you using on the other PCs??
"Stuffy Hall Admin of the Typing Skills Enhancing School Program"

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users