Virtual machines experience a loss of network communication when they are located on different ESXi hosts. In this state, the virtual machines can still successfully ping the default gateway and communicate with other virtual machines located on the same ESXi host and VLAN.
This issue occurs when Virtual Ethernet Bridge (VEB) is enabled on the ESXi hosts. Enabling VEB in an environment that does not actively utilize SR-IOV causes a Layer 2 network partition, disabling communication between virtual machines that reside on different hosts.
VEB is generally used in SRIOV environments. If SRIOV is not in use, it can be safely disabled. Referring to below NIC settings from the server BIOS, to disable VEB, we can set the "Default EVB Mode" to "None".