Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 (192.168.110.164) where the machine is running on a virtual subnet. The IP address of the virtual computer I'd like to connect to is 192.168.44.4 (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 192.168.44.0 MASK 255.255.255.0 192.168.110.164", 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 stackoverflow.com 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
add comment

2 Answers

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 http://www.skytap.com/blogcomments

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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