No internet connection on the test lab server using VMware 10 and NAT

Posted on 2014-12-29
Last Modified: 2015-01-07
I have virtual lab running on VMWare workstation 10 and using NAT (VMNet8) (shared host's IP address with VMS) for networking.

Below are the settings:

I installed DNS and DHCP on my servers 2008 R2 and set NAT settings as VMNET8 to use the following:

Nat settings:
Subnet IP:

DNS settings for the VMNET8 adapter set to "Autodetect available DNS servers"

I dont have internet for my servers. Please help
Question by:creative555
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
  • 2
LVL 95

Expert Comment

by:John Hurst
ID: 40522541
Try a couple of things:

1. Try Bridged Networking as a test to see if that makes a difference.

2. Go to the VMware Network Editor (Run as Administrator), click on the VMNet8 line, and then click on the button Reset to Default. This resets the internal network components  and will change the IP address for VMNet8. Restart the Host computer after this.

Author Comment

ID: 40522574
I need to be absolutely sure with this Bridge networking that my servers are not touching production environment.....I am running DNS and DHCP on my servers.... Is there possibility that it might affect the existing production network ?

My laptop is connected to the production network (joined to the domain) and I am running VMware workstation 10.
My servers in the test lab are configured with the new domain and new forest name (different from production name). Will it be an issue?
LVL 95

Expert Comment

by:John Hurst
ID: 40522596
VMware NAT (VMNet8) is its own DHCP server. If you are also running DHCP in the guest server, you could have a conflict. I think you need to use Bridged Networking here. It just means DHCP is external to the Host Machine.
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

LVL 120
ID: 40523139
I would create your own defined network using the Network Editor, and turn OFF VMware DHCP.

This will keep your network isolated.

Author Comment

ID: 40523630
Thank you. I do have a network defined in virtual editor called vmnet8 that uses NAT network. VMware dhcp is turned off. I have dhcp running on my DC and DNS server and it is working. It is distributing IPs to machines. I used the scope and range that I indicated in my first post. Not sure where I took this number for gateway..GW:
It is not the address of my router. It was suggested in vmware editor.....Am I suppose to be able to connect to internet? My host laptop can access Internet without issues. But it does go through proxy.....I have it set for IE to use our company's proxy. Please advise why vm servers  can't connect to the Internet to download updates.
LVL 120

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40523753
This is the issue, VMs can only NAT through your Host's IP Address to reach the internet, they cannot use your PROXY! (e.g. standard routed internet!)

To use your Proxy, they would have to be on your LAN.

e.g. VMs in Bridged Mode

You will need to use a Cascaded Proxy....

Author Comment

ID: 40532693
what is this Cascaded Proxy??

Author Comment

ID: 40532696
THank you Andrew, so seems that that proxy is the issue. Is there a way around it like you said to do Cascaded Proxy?
LVL 120
ID: 40532701
You would need to install some software or server, in between the upstream proxy and your VMs.

Internet Requests would go to this first proxy, and then send to the second proxy.

Author Comment

ID: 40534469
Oh. Thank you so much. What software?
LVL 120
ID: 40534529

Author Closing Comment

ID: 40536843

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question