8. When Setup finishes installing the DHCP Server role, the Installation Progress page will be updated to reflect this. Review the installation details to ensure that all phases of the installation were completed successfully.
9. As stated in the Post-Deployment Configuration task panel, additional configuration is required for the DHCP server. Tap or click the Complete DHCP Configuration link to start the DHCP Post-Install Configuration Wizard.
10. The Description page states that the DHCP Administrators and DHCP Users groups will be created in the domain for delegation of DHCP Server administration. Additionally, if the DHCP server is joined to a domain, the server will be authorized in Active Directory. Tap or click Next.
11. On the Authorization page, do one of the following to specify the credentials to use to authorize the DHCP server in Active Directory:
■ Your current user name is shown in the User Name text box. If you have administrator privileges in the domain that the DHCP server is a member of and you want to use your current credentials, tap or click Commit to attempt to authorize the server by using these credentials.
■ If you want to use alternate credentials or if you are unable to authorize the server by using your current credentials, select Use Alternate Credentials, and then tap or click Specify. In the Windows Security dialog box, enter the user name and password for the authorized account, and then tap or click OK. Tap or click Commit to attempt to authorize the server by using these credentials.
■ If you want to authorize the DHCP server later, select Skip AD Authorization, and then tap or click Commit. Keep in mind that in domains, only authorized DHCP servers can provide dynamic IP addresses to clients.
12. When the wizard finishes the post-install configuration, review the installation details to ensure that tasks were completed successfully, and then tap or click Close.
13. Next, you need to restart the DHCP Server service on the DHCP server so that the DHCP Administrators and DHCP Users groups can be used. To do this, tap or click DHCP in the left pane of Server Manager. Next, in the main pane, on the Servers panel, select the DHCP server. Finally, on the Services panel, press and hold or right-click the entry for the DHCP Server, and then tap or click Restart Service.
14. To complete the installation, you need to do the following:
■ If the server has multiple network cards, review the server bindings and specify the connections that the DHCP server supports for servicing clients. See “Configuring server bindings” later in this chapter.
■ Configure server options to assign common configuration settings for DHCPv4 and DHCPv6 clients, including 003 Router, 006 DNS Servers, 015 DNS Domain Name, and 044 WINS/NBNS Servers. See “Setting scope options” later in the chapter.
■ Create and activate any DHCP scopes that the server will use, as discussed in “Creating and managing scopes” later in the chapter.
Starting and using the DHCP console
After you install a DHCP server, you use the DHCP console to configure and manage dynamic IP addressing. In Server Manager, tap or click Tools, and then tap or click DHCP to open the DHCP console. Alternatively, enter Dhcpmgmt.msc in the Everywhere search box or at a prompt.
The main window for the DHCP console is shown in Figure 8–1. You’ll notice that the main window is divided into two panes. The left pane lists the DHCP servers in the domain according to their fully qualified domain name (FQDN). You can expand a server listing to show subnodes for IPv4 and IPv6. If you expand the IP nodes, you’ll find the scopes and options defined for the related IP version. The right pane shows the expanded view of the current selection.
FIGURE 8–1 Use the DHCP console to create and manage DHCP server configurations.
Icons on the various nodes show the current status of the nodes. For server and IP nodes, you might find the following icons:
■ A server icon with a green circle with a check mark indicates that the DHCP service is running and the server is active.
■ A server icon with red circle with an X through it indicates that the console can’t connect to the server. The DHCP service has been stopped or the server is inaccessible.
■ A red down arrow indicates that the DHCP server hasn’t been authorized.
■ A blue warning icon indicates that the server’s state has changed or a warning has been issued.
For scopes, you might find the following icons:
■ A red down arrow indicates that the scope hasn’t been activated.
■ A blue warning icon indicates that the scope’s state has changed or a warning has been issued.
Connecting to remote DHCP servers
When you start the DHCP console, you are connected directly to a local DHCP server, but you won’t find entries for remote DHCP servers. You can connect to remote servers by following these steps:
1. Press and hold or right-click DHCP in the console tree, and then tap or click Add Server to open the dialog box shown in Figure 8–2.
FIGURE 8–2 If your DHCP server isn’t listed, you need to add it to the DHCP console by using the Add Server dialog box.
2. Select This Server, and then enter the IP address or computer name of the DHCP server you want to manage.
3. Tap or click OK. An entry for the DHCP server is added to the console tree.
TIP When you work with remote servers, you might find that you can’t select certain options. A simple refresh of the server information might resolve this problem. To refresh the server information press and hold or right-click the server node, and then select Refresh.
Starting and stopping a DHCP server
You manage DHCP servers through the DHCP Server service. As with any other service, you can start, stop, pause, and resume the DHCP Server service in the Services node of Computer Management or from the command line. You can also manage the DHCP Server service in the DHCP console. Press and hold or right-click the server you want to manage in the DHCP console, point to All Tasks, and then tap or click Start, Stop, Pause, Resume, or Restart, as appropriate.
NOTE You also can use Server Manager to start and stop a DHCP server. Tap or click DHCP in the left pane of Server Manager. Next, in the main pane, on the Servers panel, select the DHCP server. Finally, on the Services panel, press and hold or right-click the entry for the DHCP Server, and then tap or click Start Service, Stop Service, Pause Service, Resume Service, or Restart Service, as appropriate.
Authorizing a DHCP server in Active Directory
Before you can use a DHCP server in the domain, you must authorize it in Active Directory. By authorizing the server, you specify that the server is authorized to provide dynamic IP addressing in the domain. Windows Server 2012 R2 requires authorization to prevent unauthorized DHCP servers from serving domain clients. This in turn ensures that network operations can run smoothly.