• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

VPN connection breaks my route to a server

I need to make a static path to fix my problem i believe.
I try to add the route but it give me a 'requires elevation'
0
mphillip85
Asked:
mphillip85
  • 3
1 Solution
 
Rob WilliamsCommented:
I assume you are running Vista or server 2008?
You need to be logged in as a member of the local administrators group, but you also have to elevate your privlages. To do so:
Right click on the command icon and choose "run as administrator", or enter cmd in the search box and press ctrl+shift+enter simultaneously. You will note "administrator' on the title bar of the command window. This will allow you to add the route.
0
 
mphillip85Author Commented:
I did go to administrator mode, but did not work.

I need to get to IP 10.1.50.20 server.  So can you give me the syntax of what the command should be like just in case I messed it up.


Thank You
0
 
Rob WilliamsCommented:
I am afraid you have not provided enough information to provide the specific route.
Normally a packet destined for an IP that is not accesible on the local LAN is sent to the default gateway. If that is not the correct next hop you need to add a route. If for example there is an additioanal routing device conneced to the 10.1.50.0 network segment with a local IP of 192.168.100.254. then you would use a route like:
route add 10.1.50.20 mask 255.255.255.255 192.168.100.254
or to add the remote subnet:
route add 10.1.50.0 mask 255.255.255.0 192.168.100.254
adding -p makes it permanent
route -p add 10.1.50.20 mask 255.255.255.255 192.168.100.254
to delete the route:
route delete 10.1.50.0
0
 
Rob WilliamsCommented:
Thanks mphillip85
Cheers!
--Rob
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now