Install and Configure DHCP Server in Windows Server 2019 Step By Step Guide
Table of Contents
Introduction
This tutorial provides a step-by-step guide for installing and configuring the DHCP server role in Windows Server 2019. By following these instructions, you will be able to set up a DHCP server to automatically assign IP addresses to clients on your network, which simplifies network management and enhances efficiency.
Step 1: Install DHCP Server Role
Before you begin, ensure you have:
- Administrative permissions on the server.
- A static IP address configured on your server.
To install the DHCP server role:
- Open the Server Manager.
- Click on Manage and select Add Roles and Features.
- In the Add Roles and Features Wizard, click Next until you reach the Server Roles section.
- Check the box for DHCP Server.
- Follow the prompts and click Next to install any required features.
- Complete the installation by clicking Install.
- Once the installation is complete, click Close.
Step 2: Complete DHCP Post Install Configuration
After installation, you need to configure the DHCP server:
- In Server Manager, click on the notification flag.
- Select Complete DHCP configuration.
- In the wizard, confirm the server authorized in Active Directory (if applicable).
- Click Commit to finalize the configuration.
Step 3: Create a DHCP Scope
Creating a DHCP scope allows the server to allocate IP addresses within a specified range:
- In Server Manager, navigate to Tools and select DHCP.
- In the DHCP console, right-click on IPv4 and choose New Scope.
- Follow the prompts in the New Scope Wizard:
- Name your scope and provide a description.
- Define the IP address range (start and end IP addresses).
- Set the Subnet mask (typically filled automatically).
- Specify any Exclusions (IP addresses that should not be assigned).
- Set the Lease Duration for how long IP addresses can be used.
- Activate the scope after creation.
Step 4: Configure Client Settings
To test if the DHCP server is working:
- On a client machine, access Network Connections.
- Right-click on the Ethernet adapter and select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Ensure Obtain an IP address automatically is selected.
- Restart the client machine or disable and re-enable the Ethernet adapter.
Conclusion
By following these steps, you have successfully installed and configured a DHCP server on Windows Server 2019. Ensure your clients are set to obtain IP addresses automatically to confirm that the DHCP server is functioning properly. For further learning, consider exploring additional DHCP options or integrating DHCP with other network services.