Packet loss is observed when pinging the Default Gateway (or other IP) from an ESXi host
search cancel

Packet loss is observed when pinging the Default Gateway (or other IP) from an ESXi host

book

Article ID: 428753

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

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:

Resolution

To isolate the packet loss, perform the following steps:

  1. Open Out-of-Band Management access [iLO/iDRAC] of the impacted ESXi host.
  2. Press F2 key to login.
  3. Go to Troubleshooting Options.
  4. Press Enter on Enable ESXi Shell.
  5. Press Alt+F1 key combination to access the ESXi Shell.
  6. Login using root credentials.
  7. Find out the Physical Network Adapter used by the Management VMkernel adapter using the following command [This Network adapter will be used later in the packet capture command]:
    netdbg vswitch instance list
  8. Output will be as follows:
    [root@<hostname>:~] netdbg vswitch instance list | grep vmk0
     vmk0                           <switchport-id>        <dvPort-id>                                   00:50:56:##:##:##    vmnic0          <vlan-id>              N/A
  9. Initiate a ping to the gateway (or other IP) along with packet captures using the following command:
    ping <gateway/other-ip-address> -c 100 & pktcap-uw --uplink vmnic0 --dir 2 -o /vmfs/volumes/<datastore-name>/uplink.pcapng
  10. Once the pings are finished, press Ctrl+C to stop the captures.
  11. Download the capture file uplink.pcapng

To 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.