I'm facing this strange problem from yesterday where if I select NAT as the network adapter in VMWare, I'm not getting any internet connection in the VM. I have a requirement where I have to have the network adapter as NAT.
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.
My host machine is Windows 7 Professional and VM is Windows 7 Professional N.
Any idea what could be the problem. I have referred to other links similar to my problem but they didn't seem to provide the solution to mine. Most of them asked to connect using Bridged adapter.
Any suggestions will be very useful.
216 Answers
You don't need to necessarily reinstall VMware. You might lose custom config and preferences, if you do so.
Here is a simple fix
- Edit > Virtual Network Editor
- Grant Admin Privileges
- You shall see all network adapter to configure, tweak those to your needs
- If you don't know what those are, simply click Restore Defaults
I resolved the problem. Though the solution seems to be pretty lame.
I observed that VMware DHCP service had stopped running and was not restarting at all, no matter what I try.
So I had to uninstall and re-install VMware workstation to make it run.
After reinstallation, I started getting internet with NAT adapter.
But I'm still not sure why the service was not starting.
7In my case, it was VMWare NAT service that was not running. I started it by going to services.msc and the internet started working on the guest VM. In the Virtual Machine Settings, choose NAT as Network connection.
1I too had faced the issue, took a long time for me to figure out what was wrong. Finally all I did was to start the DHCP Service from the task manager which was stopped and it worked fine.
If you are working in a multi Nic card server, you must to select which Nic will be in use.
In VMware Workstation:
- Go to Edit, Virtual Configuration Network
- Select the VM Nic auto-bridging
- In VMNet Information, select bridge, and
- In the option "bridge to" select the correct NIC card used by the VMware Workstation.
Came across this issue on Windows 10 - VMware Workstation 15. None of the answers here helped and from the get go all of my VMware related services were running.
The only thing that fixed the issue for me was to go to Start > type services and opened the Services Manager. Here I found VMware NAT Service and right clicked selecting Restart:
Simply restarting the system may have helped but I was looking for a quick fix that didn't interrupt my running Virtual Machine's.
try starting the network service on your VM machine. you can use this command for linux: sudo nmcli networking on
1In my case, problems appeared with NAT after a VM pro v15 update. VM tools upgrade in each VM did not help. Here's what I did in chronological order :
- "Repaired" VMware (via "control panel" | "add/remove programs") and rebooted the host machine. This did NOT fix the problem.
- Removed all network adapters from VM (Edit | Virtual Network Editors...)
- Added one new NAT... then restored the subnet to what it was previously (with all the network issues it was burned into memory months ago).
- Subsequently started each VM and of course the network was still NOT working each time.
- From the VM (host) menu for each VM I reconfigured the network adapter to "custom" and selected the virtual network I created above.
- The network adapter now works in each VM.
In my case, I removed Network Adapter and CD drive and added it again. It worked fine.
if you are on Mac and would like to reset you can use this link:
you can continue to run
> sudo /Applications/VMware\ --stop
> sudo /Applications/VMware\ --start I powered off the virtual machine. Turned it back on. It worked. Simple as that. Lots of guides even on the VMware community forum didn't work for me.
Windows 10
VM Machine: Ubuntu
VM State: I mostly keep VM's suspended, never power off.
Software: VMWareAnd there was no settings issue either. Just a restart and everything worked as it was working before.
Somehow it worked for me but internet is working slow now -
--> Goto windows10(i.e., your Host machine) start > Run > services.mscand over here as @Sabe Barker mentioned restarting the VMware Nat Service.
& then coming back to VMware--> VM > settings > Network Adapter > NAT > OK
That's it !!!
1I tried every solution except VMWare reinstallation. However simple solution from this article at vmware support worked fine. Start your VM, then Suspend and Resume it. Power off didn't worked out for my case
My setup:
- Win11 - Host OS
- Ubuntu 20.04 - Guest OS
- VM Ware Workstation Pro 16.2.3 build-19376536
For Linux hosts, these commands restart VMWare network services and reconnect guests:
sudo vmware-networks --stop
sudo vmware-networks --start Well, i had the same problem. My host is Windows 7, VM is Ubuntu and I'm using Workstation.
So i just returned the defaults configuration in the Virtual Network Editor and then everything was ok.
3It happens when you shut down your host machine without saving machine state of VM. You can just restart your virtual machine. It will solve the problem.
1