You may create a batch file including rasdial and the script.
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
"Andrey Kuru" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
Gents,
Could you pls explain, how easy to make automatic routing on the client side
?
I have home eth connection. I establish VPN connection for internet access.
After that, I need access to the office. I need to establish the second VPN
connection.
My eth ip address is 10.153.132.xxx.
My office network is 10.30.xxx.xxx
Now I should manually find the ip address, which was offered by Office's VPN
server and run this script:
%1 == ppp adapter ip address, VPN office connection
route delete 10.0.0.0 mask 255.0.0.0 %1
route add 10.30.0.0 mask 255.255.0.0 %1
Any advices, how do it autmatically ?
Thanks.