Building My Capture and Deployment Server – Part V: Setting up DHCP
This is the fifth part of my series on building my capture and deployment server. In Part I, I defined the virtual machine settings I used. In Part II, I installed Windows Server 2008 R2 x64 SP1 Enterprise Edition and did initial configurations. In Part III, I configured Network Address Translation. In Part IV, I setup Active Directory and DNS. In this part, I will configure DHCP as one of the prerequisites for Windows Deployment Services.
In order for machines to PXE boot they need to get an IP address, and to do that they need DHCP. The DHCP server will also have a DHCP server option set by the Windows Deployment Services configuration wizard to allow those machines to find the deployment server.
In Server Manager, right click Roles and select Add Roles. Click next on the first screen.
Put a check in the box next to DHCP Server and click Next twice.
On this screen, it is asking to select a network that DHCP will server clients on. In my case, only my Internal NIC is selectable as it is the only one with a static IP address. Click Next.
Here the parent domain is pre-populated for us. The preferred DNS server was set to 127.0.0.1 as that is what is set for the Internal NIC. But DHCP clients can’t use that to resolve DNS records as it would point them to themselves for resolution. I changed it to the IP address of the Internal NIC. Click Next.
WINS is to Netbios names what DNS is to domain names. This was used primarily in pre Windows 2000 clients and isn’t much used anymore. I left the default of not requiring WINS and clicked Next.
Now we add the scopes that the DHCP server will distribute. Click the Add button.
I’ve configured the scope with a name of “192.168.5.0/24 Primary” and set the range from 192.168.5.2 – 192.168.5.254. I also set the default gateway to point to the Internal NICs interface. Click OK, and then click Next to go to the next screen.
Since I am not using IPv6, I disable the DHCPv6 stateless mode and click Next.
On this screen we are prompted to select the credentials to authorize this DHCP server within Active Directory. Since I am logged in as the domain administrator, I just click Next.
Review the settings and click Install.
When the installation completes, close the Add Roles Wizard.
We now have a fully functioning DHCP server serving 192.168.5.x addresses.
- Building My Capture and Deployment Server – Part I – Virtual Machine Settings
- Building My Capture and Deployment Server – Part II – Windows Server 2008 R2 install and configuration
- Building My Capture and Deployment Server – Part III – Setting up Network Address Translation
- Building My Capture and Deployment Server – Part IV – Setting up Active Directory
- Building My Capture and Deployment Server – Part V – Setting up DHCP
- Building My Capture and Deployment Server – Part VI – Setting up Windows Deployment Services
- Building My Capture and Deployment Server – Part VII – Setting up Microsoft Deployment Toolkit 2012