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
433 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:
LucF 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Microsoft Azure Site-to-Site VPN with Palo Alto 3 209
Sudden loss of remote desktop connectivity via VPN 11 71
AnyConnect - VPN server list 2 94
IPsec VPN - which encryption? 5 38
Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
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…

861 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