Back to Basics : Install and Configure DHCP Server and Scopes
Part of the back to basics blog series created this blog to cover the installation and configuration of microsoft DHCP Server along with creating and activating scope.
Contents of the Post
DHCP Pre-requisites
Below are the pre-requisites for DHCP server installation.
- Windows server 2016/2019 VM is created and running. This blog can help to create VM.
- Static IP is assigned to the DHCP VM.
- Networking equipment particularly switches are configured with DHCP relay to point the DHCP requests to above IP.
Note: Micorosft support high availability for DHCP server now. Requirements are very simple as below, but this blog don’t cover DHCP HA setup.
- 2 servers for serving as DHCP Servers with static IP’s.
- Networking equipment to relay the DHCP requests to above 2 IP’s.
- DHCP scope is created as split in case each server will host part of the complete scope.
More about DHCP high availability can be found here . detailed installation steps for DHCP HA can be found here.
Installing DHCP Role
Step 1: Login to server – Open server manager – Dashboard – Click on add roles
Step 4: review the server name and click next
Step 5: select DHCP server in roles section and its features.
Step 6: once selected its shown as below.
Step 10: Click on complete DHCP configuration.
Configuring DHCP Role
Step 11: Click Next
Step 12: use the credentials are provide another account details.
Step 13: click close once its completed.
Creating DHCP Scope
Step 14: open DHCP from control panel – admin tools or server manager – tools
Step 15: Click on IPV4 and new scope
Step 17: provide a meaningful name , better the subnet
Step 18: provide the start and end ip
Step 19: include any exclusions from previous range if not , next
Step 20: provide the lease duration – 60 or 30 days
Step 22: provide the gateway for this subnet and click add
Step 23: review the domain and dns server details and click next
Step 25: activate – click next
Review DHCP configuration
Step 27: now click on the scope and address pool – review the start and end ip’s.
Now having DHCP ready and network relay configured, your DHCP will work now.
Hope this post is useful.