How to control routes added by RasDial

Posted by Robert Dodier on Server Fault See other posts from Server Fault or by Robert Dodier
Published on 2013-06-27T20:03:56Z Indexed on 2013/06/27 22:23 UTC
Read the original article Hit count: 158

Filed under:
|
|
|

I am using the RasDial function on a Windows box (Windows Server 2008) to dial a device from which the server then reads data. It seems that some new routes are added to the network routing table when the dial-up connection is made. That interferes with other network interfaces on the server. In particular, RasDial adds a default route which routes traffic to the device, which makes the server unreachable until the connection is dropped. Is there a way to control which routes are added by RasDial?

I have been studying Microsoft's document for RasDial and associated items (RASDIALPARAMS, RASDIALEXTENSIONS) without finding anything about routing. There is an option for "Use default gateway on remote network" when configuring a VPN, but I don't see how to apply that in this case.

Thanks for any light you can shed on this problem.

© Server Fault or respective owner

Related posts about Windows

Related posts about networking