When a continuous ping is initiated to the default gateway (or another IP) from the ESXi host, a small percentage of packet loss is observed as shown below:
To isolate the packet loss, perform the following steps:
netdbg vswitch instance list[root@<hostname>:~] netdbg vswitch instance list | grep vmk0 vmk0 <switchport-id> <dvPort-id> 00:50:56:##:##:## vmnic0 <vlan-id> N/Aping <gateway/other-ip-address> -c 100 & pktcap-uw --uplink vmnic0 --dir 2 -o /vmfs/volumes/<datastore-name>/uplink.pcapnguplink.pcapngTo download the file, navigate to the datastore on the vCenter UI. Click on the files tab. Fetch the file and click on Download.
Once the packet capture file is downloaded, analyze the ICMP stream (using a tool like Wireshark) to determine packet drops:
Scenario A: ICMP Request Sent, No ICMP Reply received (Physical Network Issue)
Observation: You see the ICMP Echo Requests leaving the ESXi host (Outbound), but there are no corresponding Echo Replies coming back (Inbound) for the dropped sequence numbers.
Action: This indicates the ICMP Request packet successfully left the ESXi host but either the ICMP Request was dropped before it reached the default gateway (or other IP), or ICMP Reply was dropped before it reached the ESXi host. Engage your Physical Network Team to investigate the upstream switch, routing, or firewall configuration.
Scenario B: ICMP Request Missing (ESXi host issue)
Observation: You see a gap in the ICMP Echo Request sequence numbers (e.g., Sequence 10, 11, [Missing 12], 13) within the capture itself, meaning the packet never reached the ESXi host's uplink.
Action: Open a Support Case with Broadcom, referencing this KB article. Upload the uplink.pcapng file and the ESXi Support Bundle to the case.
NOTE: If you need assistance in analyzing the packet captures, you can reach out to Broadcom Support or engage your Networking team.