static routes

KLin

Lifer
Feb 29, 2000
30,953
1,080
126
I have 2 networked desktops. One is connected to a VPN, but it's still accessible via the LAN IP Address.

Can I setup a static route on the other desktop to route to IP addresses located on the VPN?

(fake IP addresses used)
Desktop 1 LAN: 1.1.1.1
Desktop 2 LAN: 1.1.1.2
Desktop 1 VPN: 11.11.11.11 IP Address
Sample VPN IP: 12.12.12.12

I tried doing a "route add 12.12.12.0 mask 255.255.255.0 1.1.1.2 metric 1" from the command prompt but that didn't work. Thanks! :)
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
The VPN software probably doesn't allow the packets to be forwarded. Not only that you'd need a route back to desktop 1. 12.12.12.0 would have to know how to reach 1.1.1.0.