2

I have a PC with 2 NICs installed and I want to utilize both, in my office table there's a 2 port patch panel.

1 port is for internet, and the other for internal access.

When both my NICs are active, it seems that I cannot access both network simultaneously (internal & internet).

My PC is in the state of confusion as to what traffic goes to a certain NIC only, by that I mean if I search the internet it should use the nic internet port if I access internal network it must use the office NIC port.

Is there a way I can command in windows to do routing of packets?

6
  • Would you consider telling us the OS you're using?
    – tink
    Commented May 2, 2013 at 3:11
  • im using windows 7, the reason behind this, its too troublesome to disconnect a cable and switch it to another port just to change my access to a certain network. the internal network (10.0.0.0/24) and my internet network goes (192.168.X.X/24) these are 2 separate networks, and i just need to make all my web traffics go the (192.168.X.X) gateway Commented May 2, 2013 at 3:20
  • being 10.0.0.0/24 are there any computers on the internal network on 10.0.1.0 or above? Also is the 192.168.X.X/24 network really /24 or did you mean to type /16? Commented May 2, 2013 at 3:22
  • ipconfig shows (10.132.232.115/24) i have no control over this since this is a dhcp-given ip to access the office network only, but we also have a different network to access the internet which is in the (192.168.100.X/24) network. it just so happens that my pc has 2 nics, and just realize the convenience of not having to disconnect 1 port just to access the other. Commented May 2, 2013 at 3:29
  • Ok, my question is are there any computers on your corperate network outside of the 10.132.232.X range? If the answer to my question is "Yes" then the answer to your question is "Windows does not support that setup, you can't have gateways for two NICs that point to two networks, only two NICs to one network or two NICs to two networks where one does not have a gateway router set." Commented May 2, 2013 at 3:33

3 Answers 3

1

Windows does not support multi-homed networks when the networks are disjointed. See this kb for more details.

If your 10.0.0.0/24 network has all of the devices inside the same subnet all you need to do is not set a default gateway for that nic and everything should work. If you do need to set a default gateway on your 10.0.0.0/24 network, you can't do it, windows does not support multiple gateways.

1

How about selecting both network adapters in the

Control Panel/Network and Internet/Network Connections

and then right click and select Bridge Connections. From what I understand of networking, this may allow you to access both networks, and if I understand it correctly, the newly formed network bridge would then route traffic between the two networks, depending on the requested information.

I attempted to use this method to gain greater internet access, splitting data traffic between the two adapters, essentially doubling my rate, but only the first adapter was using the internet connectivity, the second one that connected was not being used. This may be due to the fact that the first one was able to fulfill the request, so the bridge used that one. Google research corrected me on this, thus me finding your question as well.

0

For example, to add a static route to the 10.0.0.0 network that uses a subnet mask of 255.0.0.0, a gateway of 192.168.0.1, and a cost metric of 2, you type the following at a command prompt:

route -p add 10.0.0.0 mask 255.0.0.0 192.168.0.1 metric 2 

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .