two VPNs and routing

Discussion in 'Windows Networking' started by Andrey Kuru, Sep 18, 2006.

  1. Andrey Kuru

    Andrey Kuru Guest

    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, Sep 18, 2006
    #1
    1. Advertisements

  2. 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
    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.
     
    Robert L [MVP - Networking], Sep 18, 2006
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.