In article <426b3b32$0$38038$(E-Mail Removed)>, "Mike
MacSween" <(E-Mail Removed)> wrote:
>> No version of Windows can use two network adapters in the same subnet
>> at the same time.
>
>I'll take your word for it. Though I still don't understand why not. I've
>seen 'no 2 adapters on the same subnet' often, but no explanation as to why
>not.
I tried to explain that in the following paragraph:
>> Each network adapter has associated entries in the route table. When
>> route table entries for two or more adapters match a destination IP
>> address, the system uses the one with the lower associated "metric"
>> value. It never uses the one with the higher metric.
For example, I just set up two network adapters in the same subnet on
my Windows XP computer. The relevant route table entries for Internet
access (default routes) are:
Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.123.252 192.168.123.102 30
0.0.0.0 0.0.0.0 192.168.123.252 192.168.123.222 20
The first entry is for a wireless adapter with IP address
192.168.123.102. The second entry is for a wired adapter with IP
address 192.168.123.222. Both adapters access the Internet through a
router on the network with IP address 192.168.123.252. Both adapters
have subnet masks of 255.255.255.0.
The system will always use the wired adapter for Internet access,
because its metric (20) is lower than the metric for the wireless
adapter (30). It will only use the wireless adapter for Internet
access if the route that uses the wired adapter is removed from the
route table, e.g. if the wired adapter is disabled or disconnected.
One additional note: if the route table entries for two adapters have
equal metrics, the system will choose one adapter or the other, and it
will always choose the same one.
>> By default, Windows XP assigns a lower metric to the faster (wired)
>> connection and a higher metric to the slower (wireless) connection.
>>
>> I think that XP and 98 are doing different things in your testing
>> because of what happens when you disconnect a network cable from a
>> wired network adapter: XP automatically deletes all route table
>> entries associated with the network adapter, and 98 doesn't.
>>
>> So, with the wired adapter disconnected, XP automatically uses the
>> only connection that has route table entries: the wireless one.
>
>Thanks, that all make sense
>>
>> And, in the same circumstances, the route table entries for the wired
>> adapter are still there, so 98 tries to use that adapter (even though
>> it isn't connected) instead of the wireless one.
>>
>> How do you disable the wired adapter on 98? I'm not aware of any
>> Windows command to do that.
>
>From the user interface. IIRC Settings, Control Panel, Network, then I just
>deleted the entry for TCP/IP->name of ethernet card.
Ah, I see. You removed the TCP/IP protocol binding from the card,
which removed the route table entries for that card. Removing and
adding the TCP/IP binding require a reboot, don't they, making the
process very inconvenient?
Windows XP can disable a network adapter without having to disconnect
it, remove TCP/IP from it, or reboot.
>> If the adapters had dynamic IP addresses, you could use Winipcfg to
>> release the address for one adapter, which would remove that adapter's
>> route table entries and cause Windows to use the other adapter.
>
>by dynamic IP addresses you mean DHCP?
Yes.
>Thanks, Mike
You're welcome, Mike Here are some web sites for more information:
http://support.microsoft.com/?id=140859
http://www.microsoft.com/technet/com...y/default.mspx
http://www.microsoft.com/resources/d...c_tcp_qpzj.asp
http://www.microsoft.com/resources/d...c_imp_ukfj.asp
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.
Microsoft Most Valuable Professional - Windows Networking
http://mvp.support.microsoft.com
Steve Winograd's Networking FAQ
http://www.bcmaven.com/networking/faq.htm