Windows DHCP server in virtual environment

If you setup a DHCP server in Windows like in a Windows server in a VMWare environment, assuming all VM are on the port group, will the DHCP server still work by giving our IP's of a specific IP range?    
For the physical side, is the only thing to do to configure the switch to allow that IP range to access the rest of the network/internet outside the VMnetwork?
garryshapeAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
If you setup a DHCP server in Windows like in a Windows server in a VMWare environment, assuming all VM are on the port group, will the DHCP server still work by giving our IP's of a specific IP range?    
For the physical side, is the only thing to do to configure the switch to allow that IP range to access the rest of the network/internet outside the VMnetwork?

Yes, it will work the exactly the same as a physical server. You just need to connect the physical uplinks in the host to a physical switch, the DHCP packets will then be sent all across your network.

We've been running a Windows and Linux DHCP server under VMware since 2004, with no issues or side effects.
1
 
Mal OsborneConnect With a Mentor Alpha GeekCommented:
Yep,  A DHCP server running on a VM works exactly like one on a stand alone machine.

Having said that, I prefer to have a physical box running as a DC(with all FSMO roles), DNS, DHCP and time server.

In a virtualised environment, I usually configure this machine to power up a couple of minutes before the VM host machines. That way DHCP, DNS etc are all up and running first.  I realise that running everything virtualised is valid and supported. Sometimes you get to "choose your own battles", in my opinion, it is worth the $1000USD or so for a small, 1U server to do all this. At a pinch, an repurposed desktop machine can be pressed into service to do all that, a DC needs very little hardware. Provided the DNS and DHCP setting are backed up after any major changes, and a virtualised DC exists, this machine does not need to be backed up; it can be quickly rebuilt if needed.
1
 
garryshapeAuthor Commented:
awesome thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.