Solved

Two Internet Connections: 1. NIC 2. WiFi

Posted on 2006-06-26
7
225 Views
Last Modified: 2010-03-18
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
0
Comment
Question by:CraigSNYC
7 Comments
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 16989378
first one wins usually!
0
 
LVL 57

Expert Comment

by:giltjr
ID: 16989428
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.
0
 

Author Comment

by:CraigSNYC
ID: 16989468
Jay_Jay what do you mean "first one"?  First active connection?
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 16989501
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
0
 
LVL 13

Accepted Solution

by:
2hype earned 250 total points
ID: 16994179
Whichever has the lower metric value has priority.

http://support.microsoft.com/?kbid=894564
0
 

Author Comment

by:CraigSNYC
ID: 17205248
SORRY!!  i forgot to award points!  I'll take care of it first thing on Monday morning.

Sorry!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now