Mailing List os2-wireless_users@2rosenthals.com Archived Message #2489

From: "Dave Saville" <os2-wireless_users@2rosenthals.com> Full Headers
Undecoded message
Sender: os2-wireless_users-owner <os2-wireless_users-owner@2rosenthals.com>
Subject: [OS2Wireless] default route problem
Date: Wed, 28 Sep 2005 09:33:38 +0100 (BST)
To: "os2-wireless_users@2rosenthals.com" <os2-wireless_users@2rosenthals.com>

On Tue, 27 Sep 2005 22:27:22 +0200, Christian Langanke wrote:

>Dave Saville wrote:
>
>>I use XWLAN to switch between a wired and wifi connection - depending on me
>>moving the laptop from my office to the garden :-)
>>
>>I have noticed that if I boot wired and then switch to wireless the default
>>route of the wired connections stays. So a netstat -r shows two default routes.
>>I then have to delete the old one. Going wifi to wired however works as
>>expected.
>>  
>>
>Hi Dave, long time not read,
>
>I had similar problems reported. In your case the problem gets even
>worse as the cabled and the wifi nic both connect to the same network.
>Then the IP stack also may end up playing with the ARP entries, if the
>old default route is still there. If I try to reproduce that problem, I
>don't end up with two default routes here, but MPTS creates a host route
>being implicitely copied from the old default route, pointing to the
>already disabled interface. Only when I delete this one, the new default
>route works.

<snip>

Hi Christian.

No cigar I am afraid :-(

Different networks. My wired connection comes from my ADSL modem using DHCP. My
WIFI connection comes from a DLINK box on a different network using DHCP from
my Solaris box. (My desktop and the Sparc both have two NICs.)

Nowhere do I set a default route. My xwlan.cmd for when wifi shuts down is:

      if WLan._Profilename = "Home" then do
        'dhcpmon -l';
        'dhcpmon -t';
        'ifconfig lan1 down';
        'ifconfig lan1 delete';
        'route -fh';
        'arp -f';
        'dhcpstrt -d 10 -i lan0';
        'ifconfig lan1 192.168.255.251';
      END;


--
Regards

Dave Saville

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

To unsubscribe from this list, send a message to
steward@2rosenthals.com with the command
"unsubscribe os2-wireless_users" in the body
(omit the quotes).

For help with other commands, send a message
to steward@2rosenthals.com with the command
"help" in the body (omit the quotes).

This list is hosted by Rosenthal & Rosenthal
P.O. Box 281, Deer Park, NY 11729-0281. Non-
electronic communications related to content
contained in these messages should be directed
to the above address. (CAN-SPAM Act of 2003)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Subscribe: Feed, Digest, Index.
Unsubscribe
Mail to ListMaster