VMware Workstation 9 - flaky NAT

Soldato
Joined
4 Jan 2004
Posts
7,778
Location
Nottingham
Hey Guys

I'm slowly getting fed up of this issue and hope someone can help here.

I have VMware Workstation 9 installed on my work laptop. I've currently got 2 VM's setup with server 2012 and a basic domain.

I've configured the VMware NAT network adapter to use the 192.168.0.0 IP range. DHCP is turned on to dish out IP's between 100 and 150. Originally I had DHCP turned off with the intention of installing the DHCP role in one of my server 2012 VM's but having it disabled seems to make this worse!

My VM's are configured to use the NAT network adapter and I have set static IP address/subnet/gateway/dns on both (one has an ip of 10 and the other of 20. Outside the DHCP range but still in the overall IP range)

Now the issue is that the internet will randomly crap out on the VM's quite regularly for no reason that I can see. I can only assume it's a DNS issue with the actual VMware NAT adapter as generally anything in the virtual network still works fine including dns lookup for the other VM. The only stupid solution I've found is to set the network adapters back to dynamic in the VM's and let the DHCP assign the settings, load a webpage then set them back to static.

This is really starting to irk me. Has anyone experienced similar? Any tips on a setting I may have missed? Unfortunatly because my laptop is often on different networks and I need internet access on my VM's, NAT is the only option for me.

Thanks in advanced :)
 
Well I appear to have found a bit of a work around solution that I thought I'd share.

It seems enabling Internet Connection Sharing on which ever network adapter is in use on the laptop and sharing it with VMnet8 (the NAT adapter), then configuring the VMnat8 adapter to use IP's in the range 192.168.137.x under the Virtual Network Editor in VMware Workstation solves the problem.

I now have a consistent internet connection in all of my VM's that use NAT.

For reference, I was tipped off by this from an old article found here: http://florianlr.wordpress.com/2009/07/09/5/
 
Last edited:
Back
Top Bottom