Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to ping vmware guest from another vmware guest

I would like to ping one vmware guest from another one. Both are Windows XP and use NAT. I set IP manually for VMnet8 to 192.168.18.1. (no using Obtain IP address automatically). Also I'm not able to ping neither guest1 nor guest2 from host.

I'm using VMWare Player 5.

Host machine (Windows 7):

    Ethernet adapter VMware Network Adapter VMnet8:      Connection-specific DNS Suffix  . :     Link-local IPv6 Address . . . . . : fe80::dc81:34e2:779d:595d%19     IPv4 Address. . . . . . . . . . . : 192.168.18.1     Subnet Mask . . . . . . . . . . . : 255.255.255.0     Default Gateway . . . . . . . . . : 

Guest 1:

    Connection-specific DNS Suffix  . : localdomain     IP Address. . . . . . . . . . . . : 192.168.18.131     Subnet Mask . . . . . . . . . . . : 255.255.255.0     Default Gateway . . . . . . . . . : 192.168.18.2 

Guest 2:

    Connection-specific DNS Suffix  . : localdomain     IP Address. . . . . . . . . . . . : 192.168.18.132     Subnet Mask . . . . . . . . . . . : 255.255.255.0     Default Gateway . . . . . . . . . : 192.168.18.2 

Any suggestions?

Thanks!

like image 443
Vladislav Krejcirik Avatar asked Sep 08 '12 17:09

Vladislav Krejcirik


People also ask

Can T ping VM from another VM?

If both the machines are in the same Virtual Network, then just turn off Windows Firewall and they will be able to ping each other. Other way is to just allow all incoming ICMP traffic in Windows Firewall with Advanced Settings. (ping request or create an exception by just enabling ping (ICMP).

How do I communicate between two virtual machines in VMware?

Start with two networksOpen the Virtual Network Editor from the Edit menu in VMware Workstation. Open Virtual Network Editor. Use the existing VMnet1 as one of the sites and add VMnet3 as the other. Enable changes by clicking Change Settings, then click Add Network.

How do you communicate between two VM?

The simplest way to establish communication between the VMs is to put them all on an internal network using the internal network mode. To do this, switch off your VM, and go to the Network configuration section. In Network access mode, select Internal Network, and either leave the default name or choose another one.


2 Answers

I just ran into the exact same problem while configuring my server 2008 and windows 7 vm's in VMware workstation 9. what helped is disabling the firewall and running the following command at the windows command prompt

netsh firewall set icmpsetting 8 enable

at that point I was able to ping one VM then both once I performed the command on both. this differnce between our scenarios is I have my VM configured using Bridged connections

like image 98
phil Avatar answered Sep 30 '22 09:09

phil


I know it is an old question, but I had a similar trouble recently. On VMware Workstation 12.+ go to Edit -> Virtual Network Editor... Select a network used by the problematic VM and make sure that "Connect a host virtual adapter to this network" checkbox is set for this network. In my case, it was not. After it was set, the host was able to ping the guest and guests were able to talk to each other.

enter image description here

like image 40
Dime Avatar answered Sep 30 '22 08:09

Dime