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
432 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using Windows 2008 RRAS, I was able to successfully VPN into the network, but I was having problems restricting my test user from accessing certain things on the network.  I used Google in order to try to find out how to stop people from accessing c…
Like many others, when I created a Windows 2008 RRAS VPN server, I connected via PPTP, and still do, but there are problems that can arise from solely using PPTP.  One particular problem was that the CFO of the company used a Virgin Broadband Wirele…
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…

776 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