Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to add a route from my computer to a VMWare Virtual Machine which runs on a computer in a different office. I can access the host computer ( where the machine is running on a virtual subnet. The IP address of the virtual computer I'd like to connect to is (I MUST NOT change it due to some third party software running on it which would need to be configured again by Third Party when the IP address is changed). I know that there is a "route add" command, but because I do not know anything about routes and metrics, I fail to understand the examples given on some web pages. I tried a "route ADD MASK", but that seems not work (I cannot ping it from my computer, only from the host). How do I add that route? Thanks a lot for your hints.

share|improve this question

migrated from Aug 25 '11 at 0:56

This question came from our site for professional and enthusiast programmers.

Can you ping that virtual machine from the host server? If so the command you used should be fine, however you may need to enable ip forwarding on the host machine. – Alan Hollis Aug 24 '11 at 13:54

Assuming you are geographically separated from your "other office" where the machine is, at first blush it seems like you are trying to connect to a machine that you don't have a direct route to. You can import your environment (unchanged) to a Skytap configuration, assign a public IP and then easily connect to it from your machine. Check us out at

share|improve this answer

Finally I found a simpler solution: since the machine I want to connect to is a Virtual Machine, I could add a second network card, and then the machine had an IP address in the "normal" subnet also.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.