Hi,
Our company is developing an intermediate filter driver implementing
Mobile IP. There is one virtual adapter (called "Home adapter") in
the system that serves as Mobile IP tunnel entry point and all packets
sent to it are encapsulated into MobileIP tunnel and sent using filter
driver to one of physical adapters. All packets that are sent to
physical adapters from windows are blocked by filter.
In order to get it work correctly windows tcpip must route all packets
to Home adapter. Its not hard to do it if there are only
connection-less adapters, but when there is dialup connection dialed
we have a problem. No matter how the connection has "use default
gateway" flag set - tcpip always adds a routing rule for this
connection the only difference is whether its mask is 0.0.0.0 or
255.0.0.0.
We need to delete this rule every time the connection is dialed. It
works but not everywhere. It seems that Windows XP SP1 machines have
problem with the deletion of such rules. "route delete" command that
works on SP2 does not work on SP1. Is it some bug in tcpip or route
table ?
Or is there any (other) way how to get rid of that nasty rule ?
thanks in forward
--
Martin Stangel, Technology Research and Consulting
Whitestein Technologies AG
Pestalozzistrasse 24, 8032 Zurich, Switzerland
URL: www.whitestein.com, Phone: + 41 44 256 5016, Fax: + 41 44 256
5001