VMWare distributed switch, VMs from different hosts cannot ping one another

I am using ESXi 5.1 in the hosts, I have setup a distributed switch with corresponding uplink and port groups. When migrating to distributed switch, it seems that VMs from the same host can ping one another, but pinging VMs on different hosts fail.

I have used the default settings on creation of the uplink and port groups, it seems very strange and I cannot find anything useful on the internet.

Distributed switch topology figure shows all VMs on the same port group having green colors as well as the uplinks, it seems perfectly normal but VMs from different hosts cannot ping.

Any ideas? Anyone with similar problem?

enter image description here


Solution 1:

I'm not sure that I understand your network setup. In your management port group you work with a VLAN trunk range of 0-4094. This implies you're working with tagged VLANs on your uplinks, see Edit the VLAN Policy on a Distributed Port Group in the vSphere Web Client.

On the other hand, the port group that gives you trouble works untagged. To the best of my knowledge, switches allow you to work with tagged or untagged VLANs, you can't mix them.

Did this work on your local virtual switches, i.e. were you able to mix the untagged port group and the VLAN trunking port group there without any problems?

edit: Try to use VLAN or VLAN Trunking on the port group that's not working at the moment.

edit2: If you use specific VLANs (not VLAN Trunking, I don't know if this works) on your port groups, you can make use of Network Health Check (KB article: Enabling vSphere Distributed Switch health check in the vSphere Web Client) to troubleshoot your problems.