We help IT Professionals succeed at work.

Hamachi VPN

samee87
samee87 asked
on
I am using Hamachi from legmein.com as VPN. But my question is how can I set up a static routes. Because if my VPN is on different vlan then it does not work with my application server. My application server on different VLANs. Is it posiible?  
Comment
Watch Question

IT Consultant
Commented:
if you know the router/gateway to the other VLAN where the application server stands, you may add one more static route to your client computer's routing table.

for Windows, the console command is:

ROUTE ADD 1.1.1.0 MASK 255.255.255.0 2.2.2.1

where 1.1.1.0 is the subnet of application VLAN and 255.255.255.0 for the subnet's mask, and 2.2.2.1 is the router/gateway to the 1.1.1.0 subnet.

your Windows computer must stay on the same 2.2.2.0 subnet where the router/gateway is located.

hope it helps,
bbao
Commented:
Router gateway and application server subnet are same. But I am trying to set up a hamachi from different VLAN and also different subnet. Is it posible.??

Author

Commented:
It was partially correct.