Install and configure DHCP (Dynamic Host Configuration Protocol)

Paul Hill

December 22, 2020

DHCP Overview

DHCP (Dynamic Host Configuration Protocol) is a networking service that will automatically assign and manage computer IP addresses on their network.

DHCP is commonly used to manage client computers such as laptops and mobile devices. It is less likely to be used to configure server infrastructure (like domain controllers or web servers) because these servers generally require a static IP address.

DHCP will hand a computer an IP address with a lease for any number of days (default is 8). Once that lease expires, the DHCP server will then negotiate with the DHCP server and obtain a new IP address.

Install DHCP

Step 1. Open Server Manager

To install DHCP, open Server Manager by clicking the Windows button and clicking Server Manager or by searching for Server Manager.

Step 2. Add roles and features

Inside of Server Manager, select Manage > Add Roles and Features:

Add Roles and Features

Step 3. Proceed to the Server Roles page

Now click Next until you reach the Server Roles page. Click the DHCP Server checkbox.

Image 1

After you click this checkbox you will see a popup for adding the features that are required by DHCP. Click Add Features then click Next until you get to the install page.

Step 4. Begin the Server Role Installation

On the install page, click Install and wait for the installation to complete.

Image 2
Install the DHCP Server Role

Wait for the installation to complete. Leave the wizard open so we can easily launch the post installation configuration once it is done.

Step 5. Complete DHCP Post-install Wizard

Once the installation is complete you can click the Complete DHCP configuration button:

Image 3
Complete DHCP configuration

Once the Post-install configuration wizard appears click next until you get to the Authorization page.

The default option should work. In my case I am using the domain administrator credentials so I will click Commit:

Image 4
DHCP Post Installation Configuration Wizard – Authorization

Now click Close to close the DHCP config wizard.

Configure a DHCP Scope

We have successfully installed DHCP but it won’t do anything yet. That’s because we need to configure a DHCP scope. A DHCP scope tells DHCP what range of IP addresses it should hand out to DHCP clients.

Step 1. Start the DHCP Console

We need to start the DHCP console which can be done by switching back to Server Manager then clicking Tools > DHCP:

Image 5
Launch the DHCP Server Console

Step 2. Create a New Scope

Expand your DHCP server and right-click IPv4 and select New Scope…

Image 6
Create a new IPv4 Scope

Click next until you get to the Scope Name page.

Step 3. DHCP Scope Name

I am going to use the name “DHCP Clients” and click Next.

Image 8
DHCP Scope Name

Step 4. IP Address Range

Now enter your desired start and end IP address ranges. I am going to use –

Image 9
Define your DHCP Server Scope

Now click Next.

Step 5. Configure DHCP Exclusions and Delays (optional)

If you want to exclude an IP address or range of IPs that fall within the scope you specified above you can enter that now.

You can also add a subnet delay which is the amount of time the DHCP server will wait before offering an IP address. This would only be useful when you have multiple DHCP servers and don’t want the possibility of them both to answer at the same time.

Image 10
DHCP Exclusions and Delays

I don’t need to use any of these settings so I am going to just click Next.

Step 6. Configure your lease duration

A DHCP lease duration defines how long your DHCP clients will hold the IP address by DHCP before it is released back to the server and the client needs to obtain a new IP.

This can be useful for mobile devices and laptops so if a user gets an IP address from your DHCP server, then leaves the facility the DHCP server can cycle that IP address and hand it out to another user.

I am going to proceed with the default value of 8 and click Next.

Image 11
DHCP Lease Duration

Step 7. Configure DHCP Options

The next screen will give you the opportunity to configure the DHCP options related to your DHCP scope. This is where you configure things like the default gateway, DNS servers and the AD domain.

Select the Yes I want to configure these options now and click Next to continue.

Image 13
Configure DHCP Options

Step 8. Configure the Router (default gateway)

Enter your default gateway and click Add. In my case, it’s Your default gateway will almost certainly be different.

Image 14
DHCP Router / Default Gateway settings

If you’re unsure you can open CMD and run the ipconfig /all command:

Image 15
ipconfig /all

Step 9. Domain Name and DNS Servers

The next page allows you to define your parent domain and DNS servers. Since my host is already joined to active directory and has these settings configured they are already populated for me.

Image 16
Configure DHCP Domain Name and DNS Servers

Click Next to continue on to the next screen.

Step 10. Configure WINS Servers (optional)

The next step allows you to configure your WINS (Windows Internet Name Service). WINS has nearly been entirely been replaced by DNS so it’s pretty unlikely you will need to configure these settings… but you can do so here if you need to.

Image 17
Configure DHCP WINS server

I’m going to click Next without entering any data.

Step 11. Activate the DHCP Scope

Most likely you will want to activate the DHCP scope so just click Next unless you have a need to activate it at a later time.

Image 18
Activate your DHCP scope

Once you click next you can click Finish to close the wizard and finalize your DHCP scope.

Image 19
Finish your DHCP Scope Configuration Wizards

That is all you need to do to get DHCP up and running! Great job getting through this one.

Remember if you want to learn more about DHCP or take your Windows Server IT skills to the next level consider signing up to Server Academy with a free trial!


Sign up free and start learning today!

Practice on REAL servers, learn from our video lessons, interact with the Server Academy community!

More from our blog

How to Become a Hacker

By Paul Hill | October 15, 2022

Becoming a hacker can be an exciting and rewarding six-figure job. Any product that uses digital technology is a potential target to be hacked – that means not just computers and phones but also your car, thermostats, garage door openers, smart coffee machines, and any other smart home device. That is why ethical/white hat hackers…

System Administrator Salary in 2022

By Ricardo P | August 27, 2022

Before deciding to become a System Administrator full-time, you might ask yourself, what is the system administrator salary and what can you expect? And, it is reasonable to research if becoming a System Administrator full-time will be a lucrative career. But the answer is that it all depends on your education, certifications, skills, location, and…

How to Easily Automate Tasks with PowerShell

By Ricardo P | July 1, 2022

You might know PowerShell as the improved command prompt version of Microsoft Windows, but PowerShell is more than that. It is also a scripting language that can be used for automation, and in this article we’ll show you how to automate tasks with PowerShell.

Assign License to a User using Licensing Group

By Jefferd Facundo | March 13, 2022

In this lesson, we will go through the steps on how to add user(s) to a licensing group in your Microsoft 365 tenant. Step 1: Access Microsoft Admin Center to manage the user’s license. On your browser, login to Microsoft 365 Admin Portal via On the Sign in page, enter your Global Admin username in an email…

Running Message Trace in Exchange Admin Center

By Jefferd Facundo | February 5, 2022

In this tutorial, you will learn how to run a message trace using Exchange Admin Center to track any messages that was not delivered correctly or simply getting the status of the message sent or supposed to be received by the user(s). Step 1. Log in to Exchange Admin Center for Exchange Online. On your…

How to Create a Licensing Group in Microsoft 365 Tenant

By Jefferd Facundo | February 4, 2022

In this lesson, we will go through the steps on how to Create a Licensing Group in your Microsoft 365 tenant. Step 1: Access Azure Active Directory On your browser, login to Microsoft 365 Admin Portal via On the Sign in page, enter your Global Admin username in an email format and then enter your password on…

Windows Cyber Security – STIGs for Beginners

By Paul Hill | February 1, 2022

This tutorial will show you how you can get started learning the technical side of Cyber Security for Windows environments. This tutorial is going to show you how to use STIGs (Security Technical Implementation Guides) to identify low, medium and high vulnerabilities and patch them in your Windows Environments. What is a STIG? A STIG…

Creating Mail Flow Rules

By Jefferd Facundo | January 19, 2022

In the lesson you will access the Exchange Admin Center for Exchange Online and create a mail flow rule that checks for sensitive information in emails sent from inside your organization. Step 1. Log in to Exchange Admin Center for Exchange Online. On your browser, login to Microsoft 365 Admin Portal via On the…

How to run SQL Commands from PowerShell

By Paul Hill | July 23, 2021

If you want to run SQL commands from your PowerShell terminal you can do so by simply installing the SQLServer module with the command below: You will be prompted to install from an untrusted source. Type “A” to accept and install the module. Once it is complete you can see all the new commands you…

Adding Multiple Cloud Users to Microsoft 365 tenant.

By Jefferd Facundo | July 18, 2021

In this lesson, you will learn how to import multiple cloud users to your Microsoft 365 tenant. If you want to learn about getting started with Microsoft 365, click here. Step 1. Create your users’ information into CSV file using the given template in your tenant. On your browser, login to Microsoft 365 Admin Portal…