Quick Fix For Broken VM Guest Network Connection Running In VMWare Server

23

vmwarelogo.jpgEvery now and then, you may have notice the network connection for a Virtual Machine guest running on VMWare Server has stopped working. The guest VM could be running any version of Windows or Linux distribution and restarting the Virtual Machine does not fix the problem. If this happens to you, a possible work around to get the Network re-connected can be fixed by restarting the VMWare Server NAT service.

 

Several ways exist to restart the NAT service when running VMWare Server either on a Windows or Linus host. The easiest way is from the VmWare Server Console.

To re-start the NAT service, connect to the Console and select Host \ Virtual Network Settings… from the menu.

vmwarenatsvcs1.png

 

Select the NAT tab, and at the bottom click on the Restart button.

vmwarenatsvcs2.png

Then click on the Apply button, to restart VNWare Server NAT service. After the service has restarted, the Service request field will be blank and the Service status field will display Started.

Another method to restart the service, is from the command prompt on Windows by running the following command (NOTE: must include quotes):

net stop "VMware NAT Service"

then to restart the service:

net start "VMware NAT Service"

On Linux, open a Terminal window or session, and run the following command (depending on the distribution, this command may not work):

/etc/init.d/vmware restart

Filed under VMware Tips by  #

Comments on Quick Fix For Broken VM Guest Network Connection Running In VMWare Server Leave a Comment

July 10, 2007

Carlo Santagostino @ 4:27 pm #

Thankyou!!!
Works perfectly for resuming the connection in vmware!!!

May 23, 2008

roland @ 12:25 pm #

i assume this only applies for VMs bound to vmnet8,i.e. Nat network.

is this correct ?

or does this also fix networking issues with bridged and host-only networking ?

May 26, 2008
June 4, 2008

Not Karl Rove @ 11:18 pm #

Yep, that sorted me out… Been wrestling with this for about a day, and had trouble even figuring out the right query to throw at Google to find something helpful.

Thanks for posting this. Now my only concern is, the VM I'm building will be used in demos by other people. I hope they don't also have an issue with this service needing a quick restart.

June 6, 2008

not karl rove @ 6:18 pm #

Then again… maybe not.

This step fixed the problem yesterday but today it's broken again, and this fix doesn't seem to work this time. 🙁 Maybe I will have to reboot everything (host and guest) and see where I wind up.

Any other thoughts/tips?

June 12, 2008

pieman @ 8:50 am #

Been tearing my hair out with the exact same problem for over a week now, but the problem has been with a guest using a bridged NIC.
setup as follows: –
Hardware: Dell PowerEdge R200 with 2 Broadcom NetExtreme G/Bit NIC's
Host: Windows 2003 R2 SP2 running VMWare Server 1.0.5 (was running 1.0.6)
Role: 2 x NIC RRAS server
Guest: Windows 2003 R2 SP2
Role: 1 x NIC intranet web server
The guest VM would have full network connectivity 1 day, then randomly loose connectivity with all other nodes on the LAN, restarting the guest didn't sort the problem, resarched the issue on VMWare communities and came up with a problem with the NIC's installed on the server in that the Broadcom NetExtreme NIC's must have the following options disabled in the driver advanced properties tab: –
CheckSum Offload,
Large Send Offload
This appeared to initially corrected the problem, for a couple of days atleast, VMWare Server 1.0.6 update released upgraded fine, all still working, then random lost of guest network connectivity again, downgraded back to VMWare Server v1.0.5 everything worked again, went away happy, attempted to access the server and it's lost connectivity again. came accross this post thankfully even though it was relating to NAT on the VMNet8 interface, it got me thinking… so disabled the option "Automatically choose an available physicall network adapter to bridge to VMNet0" from the Host – Virtual Network Settings – Automatic Bridging tab, and suddenly everything starts working again… Jobs-a-good-n!!!

Hope that this helps someone else out.
Pieman

June 24, 2008

Anonymous @ 10:03 am #

Solved my problem, Thanks!

SPB @ 3:06 pm #

Thanks for the article, I'm glad to finally have a working connection in my Windows VM.

August 7, 2008

John Jacob @ 3:28 pm #

I've been wrestling with this problem for weeks with VMWARE Server 2 RC1. I'm using VMNET0 (Bridged) and I'm trying to get a Vista VM to map a network printer. I reboot the VMWARE Server and start the session after reboot. I can access the Internet and ping hosts, then I try to map a printer and loose connection immediately, then I can't access the network from any VM, Vista or otherwise. I have already done the step suggested above:

"disabled the option "Automatically choose an available physicall network adapter to bridge to VMNet0" from the Host – Virtual Network Settings – Automatic Bridging tab"

Will do the other suggested step today:

Disabled in the driver advanced properties tab: –
CheckSum Offload,
Large Send Offload

This is starting to drive me crazy. If anyone has some other suggestions, I would like to hear them.

John Jacob @ 6:04 pm #

OK, still having problems with loosing network connectivity on VMNET0 for all VMs as soon as I try to add a printer in Vista Business Edition. I already set the:

CheckSum Offload – None
Large Send Offload – Disabled

And have already disabled the option in manage virtual networks to Automatically choose an available physical network adapter. I also explicitly assigned the physical adapter to the Host Virtual Network Adapter Tab for VMNet0.

My NIC is HP NC105i PCIe Gigabit Server Adapter

Anybody got any ideas for me to try?

January 30, 2009

Sean Sullivan @ 1:53 pm #

Thanks so much for this post. My network connection to the outside world kept dying and I couldn't figure out why for the life of me. I followed these steps and Voila!

December 24, 2009

Nonner @ 2:54 pm #

Thank you Thank you Thank you … though my VMWARE didn't have the same menu as described but i guess its the same problem with restarting the connection. My connection is back now … thank you thank you thank you

January 3, 2010

Akram @ 12:25 am #

Many thanks brother. This worked for me, but why cant VMware fix this already?

January 18, 2010

sudeep @ 12:59 am #

Hi ,
Nice !!
But can anyone tell me , how to achieve the same when i am running vmware on Ubuntu host (linux)
thanks

April 18, 2010

Valerio @ 11:31 am #

@pieman:
Your post help me very much, many thanks, hope my comment spread and revamp this post

June 29, 2010

Dinesh Ilindra @ 9:08 am #

Got the same problem while using NAT, didnt solve if I have restarted VM. But solved when I have restarted NAT service. Thank you so much.

July 30, 2010

Bart @ 10:18 am #

I've been having the same problem for months now. All I could do to restore the network connection was to shut down all my VM's and reboot the entire system. (2-3 times a day, took me 10 minutes every time). This fix works like a charm, I no longer need to close my VM's, takes only 10 seconds!

Thanks a lot!

August 28, 2010

addvita @ 10:00 am #

I m using Vmware server console in windows XP and the error which I m getting ""The network bridge on device VMNet0 is temporarily down because the bridge ethernet interface interface""

I want to connect vmware with my system via bridging….please resolve my problem.

October 22, 2010

Pitumbo @ 6:53 pm #

Finally! A great solution. It's been a big hassle for me, I've got this one buggy app that is continuously killing the internet connection on the VM. I've tried rebooting with no effect — other than wasting a lot of time. Thanks so much for the tip, I'll try it straight away. Cheers!

November 6, 2010

Dannaman @ 12:08 pm #

This helped me in VM workstation as well! Slightly different menu to get to the Virtual Network Editor. Thanks for the tip.

December 5, 2010

IAN CARTER @ 11:23 am #

my sun virtual box virtual host adapter has dissappeared after an update from windows. i tried to restore my system but it didn't work. please help, its exam time. i'm running windows 7 pro

December 8, 2010

user @ 9:55 am #

I spent lots of time with a very similar problem. I ended up having to remove the network adapter in the settings of the VM then add the adapter again.

Leave a Comment

Fields marked by an asterisk (*) are required.

Subscribe without commenting