VMWare Virtual Network

Hi all,

I'm setting up a Windows Server 2012 home lab in VMWare Workstation 10. I'd like to set the network settings at 10.1.1.1 for the Windows 2012 Serve IP address, and have it act as DHCP and DNS server. My physical home network uses an Asus router at 192.168.1.1 that acts as DHCP and DNS server.

So I've created the VM LAN Segment below:

a
Are these settings correct? Will the virtual workstations be able to access the internet despite the segment being in the 10.1.1.xxx range while the physical Asus router uses 192.168.1.xxx?

Thanks in advance.
Go-BruinsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
You will have to experiment with the DHCP server on the guest machine.

If your guest networked is Bridged, then the DHCP server is external to your host computer and DHCP Server on the Server should be disabled.

If your guest network is NAT, then VMware Workstation provides guest DHCP services.  You will need to experiment here.

You might wish to make your Server guest network type Host Only and see if that works better for you.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you want to go ahead, with your network.

You will need to use NAT, and then edit the NAT settings, using the Advanced Network Editor, and turn off DHCP for VMware Workstation, and make sure you specify the same network settings in Network Editor.
Go-BruinsAuthor Commented:
So it's a little complicated for me. There are other workstations that I don't want to put on the VMware LAN segment. those workstations will still grab IP's from the Asus router. If I turn off DHCP for VMware workstation, I'm afraid these stations will be affected.

I just basically want to set up a little world where one Windows Server 2012 acts as DHCP and DNS Server for itself and two Win 7 workstations. the image above was a snapshot from the Win 2012 server.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

JohnBusiness Consultant (Owner)Commented:
Try the Host Only setting for the Network Adapter for sandbox networking.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
VMware Workstation only issues DHCP IP Addresses to NAT based VMs ?


I just basically want to set up a little world where one Windows Server 2012 acts as DHCP and DNS Server for itself and two Win 7 workstations. the image above was a snapshot from the Win 2012 server.

are these VMs ?
Go-BruinsAuthor Commented:
Sorry, I should have been more clear. Yes, all the computers in this "pool" are VM's.

1. Windows 2012 Server R2
2. Win 7 Pro #1
3. Win 7 Pro #2

In their own little world, I'd like the 2012 Server machine to do DHCP and DNS duties. After setting up the Server 2012 with the settings shown below:

 

The workstations are given IP's by the Server 2012 machine, but they can't surf the net (as I suspected).
JohnBusiness Consultant (Owner)Commented:
Try for starters disabling DHCP Server on the guest servers. See where you are with connections and tell us if you are using NAT or Bridged
Go-BruinsAuthor Commented:
Sorry - pls see screen grab on the first post.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You will need to use NAT, for any hope of internet, two DHCP servers cannot exist on the NAT network.

so you will need to disable DHCP, and alter the NAT network to match your Windows Server network.
JohnBusiness Consultant (Owner)Commented:
Those screen shots are the Network Settings, not the NIC setting in VMware Workstation.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Select VMware > Virtual Network Editor
Go-BruinsAuthor Commented:
John - I've put all three machines under a "LAN Segment" that I've named "Home Lab 1".

The server 2012 is handing out IP's just fine, but the workstations can't surf the net. I think it's because they are using the 10.1.1.xxx pool, and my physical router is 192.168.1.1.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, and you need to set ALL the workstations to NAT, and change the NAT network!
JohnBusiness Consultant (Owner)Commented:
This is why we are saying there will be a DHCP server conflict with NAT (and with Bridged). You cannot enable DHCP Server with these two type. Andrew has laid out how to use NAT.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Go-BruinsAuthor Commented:
Ok, so it looks like I need to go here:

a

After changing these settings, am I correct in assuming that I need to change *all* my VM's (including those outside of this "pool") to NAT?

This is probably frustrating for you guys. I'm a little over my head here, as I'm trying to learn VMware and Windows Server 2012 at the same time. Thanks for your patience.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Correct.

You only need to change networking on the VMs, you want to work with your Windows 2012 server.

Turn off, DHCP, by Unticking.

and then change the IP Addresses, to match your Windows 2012 server network!

and finally, the Default Gateway for your VMs, to access Internet, is the IP Address of the Hosts - NAT network

e.g. 192.168.164.2 in this example, but that can be changed

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Go-BruinsAuthor Commented:
Much appreciated.
JohnBusiness Consultant (Owner)Commented:
@Go-Bruins  - You are very welcome and I was happy to help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.