Unable to ping virtual machines even though there is network connectivity
search cancel

Unable to ping virtual machines even though there is network connectivity

book

Article ID: 304446

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • RDP sessions to virtual machines drop intermittently
  • RDP sessions to virtual machines fail despite proper network connectivity
  • When you continuously ping virtual machines that reside on the same host, you see that the virtual machines drop 8 to 10 packets at the same time
  • When you continuously ping virtual machines that reside on different ESX hosts, you see that the virtual machines drop packets but at different times


Environment

VMware ESX Server 3.5.x
VMware ESXi 3.5.x Installable
VMware ESX Server 3.0.x
VMware ESXi 4.0.x Installable
VMware ESXi 3.5.x Embedded
VMware ESX 4.1.x
VMware ESXi 4.0.x Embedded
VMware ESXi 4.1.x Embedded
VMware ESX 4.0.x
VMware ESXi 4.1.x Installable

Resolution

Windows guest operating systems poll CD devices frequently. When multiple virtual machines try to access a single physical CD drive, it impacts the performance.
To improve the performance, you can disconnect the CD devices in virtual machines when they are not required.
To disconnect the CD-ROM drives using GUI:
  1. Right-click the virtual machine and click Edit settings.
  2. Click CD/DVD Drive.
  3. Deselect Connected and Connect at power on under Device Status on the right side.
  4. Click OK.
To disconnect the CD-ROM drives using CLI:
  1. Log in to your ESX host as root either by using an SSH session or directly from the server console
  2. Navigate to the /vmfs/volumes/Datastore_Name/VM_Name folder of the virtual machine
  3. Open the virtual machine configuration file using a text editor and search for the entry:

    ideN:N.startConnected = "TRUE"
  4. Change the entry to:

    ideN:N.startConnected = "FALSE"
  5. Save the changes.
Note:


Additional Information

You may also experience network connectivity issues due to incorrect routing within the guest operating system. For more information, see Troubleshooting network connection issues caused by Windows network routing (1008199).Troubleshooting network connection issues caused by Windows network routing