Advertisement

06.06.2008 at 08:02AM PDT, ID: 23463962
[x]
Attachment Details

Add Static Route to VPN Connection

Asked by xnmb in Internet Protocols, Windows Networking, Networking Protocols

hello,

while connected to my home network and to my work's network (via VPN), i want to be able to connect to a server at my work. the problem is that both my home and work networks both use 192.168.x.x as host ID. when i try to connect to the server at work, the route being used is the gateway of my home network.

when connected to my home network, my wireless adapter has the following IP configuration:

Ethernet adapter Wireless Network Connection:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Network Connection
        Physical Address. . . . . . . . . : 00-1F-3C-3A-84-A6
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.1.10
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.2
        DHCP Server . . . . . . . . . . . : 192.168.1.2

when connected to my VPN connection (remote gateway disabled), my PPP adapter has the following IP configuration:

PPP adapter WORK VPN:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
        Physical Address. . . . . . . . . : 00-53-45-00-00-00
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.50.102
        Subnet Mask . . . . . . . . . . . : 255.255.255.255
        Default Gateway . . . . . . . . . :

when connected to my VPN connection (remote gateway enabled), my PPP adapter has the following IP configuration (default gateway is same as IP acquired, work server is reachable when VPN connection's gateway is enabled):

PPP adapter WORK VPN:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
        Physical Address. . . . . . . . . : 00-53-45-00-00-00
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.50.106
        Subnet Mask . . . . . . . . . . . : 255.255.255.255
        Default Gateway . . . . . . . . . : 192.168.50.106

the IP of the server at work i wish to connect to is 192.168.70.2

question is, how can i add a persistent route so that i can connect to my work server without using my VPN connection's default gateway? is it possible to specify a dynamic default gateway in ROUTE ADD based on the acquired VPN  IP? is it possible to do this for a persistent route?

please help. thanks.Start Free Trial
[+][-]06.06.2008 at 08:13AM PDT, ID: 21729822

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Internet Protocols, Windows Networking, Networking Protocols
Sign Up Now!
Solution Provided By: RobWill
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.06.2008 at 08:42AM PDT, ID: 21730098

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 09:35AM PDT, ID: 21730568

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 09:37AM PDT, ID: 21730586

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 09:40AM PDT, ID: 21730618

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 09:46AM PDT, ID: 21730668

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 09:56AM PDT, ID: 21730757

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 10:14AM PDT, ID: 21730931

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 10:22AM PDT, ID: 21730997

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.06.2008 at 10:26AM PDT, ID: 21731046

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628