Link to home
Start Free TrialLog in
Avatar of CraigSNYC
CraigSNYCFlag for United States of America

asked on

Two Internet Connections: 1. NIC 2. WiFi

Using Windows XP.  Let's say you have a Cat 5 cable connected to a router, AND on that same computer you have a WiFi connection.  So, you have two Internet connections.  Which connection is Windows going to use?  Are there rules/algorithm that Windows follows?  I haven't seen consistent behavior, hence the question.

Thanks
Avatar of Jay_Jay70
Jay_Jay70
Flag of Australia image

first one wins usually!
Avatar of giltjr
Umm, how does  the Window box get it's IP address?

If you have coded static IP addresses, if both interfaces are active and you have default gateway code for both, then you issue the command netstat -rn and see which one shows up in the routing table first.  

If they are both static, but you only have defualt gateway on one of them, then that is the one, as there is no other one.

Now, if you are using DHCP on one or both of the interfaces and both DHCP servers are setup to deifine a default gateway, then the last interface to get its DHCP address will be the default, as it will add the default gateway last and it will appear in the routing table first.
Avatar of CraigSNYC

ASKER

Jay_Jay what do you mean "first one"?  First active connection?
basically the first one that is connected - if wireless is on and then you plug in to the LAN, then the wireless still holds until you say otherwise, and vice versa, try the routing table as mentioned above
ASKER CERTIFIED SOLUTION
Avatar of 2hype
2hype
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SORRY!!  i forgot to award points!  I'll take care of it first thing on Monday morning.

Sorry!