• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 265
  • Last Modified:

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?
0
garryshape
Asked:
garryshape
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)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 OsborneAlpha 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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now