Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Verifying the networking within the guest operating system

Symptoms

  • Virtual machine does not have network connectivity.
  • Virtual machine cannot connect to the network.

Resolution

If you are having network connectivity issues, verify that the guest operating system is configured properly.
 
To verify that the guest operating system is configured properly on a Windows virtual machine:
  1. Verify that the virtual network adapter is present and enabled:
    1. Click Start > Run.
    2. Execute:

      devmgmt.msc


    3. Click on the + next to Network adapters to ensure that there is an entry and that it is enabled.

      If Network adapters is not present, there may not be a virtual network adapter connected to the virtual machine. For more information, see Verifying virtual network adapter is present and connected to virtual machine (1003786).

  2. Verify that the network is enabled:
    1. Click Start > Run.
    2. Execute:

      control

    3. Click Network Connections and verify that the Local Area Connection is enabled and its status is Connected.

  3. Verify the proper TCP/IP settings.
    1. Right-click the Local Area Connection and click Properties.
    2. Highlight Internet Protocol (TCP/IP) and click Properties.
    3. Please check with your Network administrator if the IP address, Subnet mask, Default gateway, and DNS servers are correct. Change them if necessary. 
To verify that the guest operating system is configured properly on a Linux virtual machine:
  1. Check the active adapters on your system, by executing:

    ifconfig -a
     
  2. Check the link status by executing:

    ethtool - eth0
     
  3. Check the network connection by executing:

    ping <virtual machine IP address>
    ping <virtual machine name> 

    • If you can ping by IP but not by hostname, then check that the DNS name server entires in /etc/resolv.conf file are correct by executing:

      less /etc/resolv.conf
        
    • If there are no ping replies, then ping the gateway and check network settings by executing:

      ping <gateway ip>
      less /etc/sysconfig/network
       

Additional Information

Tags

cannot-connect manage-vm reconfigure-vm vm-connectivity vm-management vm-network-change

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback


Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
Actions