VMs in the same subnet on the same host cannot reach each other

Analysis

This issue might occur if one of the conditions exists:

Solution

This section uses VM 1 to ping VM 2 as an example.

To resolve the issue:

  1. Ping VM 2 from VM 1 and use the # tcpdump –lni <vnet_name> -Q in command on the vnet interface of VM 1 that connects VM 1 to OVS to capture ARP packets sent from VM 1.

  1. Use the # tcpdump –lni <vnet_name> -Q out command on the vnet interface of VM 2 that connects VM 2 to the OVS to capture ARP packets from VM 1.

  1. If ARP packets from VM 1 cannot be captured, examine security group, IP binding, and MAC binding settings on the vnet interfaces that connect the VMs to the OVS. Identify configurations that cause packet drop.

  1. If ARP packets can be captured, proceed to the next step.

  1. Use commands or wireshark (Windows VM) on VM 2 to capture ARP packets from VM 1.

  1. If ARP packets from VM 1 cannot be captured, examine if firewall or other security software configured on the VM blocks packets.

  1. If ARP packets can be captured, use the methods described in the previous steps to identify the reason why ARP responses from VM 2 are discarded.

  1. If the issue persists, contact Technical Support.