This step-by-step article describes how to configure a new Windows Server 2003-based Dynamic Host Configuration Protocol (DHCP) server on a stand-alone server to provide centralized management of IP addresses and other TCP/IP configuration settings for the client computers on a network.
To restart the DHCP service:
- Click Start, point to Control Panel, and then click Add or Remove Programs.
- In the Add or Remove Programs dialog box, click Add/Remove Windows Components.
- In the Windows Components Wizard, click Networking Services in the Components list, and then click Details.
- In the Networking Services dialog box, click to select the Dynamic Host Configuration Protocol (DHCP) check box, and then click OK.
- In the Windows Components Wizard, click Next to start Setup. Insert the Windows Server 2003 CD-ROM into the computer's CD-ROM or DVD-ROM drive if you are prompted to do so. Setup copies the DHCP server and tool files to your computer.
- When Setup is completed, click Finish.
- Click Start, point to Programs, point to Administrative Tools, and then click DHCP.
- In the console tree, right-click the DHCP server on which you want to create the new DHCP scope, and then click New Scope.
- In the New Scope Wizard, click Next, and then type a name and description for the scope. This can be any name that you want, but it should be descriptive enough so that you can identify the purpose of the scope on your network (for example, you can use a name such as "Administration Building Client Addresses"). Click Next.
- Type the range of addresses that can be leased as part of this scope (for example, use a range of IP addresses from a starting IP address of 192.168.100.1 to an ending address of 192.168.100.100). Because these addresses are given to clients, they must all be valid addresses for your network and not currently in use. If you want to use a different subnet mask, type the new subnet mask. Click Next.
- Type any IP addresses that you want to exclude from the range that you entered. This includes any addresses in the range described in step 4 that may have already been statically assigned to various computers in your organization. Typically, domain controllers, Web servers, DHCP servers, Domain Name System (DNS) servers, and other servers, have statically assigned IP addresses. Click Next.
- Type the number of days, hours, and minutes before an IP address lease from this scope expires. This determines how long a client can hold a leased address without renewing it. Click Next, and then click Yes, I want to configure these options now to extend the wizard to include settings for the most common DHCP options. Click Next.
- Type the IP address for the default gateway that should be used by clients that obtain an IP address from this scope. Click Add to add the default gateway address in the list, and then click Next.
- If you are using DNS servers on your network, type your organization's domain name in the Parent domain box. Type the name of your DNS server, and then click Resolve to make sure that your DHCP server can contact the DNS server and determine its address. Click Add to include that server in the list of DNS servers that are assigned to the DHCP clients. Click Next, and then follow the same steps if you are using a Windows Internet Naming Service (WINS) server, by adding its name and IP address. Click
- Click Yes, I want to activate this scope now to activate the scope and allow clients to obtain leases from it, and then click Next.
- Click Finish.
- In the console tree, click the server name, and then click Authorize on the Action menu.
To restart the DHCP service:
- Click Start, and then click Run.
- Type cmd, and then press ENTER.
- Type net start dhcpserver, and then press ENTER.
- Click Start, point to Control Panel, point to Administrative Tools, and then click Computer Management.
- Expand Services and Applications, and then click Services.
- Locate and then double-click DHCP Server.
- Verify that Startup is set to Automatic and that Service Status is set to Started. If not, click Start.
- Click OK, and then close the Computer Management window.
For additional information about DHCP in Windows Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:
169289 DHCP (Dynamic Host Configuration Protocol) Basics
167014 DHCP Client May Fail to Obtain a DHCP-Assigned IP Address
133490 Resolving Duplicate IP Address Conflicts on a DHCP Network
263217 Windows DHCP Server Gives Incorrect Settings for the Default Gateway or the DNS Server
Article ID: 323416 - Last Review: Jan 7, 2008 - Revision: 1