Post upgrade of ESXi hosts, VMs experience the following network behaviors:
Pings to the Default Gateway or external hosts show intermittent ping loss.
VMware ESXi
The issue is rooted in the physical network layer, specifically involving a misconfiguration of the Remote Switched Port Analyzer (RSPAN). This resulted in unintended packet flow and duplication across the physical uplinks.
netdbg vswitch instance list | grep -i <vm_name>pktcap-uw --uplink <vmnicX> --capture UplinkRcvKernel --proto 0x01 --ip <SrcIP or DestIP> -o /vmfs/volumes/<datastore_name>/uplink.pcapng
The above file can be opened using any packet analyser tool like Wireshark.
If the .pcap file shows ICMP Echo Requests from the VM IP entering the vmnic as ingress traffic, the physical switch is forwarding the VM's own traffic back to it.
For more information on how to perform packet captures refer: https://knowledge.broadcom.com/external/article/341568/packet-capture-on-esxi-using-the-pktcapu.html
For more inisights on RSPAN: RSPAN Cisco