Cabled and Wireless connection on laptop without setup ?

G

Glenn

Hi,

I have a laptop with both cabled and wireless network adaptors.
The laptop runs win 2000 pro. The network is a small home network with
Linksys BEFS11W wireless router.

I can't get the setup right to connect via Wireless when the cable is
out, without having to disable the cabled Network connection.

Both cabled & wireless Connections have a static IP on the same subnet
(only one available due to linksys)
Cabled: 192.168.1.10; Wireless: 192.168.1.25

The other settings are the same, except Interface Metric:
cabled = 1; Wireless = 50

When both connections are enabled, the cabled network/route is
prioritized as it should be (quicker)

My problem starts when I disconnect the LAN cable. Windows confirms the
cable is disconnected, but still try to go the cabled route; resulting
in network connection loss.
( route print shows routes for both adaptors)

Only if I disable the cable network connection in control panel, the
wireless route is taken and yields a working connection.
( route print shows routes only for wireless adaptor)

How must I configure my machine to get the cabled & wireless adaptors to
live together without manually adjusting the settings each time
connectivity changes?

best regards
glenn
 
S

Sergio Moreno

Hello there,

you can have a default gateway for each NIC adapter in Windows 2000 Pro but there is only a single active default route in the IP route table.
When you disconnect the the NIC with the active default route, it does not remove its TCP/IP configuration from the TCP/IP stack as you can confirm when
you run 'route print' from a command prompt.
Have you tried adding static routes to the routing table?
You may want to try enabling "EnableDeadGWDetect" for the TCP/IP stack on the client.

--------------------
From: Glenn <[email protected]>
Newsgroups: microsoft.public.win2000.networking
Subject: Cabled and Wireless connection on laptop without setup ?
Date: Mon, 26 Apr 2004 13:11:39 GMT

Hi,

I have a laptop with both cabled and wireless network adaptors.
The laptop runs win 2000 pro. The network is a small home network with
Linksys BEFS11W wireless router.

I can't get the setup right to connect via Wireless when the cable is
out, without having to disable the cabled Network connection.

Both cabled & wireless Connections have a static IP on the same subnet
(only one available due to linksys)
Cabled: 192.168.1.10; Wireless: 192.168.1.25

The other settings are the same, except Interface Metric:
cabled = 1; Wireless = 50

When both connections are enabled, the cabled network/route is
prioritized as it should be (quicker)

My problem starts when I disconnect the LAN cable. Windows confirms the
cable is disconnected, but still try to go the cabled route; resulting
in network connection loss.
( route print shows routes for both adaptors)

Only if I disable the cable network connection in control panel, the
wireless route is taken and yields a working connection.
( route print shows routes only for wireless adaptor)

How must I configure my machine to get the cabled & wireless adaptors to
live together without manually adjusting the settings each time
connectivity changes?

best regards
glenn

--
Sergio Moreno
Microsoft Windows Networking

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.
 
G

Glenn

Setting the registry 'EnableDeadGWDetect' to 0 (disabled ?!) did the
trick. Disconnect the cable, wait a few moments and the traffic flows
thru the other connection. Great!

It was, as you indicated, the gateway route holding on to the
disconnected interface as seen in following data.
I tried to add/change a static route. Bu as route add/delete/change
refuses 255.255.255.255, I failed. Perhaps you can show me my error.

Already thanks for the solution
glenn

Route print Header
=======================================================================
Interfacelist
0x1 ........................... MS TCP Loopback interface
0x2 ...00 10 60 ee 47 9e ...... USB 10/100 Adapter NDIS 5.0 Driver
0x3 ...00 90 d1 05 a9 05 ...... I-GATE 11M PC Card Wireless
===========================================================+===========

Routes with both connections in place
=======================================================================
Active routes:
Networkadress Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.25 50
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.10 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.10 192.168.1.10 1
192.168.1.0 255.255.255.0 192.168.1.25 192.168.1.25 50
192.168.1.10 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.1.25 255.255.255.255 127.0.0.1 127.0.0.1 50
192.168.1.255 255.255.255.255 192.168.1.10 192.168.1.10 1
192.168.1.255 255.255.255.255 192.168.1.25 192.168.1.25 50
224.0.0.0 224.0.0.0 192.168.1.10 192.168.1.10 1
224.0.0.0 224.0.0.0 192.168.1.25 192.168.1.25 50
255.255.255.255 255.255.255.255 192.168.1.10 192.168.1.10 1
Standard-gateway: 192.168.1.1
========================================================================
Permanent routes:
None

Route with only wireless ( without registry setting not working)
========================================================================
Active routes:
Networkadress Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.25 50
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.25 192.168.1.25 50
192.168.1.25 255.255.255.255 127.0.0.1 127.0.0.1 50
192.168.1.255 255.255.255.255 192.168.1.25 192.168.1.25 50
224.0.0.0 224.0.0.0 192.168.1.25 192.168.1.25 50
255.255.255.255 255.255.255.255 192.168.1.25 2 1
Standard-gateway: 192.168.1.1
========================================================================
Permanent routes:
None

Hello there,

you can have a default gateway for each NIC adapter in Windows 2000 Pro but there is only a single active default route in the IP route table.
When you disconnect the the NIC with the active default route, it does not remove its TCP/IP configuration from the TCP/IP stack as you can confirm when
you run 'route print' from a command prompt.
Have you tried adding static routes to the routing table?
You may want to try enabling "EnableDeadGWDetect" for the TCP/IP stack on the client.

--------------------
8<
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top