Skip to content

DHCP Server Installation & Configuration

This lab covers the deployment of a Dynamic Host Configuration Protocol (DHCP) server to automate IP address assignment within a local area network (LAN). The guide walks through:

  1. DHCP Server Role Installation: Installing the required binaries on Windows Server.
  2. DHCP Scope Configuration: Designing the IP address pool, establishing exclusion ranges, setting lease times, and configuring option parameters (Default Gateway, DNS).
  3. Client-Side Verification: Activating DHCP on a Windows 10 client host and verifying successful IP address leasing.

Reference: This implementation follows best practices outlined in the Windows Server administration guides.

DHCP Lab Cover


In this phase, we add the DHCP Server role to Windows Server using the Server Manager Dashboard.

StepActionDescription
1Select Server RoleSelect the DHCP Server checkbox in the Add Roles Wizard.
2Add FeaturesAccept the required administration tools and sub-features.
3Monitor InstallationTrack the progress of the role deployment.
4Complete Role SetupComplete the initial server role installation and launch post-deployment tasks.
5Commit AuthorizationAuthorize the DHCP server in Active Directory to complete credentials delegation.

Open the Add Roles and Features Wizard from Server Manager. Navigate to the Server Roles tab and check the box for DHCP Server.

Step 1 - DHCP Role Selection

In the confirmation tab, review the selected options. Check Restart the destination server automatically if required and click Install.

Step 2 - Confirm Installation Options

Wait for the installation progress bar to fill. This installs the core DHCP server services.

Step 3 - Installation Progress

Once the installation finishes, click Close. In Server Manager, click the warning flag and select Complete DHCP Configuration to launch the post-installation wizard.

Step 4 - Complete Initial Configuration

In the Post-Install Wizard, authorize the DHCP server using your Domain Administrator credentials. Review the summary showing that security groups have been created and click Close.

Step 5 - DHCP Authorization


With the role installed, we define the IP address pool and configure scope options (such as DNS and Gateway) to manage dynamic IP allocations.

StepSectionDescription
6Create New ScopeOpen the DHCP Management Console and initiate the “New Scope Wizard”.
7IP Address RangeDefine the IP address range pool (Start IP and End IP) and subnet mask.
8Add ExclusionsSpecify IP ranges within the scope to exclude from dynamic distribution.
9Lease DurationSet the lease lifetime (default is 8 days).
10Default GatewayAdd the Router (Default Gateway) IP address for clients.
11DNS SettingsSpecify the parent domain name and primary/secondary DNS servers.

Open the DHCP console (via Administrative Tools). Expand the IPv4 node, right-click, and select New Scope. Provide a descriptive name for the scope (e.g., CST170_Scope).

Step 6 - New Scope Wizard

Enter the IP Address Range that the DHCP server will distribute. In this lab, we define a range from 192.168.10.20 to 192.168.10.100 with a standard subnet mask of /24 (255.255.255.0).

Step 7 - IP Address Range

Specify any IP addresses within the pool that must not be assigned to client machines (e.g., reserve them for static assignments like printers or switches). Enter the exclusion range and click Add.

Step 8 - Add Exclusions

Set the lease duration to control how long a client machine keeps its dynamically assigned IP address before requesting a renewal. The default value is set to 8 days.

Step 9 - Lease Duration

Step 10: Configure Router (Default Gateway)

Section titled “Step 10: Configure Router (Default Gateway)”

Under Configure DHCP Options, select Yes, I want to configure these options now. On the Router page, enter the local gateway IP address (e.g., 192.168.10.1) and click Add.

Step 10 - Router Option

Enter the parent domain name (e.g., rajkumar.local). Provide the IP addresses of the primary DNS servers (e.g., your local domain controller IP 192.168.10.5 and Google’s public DNS 8.8.8.8) to distribute to clients.

Step 11 - DNS Settings Step 11 - DNS Add

On the final page, select Yes, I want to activate this scope now and click Finish to bring the scope online.

Step 12 - Activate Scope


Phase 3: Client-Side DHCP Configuration & Verification

Section titled “Phase 3: Client-Side DHCP Configuration & Verification”

In this final phase, we configure a Windows 10 host to act as a DHCP client and verify that it successfully receives an IP address lease.

Step 13: Initial Client Check (Static / APIPA State)

Section titled “Step 13: Initial Client Check (Static / APIPA State)”

Prior to enabling DHCP, the client host has either an auto-configured APIPA address (169.254.x.x) or no active connection. Check settings in the network interface properties or run ipconfig /all.

Step 13 - Initial State

Modify the Ethernet adapter properties of the Windows 10 host. Select Obtain an IP address automatically and Obtain DNS server address automatically, then click OK.

Step 14 - Enable DHCP

Open the Command Prompt on the client host and run ipconfig /renew (or ipconfig /all). Verify that the host has successfully leased an IP from the pool (e.g., 192.168.10.20), and that the Default Gateway, DHCP server, and DNS details are populated correctly.

Step 15 - Verification