Installing a DHCP Server


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 Components

On a server running Microsoft Windows Server 2003, you complete the following steps to allow it to function as a DHCP server:

  1. Click Start, choose Programs or All Programs, Administrative Tools, and then select Configure Your Server Wizard.

  2. Click Next twice. The server's current roles are shown. Select DHCP Server and then click Next.

  3. The wizard installs DHCP and begins configuring the server. When this task is finished, the wizard launches the New Scope Wizard. If you want to create the initial scope for the DHCP server, click Next and follow the steps outlined in the section of this chapter entitled "Creating and Managing Scopes." Otherwise, click Cancel and create the necessary DHCP scope(s) later.

  4. Click Finish. To use the server, you must authorize the server in the domain as described in the section of this chapter entitled "Authorizing a DHCP Server in Active Directory." Next, you must create and activate any DHCP scopes that the server will use, as discussed in section of this chapter entitled "Creating and Managing Scopes."

Starting and Using the DHCP Console

Once 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:

  • A green up arrow indicates that the DHCP service is running and the server is active.

  • A red X 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, icons you might see are the following:

  • 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.

Figure 18-1. Use the DHCP console to create and manage DHCP server configurations.

graphics/f18ap01.jpg

Connecting to Remote DHCP Servers

When 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:

  1. Right-click DHCP in the console tree, and then select Add Server. This opens the dialog box shown in Figure 18-2.

    Figure 18-2. If your DHCP server isn't listed, you'll need to use the Add Server dialog box to add it to the DHCP console.

    graphics/f18ap02.jpg

  2. Select This Server, and then type the IP address or computer name of the DHCP server you want to manage. If you want to manage authorized DHCP servers only, select This Authorized DHCP Server, and then click the server you want to add. Keep in mind that you can only manage DHCP servers in trusted domains.

  3. Click OK. An entry for the DHCP server is added to the console tree.

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 Server

You 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 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 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.




Microsoft Windows Server 2003 Administrator[ap]s Pocket Consultant
Microsoft Windows Server 2003 Administrator[ap]s Pocket Consultant
ISBN: 735622450
EAN: N/A
Year: 2003
Pages: 141

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net