Install and configure DHCP on Windows Server 2022

 DHCP server dynamically assigns an IP address and other network configuration parameters to each device on a network. A DHCP scope is a valid range of IP addresses that are available for client computers.

Table of Contents

  • Install Dynamic Host Configuration Protocol
  • Configure Dynamic Host Configuration Protocol
  • Configure the IP address assigned by DHCP

Install Dynamic Host Configuration Protocol

Steps for Install Dynamic Host Configuration Protocol

  1. Open Add roles and features Wizard
  2. Select installation type
  3. Select destination server
  4. Select server roles
  5. Select features
  6. Confirm installation selections

Server demo environment

  • Computer Name: server1.test.com
  • Operating System: Windows Server 2022 Datacenter
  • IP Address: 192.168.0.3

1. Open Add roles and features Wizard

Open the Server Manager dashboard and click Add roles and features.

Install and configure DHCP

Before you begin, click Next.

Install and configure DHCP

2. Select installation type

Select Role-based or feature-based installation and click Next.

Install and configure DHCP

3. Select destination server

Select a Host to which you’d like to add services and click Next.

Install and configure DHCP

4. Select server roles

Choose the DHCP Server box from the server roles page.

Install and configure DHCP

As soon as you choose DHCP Server a new window appears. Click Add Features.

Install and configure DHCP

Click Next to continue.

Install and configure DHCP

5. Select features

On the select features console, just click Next because we do not require any extra features at the moment.

Install and configure DHCP

On the DHCP Server console, you can read brief information about the DHCP Server. Click Next to continue.

Install and configure DHCP

6. Confirm installation selections

Install and configure DHCP

Configure Dynamic Host Configuration Protocol

Click Complete DHCP configuration.

Install and configure DHCP

DHCP Post Insall configuration wizard

In Description,click Next to continue.

Install and configure DHCP

In Authorization, Click Commit.

Install and configure DHCP

In Summary, click Close.

Install and configure DHCP

Open the Server Manager dashboard, click Tools and select DHCP.

Install and configure DHCP

Right Click on IPv4 and select New Scope.

Install and configure DHCP

Click Next to start New Scope Wizard.

Install and configure DHCP

Enter the name and description for this scope and Click Next.

  • Name: LAN
  • Description: Local Area Network
Install and configure DHCP

Enter IP address range for lease and subnet mask and click Next.

  • Start IP address: 192.168.0.150
  • End IP address: 192.168.0.200
  • Length: 24
  • Subnet mask: 255.255.255.0
Install and configure DHCP

Add Exclusions and click Next.

  • Excluded address range: 192.168.0.190 to 192.168.0.195
Install and configure DHCP

In Lease Duration, Click Next.The default lease duration is 8 days.

Install and configure DHCP

In Configure DHCP Options Choose Yes, I want to configure these options now and Click Next.

Install and configure DHCP

Enter the default gateway of your network and click Next.

  • Default Gateway: 192.168.0.1
Install and configure DHCP

Input the Domain name and DNS server of your network. If your Server is in Active Directory Domain, it is set automatically. Click Next.

Install and configure DHCP

Click Next to continue.

Install and configure DHCP

Select Yes, I want to activate this scope now and click Next to activate Scope.

Install and configure DHCP

Click Finish to close New Scope Wizard.

Install and configure DHCP

Configure the IP address assigned by DHCP

Make sure the client and the DHCP server are on the same network

Client demo environment
Computer Name: server2
Operating System: Windows Server 2022 Datacenter

Open the Server Manager dashboard, select Local Server, and click Ethernet.

Install and configure DHCP

Right Click on Ethernet and click Properties.

Install and configure DHCP

In Ethernet Properties, click Internet Protocol Version 4 (TCP/IPv4).

Install and configure DHCP

In Internet Protocol Version 4 (TCP/IPv4) Properties, select Obtain an IP address automaticallyObtain DNS server address automatically and click OK.

Install and configure DHCP

Click OK to continue.

Install and configure DHCP

Right Click on Ethernet and Status.

Install and configure DHCP

Verify the IP address and click Close.

Install and configure DHCP
Narendra Sharma

Narendra is a Young Entrepreneur Blogger having Good Technical skills, He also an Experienced Article Writer. He likes to Share Knowledge and Experience with People.

Post a Comment (0)
Previous Post Next Post