How To: Install and Configure DHCP Role in Windows Server 2016

If you are running a Windows Server environment, especially with Active Directory, it is recommended that you utilize Window Server’s ability to serve DHCP requests. In this guide, I will show you how to install the DHCP Server role on Windows Server 2016 (for this example, Windows Server 2016 Essentials, however the process is identical to the full Standard version of Windows Server).

Installing the DHCP Role (Server Manager)

  1. Log into your server with administrative credentials, either through remote desktop or console access.
  2. Verify that your server has a static IP address assigned. If it does not, follow this guide.
  3. Open the Server Manager Server Manager Icon Windows Server
  4. On the Dashboard, click Add Roles and Features
  5. Click Next on the Before you Begin pageAdd Roles - Before you begin6. Make sure that Role-based or feature based installation is selected, then click Next
    Add Roles - Select Installation Type

    7. Select the server that you will be installing the role on, then click Next

    Add Roles - Select Destination Server

    8. Select DHCP Server from the list, then click Add Features on the popup to also install the management tools. Click Next to continue.

    dhcp-select-role

    dhcp-add-features

    9. Click Next on the Select Features screen (unless you have features you would like to add as well)

    Add Roles - Select Features

    10. Review the notes about DHCP on the DHCP Server Screen, then click Next

    dhcp-server-screen

    11. Finally, click Install to start the installation of DHCP

    dhcp-install-screen

Installing the DHCP Role (Powershell)

  1. Log into your server with administrative credentials, either through remote desktop or console access.
  2. Verify that your server has a static IP address assigned. If it does not, follow this guide.
  3. Open a Powershell Console by Right Clicking and choosing Run as Administrator
  4. Enter the command Add-WindowsFeature  -IncludeManagementTools dhcp

 

Post Deployment Role Configuration

Once the installation has finished, we will need to configure some options for DHCP to be used within the network.

  1. In Server Manager, locate and click on the Notifications Button Action Required Server Manager Server 2016 at the top right side of the screen.
  2. Click Complete DHCP configuration
    post-deployment-dhcp
  3. Click Next on the Description Page
    post-deployment-dhcp-description 
  4. Choose credentials for Authorization in Active Directory Domain Services (Normally a domain administrator) and click Commit.
    post-deployment-dhcp-authorize 
  5. On the Summary Screen, review that everything completed, then click Close.
    post-deployment-dhcp-summary

 

Configuring DHCP Scopes and Options

  1. Open the DHCP Management Console (Start > type DHCPMgmt.msc)
  2. In the DHCP Management Console, Right Click the IPv4 icon and choose New Scope..
    dhcpmanagement-console
  3. Click Next on the Wizard Start Page
  4. Enter a name for the scope then click Next
    new-scope-wizard-page-2
  5. Enter a Start and End Address, as well as the Subnet Mask, then click Next
    new-scope-wizard-page-3

  6. If you would like to exclude any addresses from the range you specified, enter them here, then click Next.
    new-scope-wizard-page-4
  7. Select the duration of the leases, then click Next (Default is 8 Days)
    new-scope-wizard-page-5
  8. You will need to configure DHCP and Default Gateway Options for the clients through DHCP as well. On the Configure DHCP Options screen, choose Yes and click Next.
    new-scope-wizard-page-6
  9. Enter the IP Address of your Default Gateway or the Router in your network, click Add then click Next
    new-scope-wizard-page-7

  10. If you are using Active Directory, ensure that the Parent Domain is your internal domain name and the IP Address of the DNS Server is your Domain Controller’s address (and add additional DNS Servers to the list as well), then click Next
    new-scope-wizard-page-8

  11. If you are using a WINS Server, enter the IP Address of the server, then click Next
    new-scope-wizard-page-9
     
  12. Choose whether to Activate the scope now or not, then click Next
    new-scope-wizard-page-10

  13. Finally, click Finish to complete the configuration
    new-scope-wizard-page-11