Solved

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

Posted on 2014-12-29
12
423 Views
Last Modified: 2015-01-07
Hello,
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: 192.168.174.0
SM: C
GW: 192.168.174.2

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

I dont have internet for my servers. Please help
0
Comment
Question by:creative555
  • 6
  • 4
  • 2
12 Comments
 
LVL 90

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

Author Comment

by:creative555
ID: 40522574
Hi,
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?
0
 
LVL 90

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.
0
 
LVL 117
ID: 40523139
I would create your own defined network using the Network Editor, and turn OFF VMware DHCP.

This will keep your network isolated.
0
 

Author Comment

by:creative555
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: 192.168.174.2
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.
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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....
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 

Author Comment

by:creative555
ID: 40532693
what is this Cascaded Proxy??
0
 

Author Comment

by:creative555
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?
0
 
LVL 117
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.
0
 

Author Comment

by:creative555
ID: 40534469
Oh. Thank you so much. What software?
0
 
LVL 117
ID: 40534529
0
 

Author Closing Comment

by:creative555
ID: 40536843
Thanks!!!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now