Dynamic IP addressing is available only if a DHCP server is installed on the network. You install the DHCP components through the Windows Components Wizard, and then you use the DHCP console to start and authorize the server in Active Directory. Only authorized DHCP servers can provide dynamic IP addresses to clients . Installing DHCP ComponentsOn a server running Microsoft Windows Server 2003, you complete the following steps to allow it to function as a DHCP server:
Starting and Using the DHCP ConsoleOnce you've installed a DHCP server, you use the DHCP console to configure and manage dynamic IP addressing. To start the DHCP console, click Start, choose Programs or All Programs as appropriate, then Administrative Tools, and then click DHCP. The main window for the DHCP console is shown in Figure 18-1. As you see, the main window is divided into two panes. The left pane lists the DHCP servers in the domain by IP address as well as the local machine (if it's a DHCP server). You can expand the listing to show the scopes and options defined for each DHCP server by double-clicking an entry. The right pane shows the expanded view of the current selection. Icons on the server and scope nodes show their current status. For servers, icons you might see are the following:
For scopes, icons you might see are the following:
Figure 18-1. Use the DHCP console to create and manage DHCP server configurations.
Connecting to Remote DHCP ServersWhen you start the DHCP console, you'll be connected directly to a local DHCP server, but you won't see entries for remote DHCP servers. You can connect to remote servers by completing the following steps:
Note You can also manage local and remote DHCP servers through Computer Management. Start Computer Management, and then connect to the server you want to manage. Afterward, expand Services And Applications, and then select DHCP. Tip When you work with remote servers, you might find that certain options can't be selected. A simple refresh of the server information might resolve this. Right-click the server node and then select Refresh. Starting and Stopping a DHCP ServerYou manage DHCP servers through the DHCP Server service. Like 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 service in the DHCP console. Right-click the server you want to manage in the DHCP console, choose All Tasks, and then select Start, Stop, Pause, Resume, or Restart, as appropriate. Note To start and stop a DHCP server using Computer Management, expand DHCP, right-click the server, choose All Tasks, and then select Start, Stop, Pause, Resume, or Restart, as appropriate. Authorizing a DHCP Server in Active DirectoryBefore 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 2003 requires authorization to prevent unauthorized DHCP servers from serving domain clients. This in turn ensures that network operations can run smoothly. In the DHCP console, you authorize a DHCP server by right-clicking the server entry in the tree view and then selecting Authorize. To remove the authorization, right-click the server, and then select Unauthorize. Note To authorize a DHCP server using Computer Management, expand DHCP, right-click the server, and then select Authorize. The authorization process can take several minutes, so be patient. Press F5 to refresh the view. When the DHCP server is authorized, the scope status should change to active and you should see a green up arrow in the console tree. To remove the authorization, expand DHCP, right-click the server, and then select Unauthorize. Tip You might need to log on or remotely connect to a domain controller in order to authorize the DHCP server in Active Directory. Once you access the domain controller, start the DHCP console, and connect to the server you want to authorize. Afterward, right-click the server and then select Authorize. |