Solved

How does Windows XP Pro determine which network connection to use when multiple network connections exist on a PC?

Posted on 2006-11-16
2
429 Views
Last Modified: 2010-04-09
This is a theoretical scenario I am using solely for the purpose of understanding how Windows works.

Let’s say I have a laptop running Windows XP Pro and it’s connected to my home network via the onboard wired NIC, and then I establish a VPN connection to my company’s network creating a second network connection, and then I connect to my neighbor’s unsecured wireless network creating a third network connection.

How does Windows XP Pro determine which network connection to use when multiple network connections exist on a computer? Thanks.
0
Comment
Question by:WineGeek
2 Comments
 
LVL 32

Accepted Solution

by:
Luc Franken earned 500 total points
ID: 17960876
Hi WineGeek,

Please start with reading the following document:
Default Gateway Behavior for Windows TCP/IP
http://www.microsoft.com/technet/community/columns/cableguy/cg0903.mspx

It explains pretty clearly how Windows will handle multiple gateways.

If you're using the windows XP PPTP client for the second connection (the VPN one) it's rather simple, you have one connection directly to the internet and one VPN. The PPTP client in Windows can be set to use the gateway on the remote network (default setting) or not to use that one. (http://www.firewall.cx/pictures/chris/pptp-remote-gateway.gif)

In any case, you can see how windows will route the traffic if you take a look at the routing table by typing the "route print" command in a command prompt.

Greetings,

LucF
0
 
LVL 32

Expert Comment

by:rsivanandan
ID: 17970528
Windows doesn't have the capability of intelligently determine the network connectivity, so you don't get any loadbalancing stuff here which you'll get with networking equipments.

Simple, 2 NIC configurations are allowed (which are to indicate 2 connections), but only one of them can have a default gateway, otherwise you can expect the unexpected.

In industry the 2 NIC scenario's are used, in such cases only one of the NIC should have a default gateway and only then the expected traffic flow would happen. Usually like the SBS servers/ISA servers do this.

Cheers,
Rajesh

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
Let’s list some of the technologies that enable smooth teleworking. 
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

747 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

11 Experts available now in Live!

Get 1:1 Help Now