Windows Server

Comprehensive Guide to Install DHCP Server on Windows Server

Implementing-DHCP-Server

The DHCP Server service automates the configuration of TCP/IP on DHCP clients, providing essential information to computers when connecting to an IP network. In this Comprehensive Guide to Install DHCP Server on Windows Server 2022, we will discuss the post configuration as well as configuring the DHCP Scope. Please see how to create and delete a DHCP reservation in Windows Server 2019 and How to configure DHCP Server option 60, 66, and 67 for Windows Deployment Services.

Also, see “How to backup and restore a Windows DHCP Server via the DHCP Manager and PowerShell, how to install DHCP role on Windows Server 2019, and how does Dynamic Host Configuration Protocol work.

Install DHCP Server Role

Log in to your Windows Server machine and launch the Server Manager. In Server Manager, click on “Manage” from the top-right menu and select “Add Roles and Features.”

Add-Roles

This will open the Add Roles and Features Wizard. You can check the button never to show the before you begin page. Click Next to proceed.

Before-you-begin

Choose “Role-based or feature-based installation” and click Next.

Role-Based-Installation

Select the right server from the Pool and click next to proceed

Select-Server-fom-Pool

Select “DHCP Server” from the list of roles

Select-DHCP

You will be prompted to add the “Remote Server Administration Tools”. Click “Add features”.

Add-DHCP-tools

As you can see, the DHCP Server role has been selected. Click Next to proceed

Proceed-with-DHCP-installation-on-Windows

This is just informational. Please read and click “Next.”

DHCP-Server

On the confirmation page, I have the habit of selecting “restart the destination server automatically if required”. You will be prompted to confirm. When done, click on the “Install” button.

Install-DHCP-Role

The installation is in progress and you can safely close his add roles and features wizard and monitor the progress from the Server manager overview window.

Close-installation

DHCP Post Configuration

Note: A post-installation of DHCP is required, see the following article on Configuring DHCP: Post-deployment of Dynamic Host Configuration Protocol, see “Post-deployment of Dynamic Host Configuration Protocol“.

From the notification icon as shown above. Click on complete DHCP configuration.

Perform-Post-DHCP-Installation

This will open the DHCP Post-Install Wizard as shown below

DHCP-Description

Authorisation in ADDS

Note: Choose Skip AD authorisation if your server is on a workgroup. In my case, it is not in a workgroup but rather in a domain environment.

I will select the default as the DHCP server is part of the Domain. Click on Commit.

Commit-Authorization

You can now close the “DHCP Post Install Configuration Wizard”.

clouse-DHCP-Post-Deployment-wizard

Configure DHCP Scope

navigate back to Server Manager, Click on Tools and Select DHCP. This will open the DHCP Configuration Window. Alternatively, Click on the “DHCP” server, and under the servers, right-click and select “DHCP Manager”.

launch-dhcp-manager

Right-click on “IPv4” and select “New Scope.” This will open the New Scope Wizard. Alternatively, select the IPv4 and on the “Action” pane, select “New Scope”.

create-new-scope

On the New Scope wizard, click Next to proceed.

new-scope-wizard

Enter a name and description for your scope and click “Next.”

Scope-name

Enter the IP address range for the scope. This includes the start and end IP addresses. Click “Next” when complete.

IP Scope

No exclusions for now, click Next to proceed. Here you could you can reserve some IPs’ in the range server that will require static IP addresses such a printer, routers etc.

No-exclusions

Set the lease duration for IP addresses in this scope. The default is 8 days, but as you can see below, I have adjusted to 30 days. Click “Next.”

Lease-duration

If you wish to configure any additional DHCP options you require, such as default gateway, DNS servers, etc. Click “Next” to proceed.

DHCP-options

Enter the Default Gateway and click on Add. When complete, click next to proceed.

Gateway

The below information is automatically filled out in a domain environment. If you wish to add more IP Addresses, enter it and click add.

DNS

Wins Server Field

You can populate the Wins Server fields as well. Click Next to proceed.

Win-Server

On the Activate Scope window, select “Yes, I want to activate this scope now” and clcik Next.

Artivate-Scope

Click on Finish to complete the DHCP Server Setup.

Finish-Creation

As you can see from the DHCP Manager, we have installed and configured a DHCP server on Windows Server 2022. This includes creating and activating a scope.

Scope-Active

I hope you found this comprehensive guide to Install DHCP Server on Windows Server very useful. Please feel free to leave a comment below.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x