Home > Articles > Microsoft > MCSE

This chapter is from the book

Configuring and Managing DHCP

The first question many managers ask when presented with a request to install Windows Server 2003 DHCP is this: "Can't we just use our existing DHCP?" The answer to this question is both yes and no. If you are maintaining a legacy domain and WINS network, Windows Server 2003 can receive DHCP information from any DHCP server with which Windows NT 4.0 or Windows 2000 works. However, if you want to take advantage of the features of Active Directory and migrate away from the legacy WINS architecture, you need the Windows Server 2003 DHCP service.

The following sections discuss how to install and configure DHCP for a network.

Installing the DHCP Server Service

When you install Windows Server 2003, you have the ability to install DHCP as one of the optional services. To prepare for Exam 70-291, you need to know how to install DHCP on an existing server that does not already have DHCP installed.

Before you install DHCP, you must configure the server with a static IP address, as discussed in Chapter 1, "Configuring and Troubleshooting TCP/IP Addressing." After the DHCP server's network adapter is configured with a static IP address, you can go about the process of installing the DHCP service onto the server. To install the DHCP service on your server, perform the steps described in Step by Step 2.1.

Step By Step 2.1 Installing the DHCP Service

  1. Select Start, Settings, Control Panel, Add or Remove Programs.
  2. On the Add or Remove Programs page, click Add/Remove Windows Components to open the Windows Components Wizard.
  3. Select Networking Services, as shown in Figure 2.1.
    Figure 2.1

    Figure 2.1 DHCP is located in the Networking Services group in the Windows Component Wizard.

  4. Click the Details button to open the Networking Services window, shown in Figure 2.2.
  5. Select Dynamic Host Configuration Protocol (DHCP) and click OK.
    Figure 2.2

    Figure 2.2 You select the Dynamic Host Configuration Protocol (DHCP) option to install the DHCP server.

  6. Back in the Windows Components Wizard page, click Next to begin the installation.
  7. If you are prompted to supply the location of your Windows Server 2003 CD-ROM or installation files, provide the correct location. Windows installs the DHCP service files on your computer.
  8. When prompted that installation is complete, click Finish to close the Windows Components Wizard.

After you've installed the DHCP service, you next need to begin configuring the DHCP server so that it can service network clients. Before you can begin the configuration process, you first need to get an understanding of the types of DHCP scopes in Windows Server 2003.

Understanding DHCP Scopes

A scope is a range of IP addresses that are available for dynamic assignment to hosts on a given subnet. The scope for a particular subnet is determined by the network address of the broadcast DHCP request. In addition to address information, a scope can include a set of configuration parameters to be assigned to client computers when the address is assigned. This list of configuration parameters can include DNS servers, WINS servers, default gateways, the subnet mask, a NetBIOS scope ID, IP routing information, and WINS proxy information.

You should make the scope as large as you can. Later in the scope-creation process, you have the ability to exclude addresses, and you can also define reservations for particular addresses that exist within the scope.

Understanding DHCP Superscopes

The superscope type of scope was introduced to the Windows NT product family with Service Pack 2 for Windows NT 4.0. A superscope allows you to support a supernetted or multinetted network with a Windows Server 2003 DHCP server.

A supernetted network is a network that has multiple network addresses or subnets running on the same segment. This configuration is common in a network environment with more than 254 hosts on a subnet and in an environment in which certain hosts need to be isolated from the rest of the logical network for security or routing reasons. Superscopes support a local multinet or a multinet that is located across a router and configured to use the BOOTP forwarder service.

When to Use Supernetting

Visualize a large company that has been assigned the IP address block 198.142.1.0-198.142.6.254 by its ISP. The company occupies five floors in a building. On each of these floors are approximately 300 users, all on the same physical network. Traditional network design would have a routed backbone running between the floors, and each floor would be its own IP network. But there's one problem: There are too many users on these floors to be handled by a single Class C subnet. What are the alternatives?

You could place a router somewhere on each of the floors to further segment the network. This is an expensive and support-intensive solution and is generally considered to be impractical.

You could purchase a block of Class B addresses, but this could get costly and is generally very wasteful.

The last thing you could do is place multiple IP networks on the single-routed segment. In other words, you could create a supernet. This capability is supported by any of the routers on the market today, including the operating system-based routing services in Windows Server 2003, Novell NetWare, and any of the Unix flavors. So when you think about a supernet, think about a floor in a building with too many users for 254 IP addresses.

Understanding Multicasting and Multicast Scopes

Multicasting is the act of transmitting a message to a select group of recipients. This is in contrast to the concept of a broadcast, in which traffic is sent to every host on the network, or a unicast, in which the connection is a one-to-one relationship and there is only one recipient of the data.

Let's look at an example using an email message. If you send an email message to your manager, that email is a unicast message. If you send an email message to every user on the system, you have sent a broadcast. If you send an email message to a mailing list, you have sent a multicast message, which falls between a unicast message and a broadcast message. Teleconferencing and videoconferencing use the concept of multicasting, as does broadcast audio, in which the connection is from one source computer to a selected group of destination computers. At this time, only a few applications take advantage of multicasting, but with the growing popularity of multicast applications, we might see more multicast applications in the future.

The following are a few terms you need to understand before we discuss the Windows Server 2003 multicast capabilities:

  • Multicast DHCP (MDHCP)—An extension to the DHCP standard that supports dynamic assignment and configuration of IP multicast addresses on TCP/IP-based networks.
  • Multicast forwarding table—The table used by an IP router to forward IP multicast traffic. An entry in the IP multicast forwarding table consists of the multicast group address, the source IP address, a list of interfaces to which the traffic is forwarded (that is, the next-hop interfaces), and the single interface on which the traffic must be received to be forwarded (that is, the previous-hop interface).
  • Multicast group—A group of member TCP/IP hosts configured to listen for and receive datagrams sent to a specified destination IP address. The destination address for the group is a shared IP address in the Class D address range (224.0.0.0-2239.255.255.255).
  • Multicast scope—A scope of IP multicast addresses in the range 239.0.0.0-239.254.255.255. Multicast addresses in this range can be prevented from propagating in either direction (send or receive) through the use of scope-based multicast boundaries.

Windows Server 2003 makes use of the concept of a multicast scope. The DHCP service has been extended to allow the assignment of multicast addresses in addition to unicast (single-computer) addresses. A proposed IETF standard (RFC 2730), Multicast Address Dynamic Client Allocation Protocol (MADCAP), defines multicast address allocation. MADCAP (also known as MDHCP in Microsoft lingo) would allow administrators to dynamically allocate multicast addresses to be assigned in the same fashion as unicast addresses. The Windows Server 2003 DHCP multicasting capability also supports dynamic membership, which allows individual computers to join or leave a multicast group at any time. This is similar to registering to receive an Internet broadcast or joining and leaving an email mailing list. Group membership is not limited by size, and computers are not restricted to membership in any single group.

How do client computers join and leave a multicast group? The answer is via MDHCP and the MDHCP application programming interface (API). Client computers using MDHCP must be configured to use the MDHCP API. MDHCP assists in simplifying and automating configuration of multicast groups on a network, but it is not required for the operation of multicast groups or for the DHCP service. Multicast scopes provide only address configuration and do not support or use other DHCP-assignable options. MDHCP address configuration for client computers should be done independently of how the client computers are configured to receive their primary IP addresses. Computers using either static or dynamic configuration through a DHCP server can also be MDHCP clients.

Now that you have knowledge of the different types of scopes supported in Windows Server 2003, you can move forward to creating scopes on a DHCP server.

Creating a DHCP Scope

Objective:

Manage DHCP.

  • Manage DHCP clients and leases.
  • Manage DHCP scope options.

Now that you are familiar with the different types of scopes, you can create one. To create a standard DHCP scope, you perform the steps described in Step by Step 2.2.

Step By Step 2.2 Creating a DHCP Scope

  1. Open the DHCP console by selecting Start, Programs, Administrative Tools, DHCP.
  2. Right-click the DHCP server and select New Scope from the context menu.
  3. Click Next to dismiss the opening page of the New Scope Wizard.
  4. On the first page of the wizard, the Scope Name page, enter a name and description for the new scope, as shown in Figure 2.3. You should make this name something that will allow you to easily identify this scope in the event that you have multiple scopes on the DHCP server. When you're done entering the information, click Next to continue.
    Figure 2.3

    Figure 2.3 You should enter an intuitive name and description for the new scope.

  5. On the next page of the wizard, the IP Address Range page, enter the IP address range and subnet mask that you need for the network, as shown in Figure 2.4. You can define the subnet mask by using the standard octet method (for example, 255.255.255.0) or by using the more router-centric mask length field (for example, 24 bits). When you're done entering the information, click Next to continue. If you need a refresher on subnet masks, refer to Chapter 1.
    Figure 2.4

    Figure 2.4 Configuring the IP address range and subnet mask information defines the scope boundaries.

  6. On the next page of the wizard, the Add Exclusions page (see Figure 2.5), you can configure a range of IP addresses that will not be leased to client computers. These are typically addresses assigned to application servers, routers, printers, or other infrastructure equipment that requires static addresses. You can have multiple excluded IP addresses or ranges for each scope. When you're done entering the information, click Next to continue.
    Figure 2.5

    Figure 2.5 Configuring IP address exclusions allows you to prevent addresses within the scope from being leased out.

  7. On the next page of the wizard, the Lease Duration page, you can configure the amount of time for which a DHCP lease is valid, as shown in Figure 2.6. The default setting is 8 days and can be changed to any value between 1 minute and almost 1,000 days (999 days, 23 hours, 59 seconds, to be exact). For the average network, the default setting of 8 days is sufficient. In a network that has a large number of computers connecting at various locations, such as portable computers on wireless connections, you might want to reduce the lease duration. Conversely, in a network with clients that do not change location, you might consider increasing the lease duration to cut down on DHCP traffic on the network. When you're done entering the information, click Next to continue.
    Figure 2.6

    Figure 2.6 You should configure the lease duration that seems appropriate for the network.

  8. On the next page of the wizard, the Configure DHCP Options page, you are given the choice to configure additional options for your scope now or later. It is usually best to configure these options at the time of scope configuration, and thus you should do that now. Table 2.1, later in this chapter, presents the entire list of DHCP scope options that can be configured, although you will only be able to configure three of them at this time. Select Yes, I want to Configure These Options Now and click Next to continue.

    Table 2.1. Common DHCP Scope Options

    Code

    Option Name

    Option Description

    2

    Time Offset

    Specifies the offset of the client's subnet in seconds from UTC.

    3

    Router

    Specifies a list of IP addresses for routers on the client's subnet.

    4

    Time Server

    Specifies a list of RFC 868 time servers available to the client.

    5

    Name Servers

    Specifies a list of name servers available to the client.

    6

    DNS Servers

    Specifies a list of DNS servers available to the client.

    9

    LPR Servers

    Specifies a list of RFC 1179 line printer servers available to the client.

    15

    DNS Domain Name

    Specifies the domain name that the client should use when resolving hostnames via DNS.

    27

    All Subnets Are Local

    Specifies whether the client can assume that all subnets of the IP network to which the client is connected use the same MTU as the subnet of the network to which the client is directly connected.

    28

    Broadcast Address

    Specifies the broadcast address in use on the client's subnet.

    44

    WINS/NBNS Servers

    Specifies a list of RFC 1001/1002 NBNS servers, listed in order of preference.

    46

    WINS/NBT Node Type

    Allows NetBT clients, which can be configured as described in RFC 1001/1002.

    47

    NetBIOS Scope ID

    Specifies the NetBT scope parameter for the client, as specified in RFC 1001/1002.

  9. On the next page of the wizard, the Router (Default Gateway) page, enter the default gateway for the network or the subnet that the scope serves, as shown in Figure 2.7. When you're done entering the information, click Next to continue.
    Figure 2.7

    Figure 2.7 If you configure multiple gateways, you need to ensure that you place them in preferred order from top to bottom.

  10. On the next page of the wizard, the Domain Name and DNS Servers page, configure the parent domain of which all DHCP clients should be made part as well as any number of DNS servers you require, as shown in Figure 2.8. It is recommended that you enter at least two DNS servers for your clients to use. If you need to resolve a server name to an IP address, you can enter the server's name and then click the Resolve button. Configuring the DNS service is discussed in Chapter 3, "Implementing and Managing DNS." When you're done entering the information, click Next to continue.
    Figure 2.8

    Figure 2.8 If you configure multiple DNS servers, you should ensure that you place them in preferred order from top to bottom.

  11. On the next page of the wizard, the WINS Servers page, enter the IP addresses of the network's WINS servers, as shown in Figure 2.9. WINS servers are used to convert NetBIOS names to IP addresses for legacy clients on the network. As in the Domain Name and DNS Servers page, you can use the Resolve button to resolve a hostname to an address. If a network is purely Windows 2000 or better, you do not need to have a WINS server on the network because Windows 2000, Windows XP, and Windows Server 2003 use DNS by default for all name resolutions. If you do have the need for WINS servers on a network, it is recommended that you enter at least two of them here. When you're done entering the information, click Next to complete the scope creation process.
    Figure 2.9

    Figure 2.9 WINS servers are not required for networks that use only Windows 2000, Windows XP, or Windows Server 2003 computers.

  12. On the next page of the wizard, the Activate Scope page (see Figure 2.10), you are given the option to active the configured scope now or later. In most cases you want to activate the scope right away. Select Yes, I Want to Activate This Scope Now and click Next to activate the configured scope.
    Figure 2.10

    Figure 2.10 You typically want to activate the scope immediately after configuring it.

  13. Click Finish to close the New Scope Wizard. Note that the DHCP won't issue any IP address from your new scope unless it has already been authorized in Active Directory, which we discuss a little bit later in this chapter.

Configuring Scope Properties

Objective:

Manage DHCP.

  • Manage DHCP clients and leases.
  • Manage DHCP scope options.
  • Manage reservations and reserved clients.

After you've created a scope, you might want to modify its properties. To modify a scope's properties, you perform the steps described in Step by Step 2.3.

Step By Step 2.3 Configuring a DHCP Scope's Properties

  1. Right-click the scope and select Properties from the context menu.
  2. The Properties dialog box opens, as shown in Figure 2.11.
    Figure 2.11

    Figure 2.11 You can use the Scope Properties dialog box to change scope properties after you create a scope.

  3. On the General tab, change the scope name, IP address range, lease duration, and scope description if you want to.
  4. If you want to change the options on the DNS tab, do so now. The options on the DNS tab are discussed later in this chapter, in the section "Configuring DHCP for DNS Integration."
  5. On the Advanced tab, select options related to BOOTP clients, as shown in Figure 2.12. If you have BOOTP clients on your network, select either the BOOTP Only option or the Both option, depending on your network configuration. The default setting is DHCP Only. Click OK to close the Scope Properties dialog box after you make your changes.
    Figure 2.12

    Figure 2.12 You can configure the scope to service BOOTP clients on the Advanced tab of the Scope Properties dialog box.

  6. To view the address pool and configured exclusion ranges, click the Address Pool node of the DHCP console, as shown in Figure 2.13.
    Figure 2.13

    Figure 2.13 You can quickly view all configured scope ranges and exclusion ranges from the Address Pool node.

  7. To add a new exclusion range, right-click Address Pool and select New Exclusion Range from the context menu. The Add Exclusion window appears (see Figure 2.14). Click Add after you enter your new exclusion range.
    Figure 2.14

    Figure 2.14 You can add a new exclusion range to a configured DHCP scope by using the Add Exclusion dialog box.

  8. To view the addresses that have been leased, click the Address Leases node, as shown in Figure 2.15. (Of course there won't be any leases shown here until you authorize the DHCP server, as discussed later in this chapter, in the section "Authorizing a DHCP Server in Active Directory.")
    Figure 2.15

    Figure 2.15 You can view all active scope leases from the Address Leases node.

  9. If you want to manually revoke an active client lease, right-click it in the right pane of the Address Leases node and select Delete from the context menu.
  10. To view the configured reservations, click the Reservations node of the DHCP console.
  11. You can configure a new address reservation by right-clicking Reservations and selecting New Reservation from the context menu. You can configure a reservation for any device that you want to have a DHCP-assigned IP address that never expires. Configure the reservation as shown in Figure 2.16 and click Add to add it. Click Close to close the New Reservation input box after you're done configuring reservations for this scope. After you've configured a reservation, you can see it in the Reservations node of the DHCP console, as shown in Figure 2.17.
  12. You can view existing scope options by clicking the Scope Options node, as shown in Figure 2.18.
    Figure 2.16

    Figure 2.16 You can configure a new DHCP reservation, which is typically done for printers and other static infrastructure devices.

    Figure 2.17

    Figure 2.17 You can view all scope reservations from the Reservations node.

    Figure 2.18

    Figure 2.18 The Scope Options node lists all currently configured scope options.

  13. To configure a new scope option, right-click the Scope Options node and select Configure Options from the context menu. Configure the options in the Scope Options window (see Figure 2.19). Table 2.1 lists the common DHCP options available for configuration. Table 2.2 explains the Microsoft-specific DHCP options that are available for configuration.
    Figure 2.19

    Figure 2.19 You can configure extra scope options from the Scope Options dialog box.

Some of the more common DHCP scope options are presented in Table 2.1.

There is a provision in DHCP for manufacturer-specific DHCP options to be configured. You can select these options by opening the DHCP management console and selecting the scope for which to configure options, as described in Step by Step 2.3. Selecting the Advanced tab allows you to select Microsoft Options from the drop-down list in the Vendor Class window. Table 2.2 shows the manufacturer options that are defined by Microsoft.

Table 2.2. Microsoft-Specific DHCP Options

Code

Option Name

Option Description

1

Microsoft Disable NetBIOS

This option can be used to selectively enable or disable NetBT for DHCP-enabled computers running Windows.

2

Microsoft Release DHCP Lease on Shutdown

This option can be used to control whether DHCP-enabled computers running Windows send a release for their current DHCP lease to the DHCP server when shutdown occurs.

3

Microsoft Default Router Metric Base

This value is a specified router metric base to be used for all default gateway routes.

Authorizing a DHCP Server in Active Directory

For security reasons, a new DHCP server must be authorized in Active Directory before it can assign IP addresses by an administrator with Enterprise Admin credentials. This prevents unauthorized DHCP servers from running on the network. One of the nastiest things a troublemaker can do is to put up a rogue DHCP server and have it issue addresses that conflict with infrastructure devices' addresses. The nice thing about this feature is that if you are running Windows 2000 or better client computers and they are using Active Directory, the computers will not accept DHCP addresses from an unauthorized server. To authorize a DHCP server in Active Directory, you perform the steps described in Step by Step 2.4.

Step By Step 2.4 Authorizing a DHCP Server in Active Directory

  1. Open the DHCP console by selecting Start, Programs, Administrative Tools, DHCP.
  2. Right-click the DHCP server and select Authorize from the context menu.
  3. The authorization process might take some time, depending on network conditions. Refresh the DHCP console by pressing F5, and you should see the window shown in Figure 2.20. When authorization is complete, the status is shown as Active and the server is ready to issue addresses when it receives DHCP requests. Note also that the status arrow on the server itself is now pointing up instead of down as before.
    Figure 2.20

    Figure 2.20 When a DHCP server is authorized, DHCP server scope information shows up in the right pane of the DHCP console window.

Windows Server 2003 and Windows 2000 Server DHCP servers that are not authorized do not provide DHCP services to network clients. These unauthorized servers also check every five minutes to see if their authorization status has changed, thus allowing them to begin servicing clients.

You have now installed, configured, and authorized a Windows Server 2003 DHCP server. We next examine configuring DHCP for DNS integration.

Configuring DHCP for DNS Integration

One of the keys to effectively implementing an Active Directory environment is the capability for Windows 2000 and Windows XP workstations using DHCP to be automatically registered in DNS. You can set the following settings for DNS integration (see Step by Step 2.5):

  • Dynamically Update DNS A and PTR Records Only If Requested by the DHCP Clients—This is the default behavior of the Windows Server 2003 DHCP server, and it causes the DHCP server to register and update client information with the authoritative DNS server of the zone in which the DHCP server is located, according to the DHCP client's request. The DHCP client can request the way in which the DHCP server performs updates of its host (A) and pointer (PTR) resource records. If possible, the DHCP server will accommodate the client's request for handling updates to its name and IP address information in DNS. This selection requires the Enable Dynamic DNS Updates According to the Settings Below option to be selected.
  • Always Dynamically Update DNS A and PTR Records—When this option is selected, the DHCP server will always update the client's fully qualified domain name (FQDN), IP address, and both the A and PTR resource records, regardless of whether the client has requested to perform its own updates. This selection requires the Enable Dynamic DNS Updates According to the Settings Below option to be selected.
  • Discard A and PTR Records When Lease Is Deleted—This option, which is selected by default, instructs the DHCP server to cause the DNS server to delete the client's A and PTR records when the lease has expired or otherwise has been deleted. This selection requires the Enable Dynamic DNS Updates According to the Settings Below option to be selected.
  • Dynamically Update DNS A and PTR Records for DHCP Clients That Do Not Request Automatic Updates—This option allows legacy clients, such as Windows NT 4.0 and Windows 9x clients, to participate in DNS dynamic updates. This selection requires the Enable Dynamic DNS Updates According to the Settings Below option to be selected.

Because DNS dynamic updating is controlled by the DHCP server, you will need to perform all of the applicable DNS configuration from the DHCP console. The DHCP server automatically updates any DNS server configured as part of the server's TCP/IP network properties. It is important to be sure that the primary DNS server is configured as one of the DNS servers because any updates sent to it will be propagated to the rest of the DNS servers for that domain. However, the DNS server in question must support DDNS. DNS is discussed in more detail in Chapter 3. The Windows Server 2003 DNS server supports these updates, as do a number of other DNS servers.

To configure a DHCP server for DNS integration, you perform the steps described in Step by Step 2.5.

Step By Step 2.5 Configuring DHCP for DNS Integration

  1. Open the DHCP console by selecting Start, Programs, Administrative Tools, DHCP.
  2. Right-click the DHCP server and select Properties from the context menu. Select the DNS tab of the DHCP Server Properties dialog box, as shown in Figure 2.21.
    Figure 2.21

    Figure 2.21 You can configure DDNS options on the DNS tab.

  3. To enable DHCP integration with DNS, ensure that the Enable Dynamic DNS Updates According to the Settings Below check box is selected.
  4. Select to have the DHCP server update A and PTR records when requested or to always update A and PTR records.
  5. To help keep the DNS database clean and consistent, allow the DHCP server to cause expired leases to lead to A and PTR record deletion.
  6. If there are legacy clients on the network, ensure that dynamic updating is configured for them.
  7. If you are using secure dynamic updates, you should consider configuring a dedicated network user account for dynamic updating. You can enter the account credentials by switching to the Advanced tab of the DHCP Server Properties dialog box, as shown in Figure 2.22.
    Figure 2.22

    Figure 2.22 You need to click the Credentials button to enter the account username and password for DDNS.

  8. Click the Credentials button to open the DNS dynamic update credentials window, which is shown in Figure 2.23.
    Figure 2.23

    Figure 2.23 You need to enter the dynamic updates account credentials on the DNS dynamic update credentials dialog box.

  9. Enter the domain user account name, domain, and password in the DNS dynamic update credentials dialog box. Click OK to accept the credentials or Cancel to avoid entering credentials at this time.
  10. Click OK to close the DHCP Server Properties dialog box.

DHCP option code 81 is required in order to make dynamic update work. Let's look at two examples that explain the basic dynamic update process.

The first example looks at a Windows 2000 Professional client computer that has requested a DHCP lease from a Windows Server 2003 DHCP server configured with the default options:

  1. During the DHCP lease negotiation process, the Windows 2000 Professional client sends a DHCPREQUEST message. By default, the client includes DHCP option 81 in this message, informing the DHCP server that it is requesting that its PTR record be registered in DNS by the DHCP server. The client will be responsible for registering its A record on its own.
  2. The DHCP server replies with a DHCPACK message, granting the requested DHCP lease. This message includes DHCP option 81. With the default DHCP server settings, the DHCP server informs the client that it will register the PTR record and that the client will be responsible for registering the A record in DNS.
  3. The client registers its A record, and the DHCP server registers the client's PTR record in DNS.

The second example looks at a Windows NT 4.0 Workstation client computer that has requested a DHCP lease from a Windows Server 2003 DHCP server configured with the default options:

  1. During the DHCP lease negotiation process, the Windows NT 4.0 Workstation client sends a DHCPREQUEST message. DHCP option 81 is not included in this message.
  2. The server returns a DHCPACK message to the client, granting its DHCP lease request.
  3. The DHCP server updates the DNS server with the client's A and PTR records.

Configuring and Implementing a DHCP Relay Agent

Objective:

Manage DHCP.

  • Manage DHCP Relay Agent.

Today, most networks that use DHCP are routed. As discussed previously, DHCP messages are broadcast messages. By default, nearly all routers do not pass broadcast traffic in the interest of reducing overall network traffic levels. Fortunately, you can get around this design limitation by configuring a DHCP relay agent to pass BOOTP messages across routers.

There are three basic configurations in which you can set up a DHCP relay agent. The first involves entering the IP address or addresses of the DHCP server(s) into the router itself, instructing it to pass DHCP messages to a specified IP address for action. The second method involves using the Windows Server 2003 Routing and Remote Access Service (RRAS) component as a router (in the place of a hardware-based router) and configuring the DHCP relay agent within it. The third solution, and the one that we examine in this section, is to use a Windows Server 2003 computer located on a subnet without a DHCP server to act as a DHCP relay agent. This option requires the use of the RRAS components, but it does not involve the creation or configuration of a router as the second solution would. What's important to understand is that the server providing the DHCP relay agent service does not have to be dedicated to that purpose; it could be a file server, print server, or any other type of Windows Server 2003 (or Windows 2000 Server) server on that subnet. Figure 2.24 shows how this arrangement would look on a network.

Figure 2.24

Figure 2.24 The DHCP relay agent allows clients on the other side of a router to communicate with the DHCP server.

In Step by Step 2.6, you enable the DHCP relay agent on a Windows Server 2003 computer. This exercise assumes that you have not previously configured and enabled RRAS on the computer.

Step By Step 2.6 Configuring a DHCP Relay Agent

  1. Select Start, Programs, Administrative Tools, Routing and Remote Access to open the Routing and Remote Access console, which is shown in Figure 2.25. (If you've previously configured and enabled RRAS, you can skip to Step 7.)
    Figure 2.25

    Figure 2.25 The Routing and Remote Access console is initially empty.

  2. Right-click the server name and select Configure and Enable Routing and Remote Access from the context menu. The Routing and Remote Access Server Setup Wizard appears. Click Next to dismiss the opening page.
  3. On the Configuration page of the wizard, shown in Figure 2.26, select the Custom Configuration option and click Next to continue.
  4. On the Custom Configuration page of the wizard, shown in Figure 2.27, select the LAN routing option and click Next to continue.
  5. When the summary page is displayed, review your selections and then click Finish to continue.
  6. You are prompted to start RRAS. Click Yes to start the service.
  7. Back at the Routing and Remote Access console, expand the following nodes: Routing and Remote Access, ServerName, IP Routing, and General, as shown in Figure 2.28.
    Figure 2.26

    Figure 2.26 You need to specify a custom configuration in order to perform a basic DHCP relay agent setup.

    Figure 2.27

    Figure 2.27 The LAN routing option is the bare minimum you need to support later installation of the DHCP relay agent.

    Figure 2.28

    Figure 2.28 You need to add the DHCP relay agent from the General node.

  8. Right-click the General node and select New Routing Protocol from the context menu. This opens the New Routing Protocol dialog box.
  9. From the New Routing Protocol dialog box, shown in Figure 2.29, select DHCP Relay Agent. Click OK to confirm your configuration.
    Figure 2.29

    Figure 2.29 You can add the DHCP relay agent in addition to standard IP routing protocols.

  10. To select a network interface for the DHCP relay agent to run on, right-click the DHCP Relay Agent node in the RRAS console and select New Interface from the context menu.
  11. On the New Interface for DHCP Relay Agent page, shown in Figure 2.30, select the network interface that you want to be available for the DHCP relay agent. Click OK to continue. The DHCP Relay Properties dialog box, shown in Figure 2.31, opens.
    Figure 2.30

    Figure 2.30 You need to select one or more installed network adapters for use by the DHCP relay agent.

    Figure 2.31

    Figure 2.31 You need to configure the maximum hop count and length of delay time for the DHCP relay agent.

  12. In the DHCP Relay Properties dialog box, configure the required values for hop-count threshold and boot threshold. The default value for each of them is 4. Click OK to confirm your settings.
  13. The last configuration you need to perform is to assign the DHCP server IP addresses to which the DHCP relay agent forwards DHCP messages. Right-click the DHCP Relay Agent node in the RRAS console and select Properties to open the DHCP Relay Agent Properties dialog box, which is shown in Figure 2.32. Enter one or more remote DHCP servers into the list and click OK to confirm your settings.
Figure 2.32

Figure 2.32 You need to provide one or more remote DHCP servers to which the DHCP relay agent can forward DHCP messages.

Configuring Security for DHCP

Although there are no administrative tasks that outwardly appear that they will help secure your DHCP infrastructure, there are some best practices and other actions that you can follow that will provide a more secure (and thus, more reliable) DHCP implementation in your environment. We briefly examine them here:

  • Use the 80/20 address allocation rule—Use DHCP servers in pairs to provide leases to each of your network subnets. One server should be configured with 80 percent of the available addresses (in a scope) on it, and the other server should have a corresponding scope configured with the remaining 20 percent of the available addresses. The scopes should be balanced between the two servers such that each server has approximately the same number of 80-percent scopes (its own scopes) and 20-percent scopes (scopes that belong to the other server). By using this configuration, you can ensure that leases will still be made available to clients requesting them in the event a single server is under a DoS attack.
  • Create and use DHCP server clusters—By enabling a DHCP server cluster, you remove a single server as a single point of failure (SPOF). By having two (or more) servers in a cluster acting a single DHCP entity, a failure of a single server (or multiple servers depending on your configuration) will not result in a failure to provide leases to clients. Clustering can be expanded on by creating two clusters and implementing the 80/20 address allocation rule for maximum redundancy.
  • Examine the DHCP audit logs regularly—Ensure that audit logging is enabled, as shown in Figure 2.33. The audit logs are stored in the location defined on the Advanced tab, which was shown in Figure 2.22. The location is %systemroot%\system32\dhcp\ by default.
  • Harden servers—You can get detailed information and assistance on hardening Windows Server 2003 servers from the Windows Server 2003 Security Guide.
Figure 2.33

Figure 2.33 DHCP audit logging is enabled from the General tab of the DHCP server Properties dialog box.

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Pearson IT Certification products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.pearsonitcertification.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020