15

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.

Thank you.

16

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

enter image description here

  • Grant Admin Privileges

enter image description here

  • 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

enter image description here

  • 1
    Thanks for sharing, this worked for me, cheers. – RavinderSingh13 Jan 25 at 15:00
7

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.

  • This is the only solution that worked for me! And I have tried many from various online forums. – IgorGanapolsky Apr 1 '15 at 16:50
  • 1
    maybe is late, but you should be tryed start>run>cmd and type NET START "VMware DHCP Service" and press enter. – Francisco Tapia Aug 12 '15 at 13:10
  • Hello @FranciscoTapia. Sorry for the late response. I had tried this as well but it kept failing. Tried with cmd prompt in admin mode too but with the same issue. That's why had to resort to this method. – Amogh Natu Sep 28 '15 at 12:35
  • This worked for me, too. I had converted (imported) my VM into my new Fusion app. The VM started up but couldn't NAT. I uninstalled Fusion, reinstalled, and now my VM has Internet access. – harperville Dec 11 '18 at 20:37
3

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

2

If you are working in a multi Nic card server, you must to select which Nic will be in use.

In VMware Workstation:

  1. Go to Edit, Virtual Configuration Network
  2. Select the VM Nic auto-bridging
  3. In VMNet Information, select bridge, and
  4. In the option "bridge to" select the correct NIC card used by the VMware Workstation.
  • This was the solution that worked for me; not sure why "automatic" no longer worked. – bdwakefield Feb 11 '18 at 18:04
2

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

task mangaer VMware services -DHCP

-1

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.

  • I tried that as well. But the problem still continued. So had to use the standard "solve everything" solution of uninstalling and re installing the work station. And that worked out for me. – Amogh Natu Nov 12 '14 at 17:57
  • What is Virtual Network Editor? – IgorGanapolsky Apr 1 '15 at 16:41
-2

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

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.