X-Account-Key: account1 X-UIDL: 15444 X-Mozilla-Keys: Return-Path: os2-wireless_users-owner@2rosenthals.com Received: from 192.168.100.5 (hawking [192.168.100.5]) by 2rosenthals.com (Hethmon Brothers Smtpd) id 20050928043632-28837-10 ; Wed, 28 Sep 2005 04:36:32 -0400 (Hethmon Brothers Smtpd) id 20050928043631-29764-10 ; Wed, 28 Sep 2005 04:36:31 -0400 Received: from mxin2.mailhop.org ([63.208.196.176]) by mxout3.mailhop.org with esmtp (Exim 4.51) id 1EKXRS-000Mu2-FK for os2-wireless_users@2rosenthals.com; Wed, 28 Sep 2005 04:37:30 -0400 Received: from mail.deezee.org.uk ([81.187.184.98] helo=pooh.deezee.org) by mxin2.mailhop.org with esmtp (Exim 4.51) id 1EKXRS-000CAO-5a for os2-wireless_users@2rosenthals.com; Wed, 28 Sep 2005 04:37:30 -0400 Received: from 101.184.187.81.in-addr.arpa (101.184.187.81.in-addr.arpa [81.187.184.101]) by pooh.deezee.org (Weasel v1.72) for ; 28 Sep 2005 09:37:13 X-Mailer: PMMail 2.10.2010 for OS/2 Warp 4.05 In-Reply-To: <4339AB2A.8090403@clanganke.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-ID: <0034633140.00000HH9@pooh.deezee.org> X-Mail-Handler: MailHop by DynDNS.org X-Spam-Score: -1.3 (-) Date: Wed, 28 Sep 2005 09:33:38 +0100 (BST) Sender: os2-wireless_users-owner X-Listname: os2-wireless_users@2rosenthals.com Reply-To: os2-wireless_users@2rosenthals.com From: "Dave Saville" To: "os2-wireless_users@2rosenthals.com" Subject: [OS2Wireless] default route problem X-List-Unsubscribe: Send email to mailusers-request@2rosenthals.com X-List-Owner: mailusers-owner@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. 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) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=