How do I set a Route Add to allow a 2 VPN hop?

My company LAN has a hardware VPN connection to a remote LAN where we have several systems. I can access these systems from computers on the company LAN (PING, TELNET, FTP,...). I can also access the company's resources via a Win XP VPN connection over DSL while at home. However, I cannot access the systems on the remote LAN over my DSL VPN connection. I can use Remote Desktop Connection after I have VPN'd to my office to access the remote systems but I'd just as soon access then directly.

The IPs involved are:
    Company LAN = 10.0.x.x
    Remote Systems = 13.28.x.x
    My home LAN = 192.168.x.x with DSL gateway connected to the internet.

How do use Route Add 13.28.0.0 mask 255.255.?.? ?.?.?.? to allow me access to the remote systems from home?

Thanks,
Lp
lpollisAsked:
Who is Participating?
 
adamdrayerCommented:
ok.  you have to be connected to your Company's VPN.  It should then issue you a IP address through dhcp.  if you type "ipcofnig /all" you should see 2 network connections.  1 of them should be the VPN connection to your company.  In that case you would type the following:

route add 13.28.0.0 mask 255.255.0.0 10.0.0.250 IF 2

you can type "route print" to see exactly which interface is using 10.0.0.250 as a gateway.  That is the interface you want to specify when using this route.  You have to do this when you are connected, and you must do this everytime.
0
 
adamdrayerCommented:
first get the internal ip address of the company lan's VPN server for the WinXP VPN. (I assume this is not the same hardware as the other VPN).  Call this IP address 10.0.x.y

Then add this to your computer:
route add 13.28.0.0 mask 255.255.0.0 10.0.x.y

if the company's VPN server that you connect to from the DSL is a windows computer, also check out Classless Static Routes DHCP Option
http://www.microsoft.com/technet/community/columns/cableguy/cg1003.mspx

using that, it will add this route to any computer that connects to it.
0
 
lpollisAuthor Commented:
Thank you. I tried your suggestion but I am still missing something. See below:
*************
C:\>route add 13.28.0.0 mask 255.255.0.0 10.0.0.250
The route addition failed: Either the interface index is wrong or the gateway does not lie on the same network as the interface. Check the IP Address Table for the machine.

Can you help further?
0
 
lpollisAuthor Commented:
Thank you. I finally got it to work. The result of the IPCONFIG/ALL showed that I was connected to 10.0.0.51. So the command:
    route add 13.28.0.0 mask 255.255.0.0 10.0.0.51
worked. I could not get the "if 2" to work; I'm not sure why. But, I can now TELNET to my remote systems without first having to log into REMOTE DESKTOP. Your solution helped me to find the right values to use in Route Add.
Thanks again,
Lp
0
 
adamdrayerCommented:
glad i could help =)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.