The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

    20140508-Delphi-2007--Project-Options--Cannot-Edit-Application-Title-HelpFile-Icon-Theming

    20140430-Fiddler-Filter-Actions-Button-Run-Filterset-now

    20140424-Windows-7-free-disk-space

    More Photos
  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,346 other followers

No network connection in your VM? Check your VMware services on the host. (via: How to Start & Stop VMware server/Workstation manually | Windows Reference)

Posted by jpluimers on 2012/07/02

If you:

  1. you run VMware Workstation, Server or Player,
  2. and your VM under NAT does not get an IP address on a NIC in the NAT network (usually VMnet8),
  3. and the NIC of your VM has the status “Connected”

Then check if the “VMware DHCP Service” and “VMware NAT Service”  are running using this command:

rem "VMware DHCP Service"
sc queryex VMnetDHCP
sc queryex "VMware NAT Service"

If either of them has’t started, use these command – as an Administrator – to start them (they won’t start a service that is already started):

rem "VMware DHCP Service"
net start VMnetDHCP
net start "VMware NAT Service"

Note that VMware will not complain if the VMware DHCP Service or VMware NAT Service have not started (not even in the eventlog) and will just start your VM fine.

If your VMware DHCP service is not running, and you un-suspend a VM that had an address assigned through DHCP, you usually get errors like this:

C:\Users\j.pluimers>tracert -d 194.109.6.66
Tracing route to 194.109.6.66 over a maximum of 30 hops
1 Transmit error: code 1231.
Trace complete.

For my memory:
There are a few more interesting batch files at How to Start & Stop VMware server/Workstation manually | Windows Reference.

–jeroen

via: How to Start & Stop VMware server/Workstation manually | Windows Reference.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 1,346 other followers

%d bloggers like this: