In the Configuring a combination Domain Controller, DNS server, and DHCP server recipes, we installed the DHCP role onto a server called DC1. Without some configuration, however, that role isn't doing anything. In most companies that I work with, all of the servers have statically assigned IP addresses, which are IPs entered by hand into the NIC properties. This way, those servers always retain the same IP address. But what about client machines that might move around, or even move in and out of the network? DHCP is a mechanism that the clients can reach out to in order to obtain IP addressing information for the network that they are currently plugged into.
This way, users or admins don't have to worry about configuring IP settings on the client machine, as they are configured automatically by the DHCP server. In order for our DHCP server to hand out IP addresses, we need to configure a scope.
We have a Server 2016 machine online with the DHCP role installed. We will also be testing using a Windows 10 client machine to ensure that it is able to acquire IP address information properly from the server.
Perform the following steps to create and configure a DHCP scope to assign addresses to client computers:
.50
through .99
, but you already have a print server running on .75
, you could exclude .75
on this screen so that DHCP doesn't try to hand out the .75
address to a client computer.
DHCP is one of the core infrastructure roles that almost everyone uses inside their networks. While we have only scratched the surface here of what DHCP is capable of, the ability to automatically hand out IP addresses to connecting client computers is DHCP's core functionality. Installing the role and creating a scope are our primary steps to make use of DHCP. Take a look at our next recipe for one of the advanced functions that can be accomplished within your scope.
3.133.148.117