Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Windows Server Networking

two VPNs and routing

Reply
 
Thread Tools Display Modes
  #1  
Old 09-18-2006, 12:05 PM
Default two VPNs and routing



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.




Andrey Kuru
Reply With Quote
  #2  
Old 09-18-2006, 03:48 PM
Robert L [MVP - Networking]
Guest
 
Posts: n/a
Default Re: two VPNs and routing

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.


Reply With Quote
Reply

Tags
routing, vpns

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:15 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.