Two network cards, one for the internet, one internal network

quadcells

Senior member
Jul 18, 2000
479
0
0
Hi All,
I did a quick search but could not find the answer.
If a computer has two network cards, one for the internet and one for an internal network.
How to I tell the Browser to use one not the other?
It seems that I can get on the internet as long as I disable the other network connection, but as soon as I enable the second one I lose my internet connection.
 

RebateMonger

Elite Member
Dec 24, 2005
11,586
0
0
Be sure to put the two network cards on DIFFERENT subnets. If both cards are on the same subnet, then your OS won't know which way to send traffic addressed to that subnet. It can only choose one or the other card for the traffic direction....not both.

Additionally, as nweaver mentioned, you can only have one Default Gateway on your computer. So be sure to only set one NIC with a Default Gateway....usually the NIC that leads to your Internet connection.
 

quadcells

Senior member
Jul 18, 2000
479
0
0
Ok,
Card A is connected to a router which goes to the internet Ip is assigned by DHCP.
Card B is connected directly to a internal network which has it's own subnet (different then card A) IP address and does not have a gatway.

If I disable card B, we can connect to the internet.
As soon as we enable card B we lose the internet connection.

What are we missing here?

-quadcells
 

oddyager

Diamond Member
May 21, 2005
3,398
0
76
I'm guessing it may have to do with routing on your machine itself. With both NICs enabled can you run this command from command prompt and copy paste the results (you can replace the actual ip addresses with madeup ips):

route print