VMWare networking

Posted on 2011-05-10
Medium Priority
Last Modified: 2012-05-11
Hello Experts,

I have a company network.
The network IP address is:
In the network mentioned above I have everything a company network needs.
A DNS, DHCP, AD, Exchange server.
I have on computer (mine), that is hosting 4 virtual machines.
One of the Virtual machines is a Server that is running DNS, DHCP, etc.
The networking for the virtual machines are set up to run HOST ONLY.
I do not want the Virtual (test) Server to interfere with my live network.

Now that you know what I have, here is the problem:
I want the Virtual machines on my virtual network, that is located on my machine (, to be able to access the internet on an entirely different IP address (

Is this possible?
If so, how?

Feel free to ask questions if you require additional information.

Thank you,

Question by:gmwindows
LVL 124
ID: 35730048
Change the Network Interface of the Virtual Machine from HOST only to NAT.
LVL 124
ID: 35730086
What VMware Product are you using VMware Server or Workstation?

Author Comment

ID: 35730107
Workstation 7.1.3
Industry Leaders: 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!

LVL 124
ID: 35730117
ah, sorry you want ALL the virtual machines to be able to access the Internet.

Okay, you need to change the Network Mode to NAT, rather than HOST.

see here

LVL 124
ID: 35730131
Okay, change the Virtual Machines to Networking to NAT

LVL 124
ID: 35730146
if you look at Page 268 in the Workstatoon 7.1 Uer Guide


Common Networking Configurations

Network Address Translation (NAT)

is on Page 289
LVL 124
ID: 35730164
Modify Existing Virtual Network Adapters

To modify existing virtual network adapters

1 Select the virtual machine.

2 Choose VM > Settings.

3 On the Hardware tab, select the adapter to modify.

4 Select the network type to use.

5 Select NAT

6 Click OK.

LVL 124
ID: 35730180
NAT Networking Workstation
LVL 28

Expert Comment

ID: 35730182
I would also recommend as the simplest solution to shift to NAT networking. Be sure to turn off the built in DHCP features on the NAT network (this can be done with the virtual network editor) so that your virtual machine that provides DHCP service can continue to do so. You will need to reconfigure your scope to reflect the addressing of your NAT network rather than the host-only network you are presently using.

Alternate solution - install a virtual firewall such as Monowall (http://m0n0.ch) where its "LAN" interface is on the current host-only network, and its outside interface will be bridged and obtain an IP address via DHCP from you company network. Conceptually this would be like placing a broadband router (like linksys) into your virtual environment where the router's "Internet" side will be your corporate network, and its LAN side would be your host-only area. This gives you some flexibility to set up and route alternate networks on host-only adapters if, for instance, you wanted to add a DMZ zone to your virtual world.

Good Luck
LVL 124

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 35730214
Virtual Network Editor you can start from Start Programs VMware Virtual Network Editor

 Virtual Network Editor you can start from Start Programs VMware
DHCP disable here

 Virtual Network Editor you can start from Start Programs VMware
LVL 17

Expert Comment

ID: 35738549
Be careful!
When using HOST or NAT networks, VMWare uses its own dedicated DHCP server to provide IP addresses to guests. It will interfere with your "internal" dhcp server which runs in one of your VMs.
If you do not need to run a specific DHCP server in your "private virtual network", just disable the DHCP service on the corresponding guest.
If you need your own DHCP server, configure it so that it has a similar configuration as VMWare's WS one:
Check the configuration in a file named
C:\Documents and Settings\All Users\Application Data\VMware\vmnetdhcp.conf   on XP.
On Vista/7 it's somewhere else, and on linux too, but the file name should be the same.
You must then assign a static IP address (in the correct subnet) to the guest that runs the DHCP service.

And of course, you have to disable VMWare internal dhcp service by stopping the related service which is named "VMware DHCP Service" in Windows (vmnetdhcp). You can use a service manager (services.msc for instance) to make sure this service will not start automatically if you don't want it to.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

850 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