By Crystal / Last Updated March 8, 2023

Help: My VMware Internet not working

 

I'm facing this strange problem from yesterday. Internet is working properly in my host machine but not working in my VM. It shows that the internet cable is unplugged. I'm getting a 'X' mark on the internet icon. Even if I'm connected in Wi-fi or LAN, I'm getting the same issue.

We've discussed Hyper-V VM no internet issue in a previous article. In fact, you may also encounter this situation in VMware - When you open Internet Explorer on a VM, it cannot display the webpage or an X is displayed above the network connection icon, which means your VMware virtual machine has no Internet connection.

Why does this problem occur, and how can you deal with it?

VMware no Internet connection

Why VMware internet not working (possible causes)

There are many reasons may cause VMware internet connection not working, for example:

  • Firewall blocks Internet access.
  • The virtual machine does not have an IP address.
  • Bridge, host-only, or NAT network connection failed.
  • The Ethernet controller driver is not installed.

……

Since it is difficult to specify which causes network problems in the first place, it's better to check each item one by one. Next, I will demonstrate how to connect virtual machine to Internet on VMware properly, and show the process in VMware Workstation as an example.

How to fix VMware Internet not working (troubleshooting)

◆ If your VMware connection to Internet not working, first of all, please restart the virtual machine. Power off the VM, and reboot the host. After that, re-open the virtual machine. If it still has no Internet access, please perform troubleshooting as followings.

◆ After operating each step, check if the virtual machine has an Internet access. Once the problem is resolved, there is no need to continue with the subsequent steps.

Step 1. Check the VMware host has correct network connection.

▸ Click “Start” >> “Control Panel” >> “Network Connections”.

▸ Right-click the local area network connection, and select “Enable”.

Step 2. Check that the virtual machine's firewall is not blocking Internet access.

check firewall

Windows XP: Microsoft Knowledge Base article Turn Windows Firewall on or off
Windows Vista: Microsoft article Turn Windows Firewall on or off
Windows 7: Microsoft article Turn Windows Firewall on or off
Windows 10: Microsoft article Turn Windows Firewall on or off

Step 3. Check antivirus program.

Verify that the virtual machine's antivirus program is not blocking Internet access, and run an antivirus scan to ensure that no viruses or other malware are interfering with the Internet connection.

Step 4. Enable Network Adapter in VMware.

The Internet not working issue may be caused by VMware network adapter not connected. If so, enable it.

▸ Open Control Panel. In the wizard, select “Network and Internet”.

▸Select  “Network and Sharing Center” >> “Change adapter settings”.

▸ Select your VMware Network Adapter and “Enable this network device”.

enable network adapter

Step 5. Change Network Adapter from NAT to Bridged or (or vice versa).

If one of the choices is valid and the other is not, it is a network connection error instead of a Workstation or virtual machine problem.

Step 6. Remove the network adapter and then add it again.

This is to ensure that the network adapter is connected to the virtual machine. Follow the steps:

▸ Power off your virtual machine first.

▸ Click “VM” >> “Settings” >> “Network Adapter”.

▸ Make sure that the network adapter is at the status as “Connect” and “Connect at power on”.

▸ Confirm the network connection as “NAT or Bridged” instead of “Host-only”.

readd network adapter

▸ Select “Remove”.

▸ Then go backup to “Settings” >> “Add” >> “Network Adapter” to add a new network adapter which matches your old one.

▸ Restart VMware host and power on the virtual machine to check if the Internet is working in Workstation.

Step 7. Update the Windows network adapter in Device Manager.

▸ Power on the VMware virtual machine.

▸ Click “Start”, right-click “My Computer” >> “Manager” >> “Device Manager”.

▸ Click the arrow to expand theNetwork Adapters” section.

update network adapter

▸ Right-click your Intel(R) Ethernet Connection in the dropped-down list (name may vary) and click “Update Driver Software”. Select “Search automatically for updated driver software”. Or if the drive is not detected automatically, please select “Browse my computer for drive software” >> “Let me pick from a list of device drivers on my computer”.

For Windows XP, select VMware Accelerated AMD PCNet Adapter.
For Windows Vista and 7, select Intel Pro/1000 MT Network Connection.

Then click “Close”, and restart your machine.

Step 8. Uninstall and reinstall all network adapters in the Device Manager.

▸ Start the virtual machine.

▸ Click “Start”, right-click “My Computer” >> “Manager” >> “Device Manager”.

▸ Click the arrow to expand the “Network Adapters” section.

▸ Right-click the “Intel(R) PRO/1000 MT Network Connection” (in Windows Vista and 7) or “VMware Accelerated AMD PCNet Adapter” (in Windows XP) device and select “Uninstall”.

▸ In the menu, click “Action” >> “Scan for hardware changes”.

▸ Restart Windows virtual machine.

Step 9. Reset TCP/IP and Winsock settings to default.

Step 10. Uninstall VMware Tools, then reinstall it.

See more details General VMware Tools installation instructions (1014294)

Step 11. Re-download VMware Workstation. It ensures that you get the latest version and will replace/repair any missing or damaged virtual network settings. Verify that the Workstation service is running correctly.

Tip: See more ways to fix a WI-FI connection issues in Windows.

Example: connect VMware Workstation to Internet

Here, I will illustrate a case to solve VMware Workstation Internet not working.

1. Open VMware Workstation, select “Edit” >> “Virtual Network Editor”.

connect Workstation to Internet

2. In the opened wizard, configure all the network adapters as we mentioned before.

For example, change Bridged or NAT. In the option “Bridge to”, select the correct NIC card used by the VMware Workstation, or select “Restore Defaults”. Then click “OK”.

change network adapter

This doesn’t require you to redownload the VMware Workstation, which reduces the risk of data-loss.

3. If your Workstation Internet still doesn’t work, go to check the DHCP and NAT Service.

▸ Type services.msc to open the Services Manager.

▸ Select the “VMware DHCP and NAT Service”, and select “Restart”.

restore DHCP and NAT service

Tip: If you didn't enable Automatic feature, select “Properties” item from the menu to open the VMware NAT/DHPC Service Properties dialogue, change the Startup type from manual to “Automatic”, so the Service will start automatically without the need to manually enable it on your host computer.

After performing these troubleshooting steps, you can successfully connect your virtual machine to the Internet. Network crashes or outages leads to inconvenience to business and also increases the risk of data loss. For enterprise, data-loss equals to financial damage, which is undoubtedly a fatal strike. So backup is a good habit which offers an insurance to your business and virtual machine data.

Further reading: Backup VMware to protect your VMs from errors

Virtual machines, just like physical machines, can suffer from various errors and problems in actual use. If your VMware VMs are carrying important business or important data, it is absolutely necessary to back them up regularly.

However, on the premise that a snapshot cannot replace backup, we can usually achieve virtual machine protection by some workarounds. You can clone or export VM, for example, but they all need to be done manually, and are not suitable for batch operations.

By comparison, a third-party tool is more efficient and convenient to protect multiple virtual machines of enterprise. Here I will introduce the free VMware backup software - AOMEI Cyber Backup as an example. It can automate backup process, monitors the status and sends email notifications if there's an error. Also, the operation is simplified into 3 steps - you can create a VMware backup task for multiple VMs at once with several clicks. It supports both paid and free versions of VMware ESXi & Hyper-V.

Download the free edition to experience all the conveniences:

Download FreewareVMware ESXi & Hyper-V
Secure Download

*You can choose to install this VM backup software on either Windows or Linux system.

3 simple steps to create a VMware VM backup plan

1. Log into the web client of AOMEI Cyber Backup and add vCenter or Standalone ESXi host as the source device.

2. Click Backup Task >> Create New Task. Select VMware ESXi Backup and the virtual machines you want to backup.

VMware ESXi backup

◆ In Target window, select a location to store virtual machine files.

create local path

◆ In Schedule window, you can choose backup method (full/incremental/differential backup) and configure the frequency (daily/weekly/monthly).

schedule backup task

◆ In Backup Cleanup* (optional feature that requires Premium Edition) window, specify the retention policy for each backup to delete unwanted files automatically.

backup cleanup

3. Click Start Backup to create and execute the task. Then you can check its status in Backup Task tab.

After the backup is completed and when you want to recover the VMs, just click the task to choose Restore. Then you can restore the VM from any point quickly and easily.

Restore VMware

✎If the restore failed, or you want to make a clone of the VM in the same or another datastore/host, you can also upgrade to Premium Edition to enjoy the advanced Restore to new location feature.

Restore to new location

Summary

This page helps to troubleshoot network connection issues for Windows virtual machines. If you cannot browse the web or find your VMware Internet not working after upgrading or other operations, please try the methods mentioned in this article to fix it.

In addition, VMware VM backup is also a frequently used means to protect virtual machines from any unexpected errors and problems.