?
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
Medium Priority
?
436 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 32

Accepted Solution

by:
LucF earned 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you connect to your workplace's VPN, you may not notice that you are using your workplace's servers to serve up webpages.  This might be undesirable since the workplace can log all the places you've been.  It also might be very slow to load pag…
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…
Suggested Courses

771 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