DHCP

SETTING UP DHCP

WHAT IS DHCP?

Microsoft Windows Server operating systems includes Dynamic Host Configuration Protocol (DHCP), which is an optional networking server role that you can deploy on your network to lease IP addresses and other information to DHCP clients. All Microsoft Windows client operating systems include the DHCP client as part of TCP/IP, and it's enabled by default.

Read more about Dynamic Host Configuration Protocol here

After installing the Active Directory server role on my DC server, it's time to install and configure the DHCP server role, so log into the DC server again, and we will start setting up the DHCP server role for my LAB environment.

Installing DHCP

Step 1. Click "Add roles and features" in the Server Manager.

Windows Server 2019 - DHCP

Step 2. Click "Next"

Windows Server 2019 - DHCP

Step 3. Leave everything default and click "Next"

Windows Server 2019 - DHCP

Step 4. Leave everything default and click "Next"

Windows Server 2019 - DHCP

Step 5. Select "DHCP Server"

Windows Server 2019 - DHCP

Step 6. Leave everything default and click "Add Features"

Windows Server 2019 - DHCP

Step 7. Leave everything default and click "Next"

Windows Server 2019 - DHCP

Step 8. Click "Next"

Windows Server 2019 - DHCP

Step 9. Check the "Restart the destination server automatically if required" box and click "Install"

Windows Server 2019 - DHCP

Step 10. Click "Close"

Windows Server 2019 - DHCP

Configuring DHCP

Step 1. When the server role installation is done, we should now see a yellow triangle with an exclamation mark in the Server Manager, click on it and then click "Complete DHCP configuration"

Windows Server 2019 - DHCP

Step 2. Click "Next"

Windows Server 2019 - DHCP

Step 3. The "User Name" is populated automatically, so leave everything as default and click "Commit"

Windows Server 2019 - DHCP

Step 4. Click "Close"

Windows Server 2019 - DHCP

Configuring DHCP Scope

Step 1. Type "DHCP" in the search line next to the start button, and click "DHCP"

Windows Server 2019 - DHCP

Step 2. Right-click on "IPv4" and then click "New Scope"

Windows Server 2019 - DHCP
Windows Server 2019 - DHCP

Step 3. Click "Next"

Windows Server 2019 - DHCP

Step 4. Enter a name and description for the scope and click "Next"

Windows Server 2019 - DHCP

Step 5. Enter start and end IP address (IP range), a subnet mask and click "Next"

Windows Server 2019 - DHCP

Step 6. Leave everything default and click "Next"

Windows Server 2019 - DHCP

Step 7. Leave everything default and click "Next"

Windows Server 2019 - DHCP

Step 8. Select "Yes, I want to configure these options now" and click "Next"

Windows Server 2019 - DHCP

Step 9. Enter a Router (Default Gateway) IP address and click "Next"

Windows Server 2019 - DHCP

Step 10. It should populate the IP address of the DC server automatically. But if that's not the case, then enter a server name and click "Resolve". Click "Add" to add the IP Address and then click "Next"

Windows Server 2019 - DHCP

Step 11. Leave everything default and click "Next"

Windows Server 2019 - DHCP

Step 12. Select "Yes, I want to activate this scope now" and click "Next"

Windows Server 2019 - DHCP

Step 13. Click "Finish"

Windows Server 2019 - DHCP

Step 14. Expand the scope and click on "Address Pool" to confirm that the IP range has been created.

Windows Server 2019 - DHCP

Step 15. Click "Scope Options" to confirm that the Router and DNS settings are configured correct.

Windows Server 2019 - DHCP

This concludes the DHCP installation and configuration on my DC server, let's configure the DNS server role. Click "Next" below or click "DNS" in the menu to the left.

Last updated

Was this helpful?