Installing and authorizing a DHCP server
In most organizations, your servers are configured with a static IP address configuration, but client computers can get IP addresses from a DHCP server. In Windows (and with most Linux, Macintosh, and mobile phones), the operating system contains a DHCP client that communicates with a DHCP server to obtain an IP address configuration (including the IP address, subnet mask, default gateway, and DNS server IP address).
Installing and authorizing a DHCP server is easy and straightforward. You can use Server Manager to achieve this. Server Manager, though, is a GUI that's layered on top of PowerShell. Alternatively, as you see in this recipe, you can use PowerShell to automate the installation and configuration of DHCP.
Getting ready
This recipe installs the DHCP service and the related management tools on the DC1.Reskit.Org
computer. DC1
is a domain controller in the Reskit.Org
domain and is also a DNS server.
How to do it...
- Install the DHCP server...