Question Locked

2 nics 1 router

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
what i want to do with 2 nics is configure 1 for internet access only and the other LAN only eg. file transfers between pc's, laptop eg.

7 replies

by churdoo

Is this a server? workstation? what O/S? How will the other LAN clients access the internet if at all? Are you intending to provide routing services for LAN clients through this 2-nic device?

Simply, based on the limited information provided, this may get you started.

Your internet nic will connect to the LAN side of the router; the LAN nic will connect to a switch on your LAN.

The IP of your internet nic will be in the same network as the LAN side of the router, same subnet mask, and with the router LAN IP as the default gateway. DNS should likely be set to your ISP DNS resolvers. For example, if your router is a typical SOHO device with defaults, the LAN side of the router may be 192.168.1.1/24 (sm 255.255.255.0), so you can IP your internet nic with 192.168.1.11 / sm 255.255.255.0 / gtwy 192.168.1.1.

The IP of your LAN side will be a different network than your router/internet side, and with the default gateway left BLANK. In the above example, your LAN clients can be 192.168.11.xxx/24 (sm 255.255.255.0) / gtwy BLANK.

by sstat

i have 2 nics on one pc with only one router. i have no switch. what i want to do is config the nics so only one can access the internet and the other nic for the local area connects eg for file transfers between pc and or laptop

by churdoo

... everything in my prior post applies except either BUY a $30 switch, or if you're only ever talking about 2 computers on the LAN side for file transfers, then use a crossover cable from the LAN nic to the other computer.

by sstat

but the other machine also access the internet it only has one nic in it

by churdoo

Let's see if I have this right now.

So you have 1 machine with 1 nic connected to your router, and you want it to access the internet and share files with machine #2.

You have a second machine with 2 nics and you want it to access the internet through nic#1 and share files with the first machine through nic#2?

The second nic in machine #2 is unnecessary. You can access the internet and share files using just 1 nic on each machine by running (assuming Windows XP on both) the Network Setup Wizard.

If for some reason you WANT to use the 2nd nic on machine #2 the way you've suggested, it can be done, but again, is totally unnecessary and not recommended as it would unnecessarily complicate your setup.

This discussion is closed to new replies.