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