 |
 |
|
|
| From: |
Lewis G Rosenthal <os2-wireless_users@2rosenthals.com> |
|
| Sender: |
os2-wireless_users-owner <os2-wireless_users-owner@2rosenthals.com> |
| Subject: |
[OS2Wireless] default route problem |
| Date: |
Sat, 01 Oct 2005 11:19:14 -0400 |
| To: |
os2-wireless_users@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)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
 |
|
 |
|
|
|