Every device on a network has an IP address for communication processes. There are two ways you can assign an IP address to the computer, either via a Static IP address or Dynamic IP address.
A static IP address is an IP address that you need to configure on a computer manually.
A dynamic IP address is an IP automatically assigned by a DHCP server to every computer on a network.
DHCP stands for “ Dynamic Host Configuration Protocol” and is a networking protocol used to assign an IP address and other network configuration to each host on a network so they can communicate with each other.
A DHCP scope is a valid range of IP addresses that are available from the DHCP server for assignment or lease to the client computer on a specific subnet.
The Scope determines which IP addresses are provided to the clients and one DHCP scope is required for each subnet.
With a DHCP Scope, you can configure several network configurations for all client computers including DNS servers and Gateways.
In this tutorial, we’ll show you how to configure a DHCP Scope on Windows Server 2016.
- A server running Windows Server 2016.
- A static IP address is configured on your server.
Install DHCP Server
Before starting, you will need to add DHCP server role in your server.
You can install DHCP server role by following the below steps:
1. Open Server Manager and click on the Add roles and Features:
12. Click on the “ Complete the DHCP configuration“. You should see the DHCP Post-Install Wizard in the following page:
At this point, your DHCP server is installed and configured. It’s time to create a scope for DHCP server.
Create DHCP Scope
Next we’ll need to create a DHCP scope to define a range of IP addresses available for client computers.
You can follow the below steps to create a new DHCP scope.
1. Open the Server Manager => Tools => DHCP to launch a DHCP console. You should see the following page:
2. Expand the DHCP server hostname and right-click on IPv4 => New Scope. You should see the DHCP Scope wizard in the following page:
Configure Scope Reservations
Next we’ll need to configure a reservation for your scope so that you can specify a specific host that always receives the same IP address.
Scope reservations retrieve clients MAC address during a DHCP request, matches it to an IP address in the reservation list and then assigns that IP address to the host.
You can configure the Scope Reservation by following the below steps:
1. Open the DHCP console, expand your Scope and right-click on the Reservations. You should see the following page:
2. Click on the New Reservation, you should see the following page:
3. Provide the name of Reservation, IP address and Mac address of the client’s computer, select DHCP and click on the Add button to add the new reservation.
Configure Scope Options
We’ll also need to configure Scope Options to define additional network information when a client computer assigned an IP address.
You can set DNS server, NTP server and Gateway with scope options.
You can configure Scope Options by following the below steps:
1. Open the DHCP console, expand IPv4 and right-click on the Server Options. You should see the following page:
Congratulations! We’ve successfully installed and configured the DHCP Scope on Windows Server 2016. For more information, you can visit the DHCP documentation page.