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

Two Nics and two networks

can a workstation  have two NICS and be connected to two separate networks. if yes, how can I control which one gives internet access, as they both have a gateway?
I use server 2008 R2  and windows 7
4 Solutions
Patrick BogersDatacenter platform engineer LindowsCommented:

Yes it can, you need to confige RRAS to be able to give the second LAN access to e.g. the internet. On how to please read here.
Cliff GaliherCommented:
When you have two NICs, they should not both have a gateway. Windows will actually give you s warning saying this if you try to set the gateway on both NICs. So, as far as how you control which NIC provides internet access, it'd be the one with a default gateway in most instances. The NIC with a blank default gateway would have no routes outside of its local subnet.
You could go to network card properties - ipv4 properties - take out checkbox on automatic matric and manually enter a value. Do this for both cards. The lower metric path gets the default route priority.

Do a route print and you can see that.
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

You can certainly have a machine that has a nic each of which is on a separate network/subnet and you can use routing tables/routing and remote access to control how each is used. - its called a duel homed machine.

Note though, that while the machine can communicate on multiple subnets, it can only belong to one domain.
intelogentAuthor Commented:

you bring up subnets... and domains...

the machines are not on a domain, they are peer to peer... and there are two different subnets

are the different subnets preferable or an issue?
if the machines are not on a domain then there is no issue - they will be able to communicate on both subnets.
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

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