Virtual Machines (VMs) connected to different NSX overlay segments are unable to communicate with each other.
For example:
The issue occurs because the subnet mask configured inside the Guest OS is incorrect.
Example:
/24 network (255.255.255.0)/16 (255.255.0.0)Because of this mismatch, the VM incorrectly assumes that remote IP addresses belong to the same local network.
Instead of sending traffic to the default gateway for routing, the VM tries to directly find the destination VM using ARP requests.
Since the destination VM is actually on another segment, ARP resolution fails and the communication does not work.
To change the VM netmask to match that of the segment's netmask, proceed with steps below :
ipconfig /allip addr255.255.255.0).Once the correct subnet mask is configured, the VM will properly send traffic to the gateway, and inter-segment communication should work successfully.
For further details on NSX segment configuration and routing logic, refer to the VMware NSX Administration Guide.