Installing the Dynamic Host Configuration Protocol Server Roles
You can use computers running Windows Server 2008 as DHCP servers by adding the DHCP server role.
To Add the DHCP Server Role
1. Configure the server with a static IP address. DHCP servers should always have a static IP address, because using a dynamic IP address would require another DHCP server to be present on the network.
2. Click
Start, and then click
Server Manager.
3. In the left pane, click
Roles, and then in the right pane, click
Add Roles.
4. If the Before You Begin page appears, click
Next.
5. On the Select Server Roles page, select
DHCP Server, and then click
Next.
6. On the DHCP Server page, click
Next.
7. If the Select Network Connection Bindings page appears, as shown in
(Figure), select the network interfaces that you want the DHCP server to use to assign IP addresses. This page appears only if the DHCP server has multiple network connections. Click
Next.
8. On the Specify IPv4 DNS Settings page, in the Parent Domain field, state the parent domain that clients will use for name
resolution. For example, if you state a parent domain of
contoso.com, and a client user types the name
intranet into the client’s Web browser, the client computer will attempt to resolve the name
intranet.contoso.com. The parent domain doesn’t need to be the same as the Active Directory domain. Then, state the IP addresses of the primary and secondary DNS servers. Click
Next.
9. On the Specify IPv4 WINS Settings page, you can choose whether to provide clients with the IP address of a WINS server. If you do not have a WINS server on your network, leave the default setting of WINS Is Not Required For Applications On This Network. If you do have one or more WINS servers, select WINS Is Required For Applications On This Network, and then type the IP addresses of the primary and secondary WINS servers. Click
Next.
Figure: The Select Network Connection Bindings page of the Add Roles Wizard
10. On the Add Or Edit DHCP Scopes page, you will configure the range of IP addresses that will be assigned to clients. Follow these steps to add as many DHCP scopes as you require, and then click
Next:
a. Click
Add to open the
Add Scope dialog box.
b. In the Scope Name box, type a name for the scope such as
Wired-192.168.1.0/24.
c. In the Starting IP Address and Ending IP Address boxes, type the lowest and highest IP addresses you want to assign, such as
192.168.1.100 and
192.168.1.199.
d. In the Subnet Mask box, type the subnet mask, such as
255.255.255.0.
e. In the Default Gateway box, type the IP address of the network’s router.
f. In the Subnet Type drop-down list, select Wired or Wireless depending on the type of network.
g. If you want the scope to be immediately active, select the Activate This Scope check box.
h. Click
OK.
11. If the Configure DHCPv6 Stateless Mode page appears, select Disable DHCPv6 Stateless Mode For This Server if you want to use DHCP to configure IPv6 clients. The default setting, Enable DHCPv6 Stateless Mode For This Server, causes DHCP to be disabled for IPv6 clients, which will auto-configure themselves based solely on information provided by your IPv6 routers. Click
Next.
12. If the Specify IPv6 DNS Settings page appears, specify the parent domain and the IPv6 addresses of the primary and secondary DNS servers, and then click
Next.
13. If the Authorize DHCP Server page appears, choose whether to use your current credentials to authorize the DHCP server, use different credentials, or skip authorization. If you choose to skip authorization, you can authorize the DHCP server later using the DHCP console. Click
Next.
14. On the Confirm Installation Selections page, review your settings, and then click
Install.
15. On the Results page, verify that the installation was successful, and then click
Close.