From: Judy Zappacosta on

On Wed, 21 Apr 2010 12:52:20 GMT, AnthonyL wrote:

>>When a WinXP computer has both a wireless connection (54 Mbps) and an
>>ethernet connection (100 Mbps), how does Windows choose which connection to
>>actually use?

> Go to the command prompt and type Route Print
See the "route print" below.
It's kind of hard to understand.
There are multiple "25" metrics.
Which one does it use?
Lan or Wan?

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 22 14 ac 03 28 ...... Broadcom 440x 10/100 Integrated Controller
- Pac
ket Scheduler Miniport
0x3 ...00 6f 16 95 bc 9e ...... Intel(R) PRO/Wireless 2200BG Network
Connection
- Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.1.40 192.168.1.102 25
0.0.0.0 0.0.0.0 192.168.1.40 192.168.1.101 20
192.168.1.0 255.255.255.0 192.168.1.101 192.168.1.101 20
192.168.1.0 255.255.255.0 192.168.1.102 192.168.1.102 25
192.168.1.101 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.1.102 255.255.255.255 127.0.0.1 127.0.0.1 25
192.255.255.255 255.255.255.255 192.168.1.101 192.168.1.101 20
192.255.255.255 255.255.255.255 192.168.1.102 192.168.1.102 25
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 192.168.1.101 192.168.1.101 20
224.0.0.0 240.0.0.0 192.168.1.102 192.168.1.102 25
255.255.255.255 255.255.255.255 192.168.1.101 192.168.1.101 1
255.255.255.255 255.255.255.255 192.168.1.102 192.168.1.102 1
Default Gateway: 192.168.1.40
===========================================================================
Persistent Routes:
None
From: DevilsPGD on
In message <1pglqhjngq1wo.dlg(a)sbcglobal.net> Judy Zappacosta
<zappajNOSPAM(a)sbcglobal.net> was claimed to have wrote:

>
>On Wed, 21 Apr 2010 12:52:20 GMT, AnthonyL wrote:
>
>>>When a WinXP computer has both a wireless connection (54 Mbps) and an
>>>ethernet connection (100 Mbps), how does Windows choose which connection to
>>>actually use?
>
>> Go to the command prompt and type Route Print
>See the "route print" below.
>It's kind of hard to understand.
>There are multiple "25" metrics.
>Which one does it use?
>Lan or Wan?
>
>===========================================================================
>Active Routes:
>Network Destination Netmask Gateway Interface
>Metric
> 0.0.0.0 0.0.0.0 192.168.1.40 192.168.1.102 25
> 0.0.0.0 0.0.0.0 192.168.1.40 192.168.1.101 20
> 192.168.1.0 255.255.255.0 192.168.1.101 192.168.1.101 20
> 192.168.1.0 255.255.255.0 192.168.1.102 192.168.1.102 25
> 192.168.1.101 255.255.255.255 127.0.0.1 127.0.0.1 20
> 192.168.1.102 255.255.255.255 127.0.0.1 127.0.0.1 25
> 192.255.255.255 255.255.255.255 192.168.1.101 192.168.1.101 20
> 192.255.255.255 255.255.255.255 192.168.1.102 192.168.1.102 25
> 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
> 224.0.0.0 240.0.0.0 192.168.1.101 192.168.1.101 20
> 224.0.0.0 240.0.0.0 192.168.1.102 192.168.1.102 25
> 255.255.255.255 255.255.255.255 192.168.1.101 192.168.1.101 1
> 255.255.255.255 255.255.255.255 192.168.1.102 192.168.1.102 1
>Default Gateway: 192.168.1.40
>===========================================================================

There aren't any duplicated routes with the same metric here, but
rather, you have two almost identical routing options for any particular
destination, one with a metric of 20 and the other with a metric of 25.

The only routes that aren't exactly duplicated are the 192.168.1.101 and
192.168.1.102 routes which are routed as loopback addresses.

Since 20 wins over 25, 192.168.1.101 will be the default interface.
From: bod43 on
On 22 Apr, 02:52, DevilsPGD <Still-Just-A-Rat-In-A-C...(a)crazyhat.net>
wrote:
> In message <1pglqhjngq1wo....(a)sbcglobal.net> Judy Zappacosta
> <zappajNOS...(a)sbcglobal.net> was claimed to have wrote:
>
>
>
>
>
> >On Wed, 21 Apr 2010 12:52:20 GMT, AnthonyL wrote:
>
> >>>When a WinXP computer has both a wireless connection (54 Mbps) and an
> >>>ethernet connection (100 Mbps), how does Windows choose which connection to
> >>>actually use?
>
> >> Go to the command prompt and type Route Print
> >See the "route print" below.
> >It's kind of hard to understand.
> >There are multiple "25" metrics.
> >Which one does it use?
> >Lan or Wan?
>
> >===========================================================================
> >Active Routes:
> >Network Destination        Netmask          Gateway       Interface
> >Metric
> >           0.0.0.0          0.0.0.0      192.168.1.40    192.168.1.102  25
> >           0.0.0.0          0.0.0.0      192.168.1.40    192.168.1.101  20
> >       192.168.1.0    255.255.255.0     192.168.1.101    192.168.1.101  20
> >       192.168.1.0    255.255.255.0     192.168.1.102    192.168.1.102  25
> >     192.168.1.101  255.255.255.255        127.0.0.1       127.0.0.1    20
> >     192.168.1.102  255.255.255.255        127.0.0.1       127.0.0.1    25
> >   192.255.255.255  255.255.255.255     192.168.1.101    192..168.1.101  20
> >   192.255.255.255  255.255.255.255     192.168.1.102    192..168.1.102  25
> >         127.0.0.0        255.0.0.0        127.0..0.1       127.0.0.1    1
> >         224.0.0.0        240.0.0.0     192.168.1.101    192.168.1.101  20
> >         224.0.0.0        240.0.0.0     192.168.1.102    192.168.1.102  25
> >   255.255.255.255  255.255.255.255     192.168.1.101    192..168.1.101  1
> >   255.255.255.255  255.255.255.255     192.168.1.102    192..168.1.102  1
> >Default Gateway:       192.168.1.40
> >===========================================================================
>
> There aren't any duplicated routes with the same metric here, but
> rather, you have two almost identical routing options for any particular
> destination, one with a metric of 20 and the other with a metric of 25.
>
> The only routes that aren't exactly duplicated are the 192.168.1.101 and
> 192.168.1.102 routes which are routed as loopback addresses.
>
> Since 20 wins over 25, 192.168.1.101 will be the default interface.

You can chose which interface to use:-
http://support.microsoft.com/kb/894564

The only entries that are particularly relevant
are the top four.

The top two determine which interfaces are used for
traffic sent to your router, the next two are for
local traffic to PCs on your local network.
In both cases interface 192.168.1.101
is being used since the metric is 20 which is better
than 25.

Just ignore the rest, it is only there to confuse you:)