I have an application within the Linux VM that relies on the 10.10.10.160 address. So even though the PC is not attached to any network, could I do something on the PC side so that it can ping 10.10.10.160?
Main Topics
Browse All TopicsI have a VM running Linux on my PC using Workstation 6.5. I need to be able to ping the IP address of the Linux VM from the PC side. If I leave DHCP on in the Linux server, it gets 172.16.215.128 and that address can be pinged from the PC side. However, if I manually set the IP to something else like 10.10.10.160, it will not ping from the PC side. I need to set the IP address manually in Linux and be able to ping it from the PC. Any help is appreciated.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I am not sure why you need the application to listen on this particular ip-address. You could change it to listen on the 172.16.215.xxx address? You could configure it to listen on all ip-addresses of the VM?
However, if for some reason that is not possible:
Assign two ip-addresses to the VM:
1. 172.16.215.10
2. 10.10.10.160
On your PC, add a route for 10.10.10.160/255.255.255.2
1. find the ip-number of the virtual router with "tracert" or with "route print" or inspect virtual router settings
2. add the route "route add 10.10.10.160 mask 255.255.255.255 ip_number_of_virtual_route
On the virtual router add a route for 10.10.10.160/255.255.255.2
- check documentation for the virtual router (if that is available)
You can also start the Linux VM in a bridge mode network. This way you will not need the virtual router, but you must assign an available local LAN ip-number to the VM.
For instance:
your PC ip: 192.168.1.10
available ip: 192.168.1.100 (check with network administrator if ip is really available)
assign 192.168.1.100 to Linux VM
assign 10.10.10.160 as second ip number to the Linux VM
Now in your windows machine add the following route:
route add 10.10.10.160 mask 255.255.255.255 192.168.1.100
Now if you pint 10.10.10.160 from the windows machine, you should get replies.
Business Accounts
Answer for Membership
by: annebPosted on 2009-09-24 at 14:49:56ID: 25418361
Internet Procotol address basically consist of two parts:
1. the network address
2. the host address
The so called 'network mask' defines which part of the address is the network address.
In your example, the VM gets ip-number 172.16.215.128. Most likely the system is using the standard network mask "255.255.255.0" which has the result that the part "172.16.215" is the network address and "128" is the host address.
If you have access to a particular network, you can directly ping hosts in that network. You cannot ping hosts in other networks without first defining a 'route' to the other networks.
In your example, you manually assigned ip 10.10.10.160 to the VM. Now the VM cannot be reached because your system only knows how to reach network 172.16.215.
Instead, If you manually set your VM ip to for example 172.16.215.10, you should be able to ping it.