X-Account-Key: account1 X-UIDL: 16092 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 20051001111814-21082-7 ; Sat, 01 Oct 2005 11:18:14 -0400 (Hethmon Brothers Smtpd) id 20051001111812-48040-7 ; Sat, 01 Oct 2005 11:18:12 -0400 Message-ID: <433EA8F2.6090404@2rosenthals.com> Organization: Rosenthal & Rosenthal User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.8b2) Gecko/20050626 MultiZilla/1.8.1.0h MIME-Version: 1.0 References: <0034619260.00000HH5@pooh.deezee.org> In-Reply-To: <0034619260.00000HH5@pooh.deezee.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 01 Oct 2005 11:19:14 -0400 Sender: os2-wireless_users-owner X-Listname: os2-wireless_users@2rosenthals.com Reply-To: os2-wireless_users@2rosenthals.com From: Lewis G Rosenthal 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 Interesting, Dave, as I didn't even know that the OS/2 stack supported multiple default routes (in NetWare, this is known as Multiple Default Gatewayt with Dead Gateway Detection). Here's a bit more from the eCS 1.2 help docs: *OS*/*2* TCP/IP provides support for default route recovery (RFC 816) by allowing you to specify multiple default routes in the \MPTN\BIN\SETUP.CMD file. If the current gateway should go down, the stack selects the next preferred default gateway from the list in SETUP.CMD and tries to maintain the connection. When the new gateway has successfully routed 25% of the TCP connections that use the default route, the new gateway is made the default gateway for the entire machine. The default gateway IP addresses are entered in SETUP.CMD in the order that has the least preferred gateway as first and the most preferred gateway as last. To implement default route recovery, the **multidefrt** flag must be set to ON, which is the default setting. You can turn off this L:\INFO-Misc\LibPathflag using the inetcfg.exe application. inetcfg -s *multidefrt* 1 # to turn it ON inetcfg -s *multidefrt* 0 # to turn it OFF Example In the SETUP.CMD file route add default 9.1.2.3 netmask 255.0.0.0 #this is the least preferred gateway route add default 9.1.2.4 netmask 255.0.0.0 route add default 9.1.2.5 netmask 255.0.0.0 #this is the most preferred gateway I'll have to try this a bit. On 09/28/2005 04:33 am, Dave Saville thus wrote : > On Wed, 28 Sep 2005 07:11:45 +0200, S ren Ager wrote: > > >> On 27-09-05 09.30, Dave Saville wrote: >> >> >>> 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. >>> >> Try adding the following to \mptn\bin\setup.cmd: >> >> inetcfg -s multidefrt 0 >> > > Which does what exactly? Help just says enable multiple default routes. How > does that work then? > > -- Lewis ------------------------------------------------------------ Lewis G Rosenthal, CNA, CLE Rosenthal & Rosenthal, LLC Accountants / Network Consultants New York / Northern Virginia www.2rosenthals.com eComStation Consultants www.ecomstation.com Novell Users International www.novell.com/linux/truth Warpstock 2005 - Hershey, Pennsylvania, October 6-9, 2005 www.warpstock.org ------------------------------------------------------------ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=