Managing DHCP

Every device with a network interface card on an IP network requires a unique IP address and a corresponding subnet mask. The previous section outlined how to manually configure an IP address on Windows Server 2003. The process is very similar for other clients , such as Windows 2000 and Windows XP. Manual assignment is one method for assigning IP addresses, although it might not be suitable for many network environments.

To illustrate how difficult it could be to manually assign IP addresses, imagine having a large network with 5,000 or more users. It is possible to visit each workstation and manually configure IP addresses, but the work does not stop there. Any changes that must be made to IP parameters, such as the addition of a DNS server, will again require you to visit a number of workstations, if not all of them, to reconfigure the parameters. The more efficient solution is to implement a DHCP server to centralize administration and automate IP address assignment.

To implement this solution on Windows Server 2003 (or another platform such as Windows 2000 Server), the DHCP service must be running and configured. The service can be installed on a domain controller, a member server, or a server that is a member of a workgroup.

Before a DHCP server can be fully functional on a network, the following steps must be completed:

  • The server that will be assigned the role of DHCP server must be configured with a static IP address.

  • The DHCP server component must be installed.

  • The DHCP server must be configured with a range of IP addresses (also known as a scope ) to be leased to DHCP clients. Each DHCP server requires at least one scope, and the scope must be activated.

  • The DHCP server must be authorized within Active Directory.

After all of these steps have been performed, your DHCP server will be capable of leasing IP addresses to DHCP clients. The process of leasing an IP address occurs in the following four phases:

graphics/alert_icon.gif

Acronyms are always a great way to remember information. An easy way to remember the four phases of the IP address lease process is DORA: discover, offer, request, acknowledge .


  1. Discover The DHCP client broadcasts a DHCP discover message on the network containing its MAC address and NetBIOS name . If no DHCP servers respond to the request, the client continues to broadcast up to 4 times at 2, 4, 8, and 16 seconds. If a response is not received during this time, the client continues to broadcast every 5 minutes.

  2. Offer Each DHCP server on the network that receives the request responds with a DHCP offer message. An offered IP address is included in the message.

  3. Request If multiple DHCP servers respond, the client selects the first offer it receives and broadcasts a DHCP request for the IP address. The message is broadcast on the network because the client has not yet been assigned an IP address; it has only been offered one.

  4. Acknowledge The DHCP server responds with a DHCPACK (acknowledgment) granting the client's request to use the IP address. The DHCPACK also contains information about any DHCP options that have been configured on the server (such as the IP address of the DNS server).

graphics/alert_icon.gif

Remember that if a DHCP server is unavailable, the DHCP client continues to broadcast the DHCP discover message until a DHCP server responds. However, the client assigns itself an IP address in the range of 169.254.0.0 to 169.254.255.255 during this time. This is known as Automatic Private IP Addressing (APIPA). The client can communicate on the network, but only with other clients on the same subnet that also are using an IP address in this range. If clients are running Windows XP, you can use the Alternate Configuration tab from the Internet Protocol (TCP/IP) window to manually configure the automatically assigned IP address and other parameters that should be used if the DHCP server is unavailable.


Installing DHCP

To automate the process of assigning IP addresses to network clients, the DHCP Server service must be installed on at least one server. The service can be installed in a number of ways. You can opt to install it during the installation of Windows Server 2003, or you can install it later using the Configure Your Server Wizard or through the Add or Remove Programs applet within the Control Panel.

To install DHCP using the Configure Your Server Wizard, perform the following steps:

  1. Click Start and click Manage Your Server.

  2. Within the Manage Your Server window, select Add or Remove a Role. This launches the Configure Your Server Wizard. Click Next after reviewing the list of preliminary steps that should be completed.

  3. Select DHCP server from the list of server roles (see Figure 2.6). Click Next.

    Figure 2.6. You can select a server role through the Configure Your Server Wizard.

    graphics/02fig06.jpg

  4. A summary of selections appears listing the tasks that will be performed. Click Next.

  5. After the service has been installed, the New Scope Wizard launches automatically. At this point, you can click Next to configure a scope for the DHCP server or click Cancel. The scope can then be configured later through the DHCP console. The concepts of DHCP scopes are discussed in the following section. Click Finish.

graphics/alert_icon.gif

Before a DHCP server is fully functional on a network, it must be configured with at least one scope and must be activated. A scope is a range, or pool, of IP addresses that can be leased to DHCP clients by the server when requested . The DHCP server must also be authorized within Active Directory.


To install DHCP using the Add or Remove Programs applet, follow these steps:

  1. Click Start, point to Control Panel, and click Add or Remove Programs.

  2. Click Add/Remove Windows Components.

  3. Click Networking Services in the Components list and click the Details button.

  4. Select Dynamic Host Configuration Protocol (DHCP) from the list of Networking Services (see Figure 2.7). Click OK. Click Next to continue.

    Figure 2.7. You can install DHCP through the Add or Remove Programs applet in the Control Panel.

    graphics/02fig07.jpg

  5. Click Finish.

Authorizing a DHCP Server

The authorization of DHCP servers was a feature introduced in Windows 2000 and is included with Windows Server 2003. Before a DHCP server can lease IP addresses to clients on a network, it must be authorized to do so. This prevents a DHCP server with incorrect information from being introduced on the network. For example, a DHCP server with incorrect scope information can't lease providing DHCP clients with incorrect IP parameters. DHCP servers are authorized through the DHCP management console; this process must be performed by a user who is a member of the Enterprise Admins group .

To authorize a DHCP in Active Directory, follow these steps:

  1. Click Start, point to Administrative Tools, and select DHCP.

  2. Within the DHCP management console, right-click the DHCP server and click Authorize. Any server not yet authorized appears with a red arrow beside it.

  3. After the server has been successfully authorized within Active Directory, it appears with a green arrow beside it.

If a DHCP server needs to be removed from the networkfor example, if it has been replaced by another oneyou will want to "unauthorize" the server so that it no longer has the capability to lease IP addresses to clients. To do so, right-click the DHCP server within the DHCP console and select the Unauthorize option. Click Yes to confirm your actions. The DHCP server then is removed from Active Directory.

Creating Scopes

For a DHCP server to provide clients with IP addresses, the server must be configured with a scope. A scope is a range, or pool, of IP addresses that can be leased to DHCP clients on a given subnet. (If the DHCP server services multiple subnets, each with DHCP clients, you must create multiple scopes.)

In addition to IP addresses, a scope can include optional parameters that can be assigned to DHCP clients, including the IP address of DNS servers, WINS servers, and routers. The optional parameters are discussed in the "Managing DHCP Scope Options" section later in this chapter.

Before creating scopes, you should keep the following guidelines in mind:

  • All DHCP servers on the network require a scope to be active.

  • Any IP addresses within the scope that should not be leased to DHCP clients must be excluded from the scope. This eliminates the possibility of duplicate IP addresses.

  • A DHCP server can be configured with multiple scopes.

  • DHCP servers do not share scope information, meaning that one DHCP server will not know the IP addresses being leased by another DHCP server. With this in mind, make sure the IP addresses in each scope do not overlap, again to eliminate the possibility of duplicate IP addresses.

graphics/alert_icon.gif

Chances are, you will run into scenarios that include multiple DHCP servers. You can provide redundancy on the network for DHCP servers without the possibility of duplicate IP addresses. To accomplish this, use the "80/20 rule." That is, 80% of the IP addresses for the local subnet are added to a scope on the local DHCP server, and the remaining 20% of the IP addresses are added to a scope for the same subnet on another DHCP server. In other words, 80% of the IP addresses are from the local subnet, and 20% are from a remote subnet. Because both servers have IP addresses available for the same subnet, clients can always obtain an IP address if one of the servers becomes unavailable (until the scope runs out of available addresses).


After the DHCP component has been installed, you can create scopes from within the DHCP management console. A scope can also be configured when installing DHCP using the Configure Your Server Wizard, as you saw earlier in the chapter. Each scope created consists of the following information:

  • A range of IP addresses that can be leased to clients.

  • A subnet mask that determines the subnet for the IP address.

  • A scope name that appears in the DHCP management console.

  • The lease duration, which determines when a DHCP client must renew its IP address.

  • Optional parameters, also known as scope options, that need to be assigned to clients, such as the IP address of the DNS server, default gateway, and WINS server.

  • Client reservations . If a client requires the same IP address at all times, a client reservation can be configured to ensure that it always leases the same IP address.

To create a new scope using the DHCP management console, perform the following steps:

  1. Click Start, point to Administrative Tools, and click DHCP.

  2. Within the DHCP management console, right-click your DHCP server and click the New Scope option. This launches the New Scope Wizard. Click Next to continue.

  3. Type in a name and description for the scope that will make it easily identifiable within the management console. Click Next.

  4. Enter the range of IP addresses for the scope (see Figure 2.8). Verify the length and subnet mask.

    Figure 2.8. The first step in configuring a scope is entering the range of IP addresses to use.

    graphics/02fig08.gif

  5. Configure any IP addresses that should be excluded from the scope (see Figure 2.9), and then click the Add button. Click Next.

    Figure 2.9. You can exclude addresses from the scope via the Add Exclusions screen.

    graphics/02fig09.jpg

  6. Next, configure the lease duration for the scope (see Figure 2.10). The lease duration determines the length of time a client can use an IP address before it must be renewed. The default value is 8 days. Click Next.

    Figure 2.10. You can configure the lease duration for a scope in days, hours, and minutes.

    graphics/02fig10.gif

  7. At this point, you can configure additional parameters to assign to DHCP clients. Select No, I Will Configure These Options Later. Click Next. The scope options are discussed later in the chapter.

  8. Click Finish.

The new scope now appears under the DHCP server within the management console. Before the DHCP server can lease IP addresses from the scope, however, it must be activated. To do so, right-click the new scope and click Activate.

Superscopes

Aside from a regular scope, you can create a second type of scope known as a superscope . In a multinetted environment (one that has multiple logical IP subnets defined on a single physical network), superscopes allow a DHCP server to assign leases to clients on multiple subnets.

For example, a physical network is divided into two subnets, Subnet A and Subnet B, connected by a router. Subnet B contains two multinets. A single DHCP server is located on Subnet A. The DHCP server contains a single scope with a range of IP addresses to lease to clients on Subnet A. To have the DHCP assign IP addresses to clients on Subnet B, you can create a superscope and add to it the IP address ranges for the multinets on Subnet B. The scope configuration on the DHCP server could be similar to the following:

Subnet A:

Scope 1 : 192.168.1.2 to 192.168.1.254

Subnet B:

Superscope for Subnet B:

Scope 2 : 192.168.2.2 to 192.168.2.254

Scope 3 : 192.168.3.2 to 192.168.3.254

One of the biggest advantages of creating superscopes is to ease the administration in a multinetted environment. It can be difficult in terms of administration to identify which scopes go with which networks. Creating superscopes and grouping scopes in some logical manner can make them easier to administer. For example, you might group all the scopes from a single floor in a large office building into a superscope.

To create a new superscope within the DHCP management console, perform the following steps:

  1. Right-click the DHCP server from within the DHCP management console and select the New Superscope option from the menu. This launches the New Superscope Wizard. Click Next.

  2. Type in a descriptive name for the superscope (something that makes it easy to identify). This is the name that will appear within the DHCP management console. Click Next.

  3. From the list of available scopes, select the ones to include in the superscope (see Figure 2.11). Keep in mind that you can add only active scopes. Click Next.

    Figure 2.11. You can create a superscope through the DHCP management console.

    graphics/02fig11.jpg

  4. Click Finish.

Multicast Scopes

Multicasting is the process of sending a message to a group of recipients, as opposed to unicasting , in which a message is sent to a specific recipient.

Normally, DHCP is used to assign each DHCP client a single unique IP address from a range of IP addresses configured in a scope. Windows Server 2003 extends the functionality to enable you to create multicast scopes so that messages destined to a multicast IP address can be sent to all clients in a multicast group.

Multicast scopes are supported through a protocol known as the Multicast Address Dynamic Client Allocation Protocol (MADCAP). MADCAP controls how the DHCP servers dynamically assign IP addresses on a TCP/IP network.

The multicast server (in this case, the DHCP server) is configured with a group of Class D IP addresses (in the range of 224.0.0.0 to 239.255.255.255) that can be assigned to multicast clients. The server is also responsible for maintaining the group membership list and updating the list as members join and leave a group.

To create a multicast scope, perform the following steps:

  1. Within the DHCP management console, right-click the DHCP server and choose the New Multicast Scope option. This launches the New Multicast Scope Wizard. Click Next.

  2. Type in a name and description for the scope. Click Next.

  3. Specify a range of IP addresses and a TTL (see Figure 2.12). Click Next.

    Figure 2.12. You can configure a multicast scope by specifying a range of Class D IP addresses.

    graphics/02fig12.jpg

  4. Type in any IP addresses that you want to exclude from the range. Click Next.

  5. Specify a lease duration that defines how long a client can lease a multicast address from the scope. The default is 30 days. Click Next.

  6. Click Yes to activate the scope. Click Next.

  7. Click Finish.

Configuring DHCP for DNS Integration

PreWindows 2000 operating systems use NetBIOS names to identify clients and servers on the network and the different services they are running. These names can be resolved to IP addresses using a WINS server or an LMHOSTS file. Because the WINS database is dynamic, meaning that clients dynamically register their NetBIOS name and IP addresses, integrating DHCP and WINS on a network is simple. The DNS database is static on a Windows NT network, so implementing DHCP and DNS requires the use of a WINS Server.

Windows 2000 and Windows Server 2003 primarily use DNS. DNS is required to locate clients, servers, and services on the network. Traditionally, administrators had to manually enter host records into the DNS database. To overcome this and allow DHCP and DNS to be integrated on a network without the use of WINS, Windows 2000, Windows XP, and Windows Server 2003 workstations configured as DHCP clients can be automatically registered in the DNS database. These clients can automatically update their own A records (the records mapping their hostnames to their IP addresses), and the DHCP server updates the PTR records (the records that map the IP address to the hostname for reverse lookups). You can change the default behavior by configuring the properties of the DHCP server (as you will see later in the chapter).

DHCP Clients

The workstation platform determines how the client interacts with the DHCP and DNS servers. Clients running Windows 2000 and later can send update requests directly to a DNS server to update their own pointer and address records, or the client can request that the DHCP server make the update on its behalf .

Clients running platforms earlier than Windows 2000 do not support dynamic DNS updates and cannot interact directly with a DNS server. In this case, when a preWindows 2000 client or a non-Microsoft client receives an IP address from a DHCP server, the DHCP server can be configured to perform the DNS updates on behalf of these clients.

graphics/alert_icon.gif

Be sure you know which clients support dynamic DNS and how to configure DHCP for those clients that cannot update their own records. Remember that, by default, Windows 2000 and Windows XP clients register their own A records, and the DHCP server registers their PTR records.


Configuring DHCP/DNS Integration

To configure DHCP for DNS integration, right-click the DHCP server within the management console and choose Properties. If you select the DNS tab, you'll see a window similar to the one shown in Figure 2.13.

Figure 2.13. You configure DHCP integration with DNS via the DHCP management console.

graphics/02fig13.jpg

Here are the settings that can be configured for DHCP integration with DNS:

  • Enable DNS Dynamic Updates According to the Settings Below This option is selected by default. Deselecting this option means that the DHCP server will not perform any dynamic updates.

  • Dynamically Update DNS A and PTR Records Only If Requested by the DHCP Clients This option is selected by default. Selecting this option means that the DHCP server will perform the updates if requested to do so by the client.

  • Always Dynamically Update DNS A and PTR Records Selecting this option means that the DHCP server always updates DNS A and PTR records on behalf of DHCP clients.

  • Discard A and PTR Records When the Lease Is Deleted This option specifies whether the DHCP server should discard the records when a DHCP client lease expires .

  • Dynamically Update DNS A and PTR Records for DHCP Clients That Do Not Request Updates (for example, clients running Windows NT 4.0) Select this option if there are clients on the network that do not support dynamic updates, such as clients running Windows NT 4.0. In such cases, the DHCP server performs the updates on behalf of the client.

If you select the Advanced tab, you have the option of configuring the dynamic update registration credentials that can be used by the DHCP server when updating the DNS records. One of the reasons for doing this is to protect against unsecure updates to the DNS database. After you've created a dedicated user account, you can select the Credentials button and type in the username and password. These are the credentials that the DHCP server uses when registering names on behalf of DHCP clients.

Dynamic update credentials must be configured in the following situations:

  • If the DHCP service is running on a domain controller. Because the DHCP server inherits the power of the domain controller, it has the capability to delete and update any records within the DNS database. By configuring dynamic update credentials, you can limit the power of the DHCP server.

  • If the DHCP server has been configured to perform dynamic updates on behalf of DHCP clients.

  • If the zone for which the DHCP server will be performing updates is configured only for secure updates.

Managing DHCP Clients and Leases

Each DHCP scope is configured with a lease duration. This specifies how long a DHCP client can use an IP address before it must be renewed by a DHCP server. By default, this value is set to 8 days. However, you might want to change this depending on the number of IP addresses available as compared to the number of DHCP clients.

The lease duration can be customized to meet the requirements of your network. If the number of IP addresses exceeds the number of DHCP clients on the network, you can configure a longer lease duration. However, if the number of IP addresses available in the scope is comparable to the number of DHCP-enabled clients, you should configure a shorter lease duration. Also, if your network consists of a number of mobile users who move between subnets, consider creating a shorter lease time. By shortening the lease duration, you might also see a slight increase in network traffic because IP addresses are being renewed at a more frequent interval.

As you saw earlier in the chapter, the lease duration for a scope can be configured when the scope is created. You can also change the lease duration at any time afterward through the DHCP management console. Simply right-click the scope, click Properties, and edit the lease duration (see Figure 2.14).

Figure 2.14. You can reconfigure the lease duration for an active scope via its Properties page.

graphics/02fig14.jpg

The renewal process between a DHCP client and a DHCP server begins after 50% of the configured lease duration expires. At this time, the client attempts to contact the DHCP server. A DHCPRequest message is broadcast by the client requesting to renew the IP address with which it's currently configured. If the DHCP server is available, it responds with a DHCPACK, granting the client's request to renew the IP address.

If the client does not receive a response from the DHCP server, it again attempts to renew the IP address when 87.5% of the lease duration expires. Again, if the server is available, the request is granted. If not, the client continues to use the IP address until the lease duration expires. When it does, the IP address lease process described earlier in the chapter must be repeated.

Viewing Lease Information

As a DHCP server leases an IP address to DHCP clients, the management console provides administrators with an easy way of viewing lease information. The Active Leases container listed under the DHCP server lists all the IP addresses currently leased to clients. From here, you can also delete or cancel a lease, forcing a client to acquire a new IP address. To do so, right-click any of the active leases within the Active Leases container and click Delete.

Verifying, Renewing, and Releasing IP Addresses

The IPCONFIG command-line utility can be used to verify IP parameters as well as release and renew an IP address that has been assigned by a DHCP server.

The IPCONFIG /ALL command can be used to view detailed information about the IP parameters of a TCP/IP host. It returns information such as the IP address assigned to the client, the subnet mask, the optional parameters (including the IP address of any DNS servers), and the DHCP server from which the client is leasing the IP address.

Although a client eventually releases and renews the IP address that it has been assigned from a DHCP server on its own, this can be done manually as well. Using the IPCONFIG /RELEASE command followed by the IPCONFIG /RENEW command manually releases and renews a DHCP client lease.

Managing a DHCP Database

The DHCP database stores information about client leases. There is no limit to the number of entries that a single database can hold. Little management is associated with maintaining the database. For example, Windows Server 2003 automatically compacts the database to reclaim unused space, although it can also be performed manually by an administrator. The following sections look at some of the management tasks that an administrator might need or want to perform manually.

Backing Up and Restoring a DHCP Database

Backups are an integral part of most administrators' jobs. If you are using DHCP on a network, the DHCP database should also be included in the backup routine, in case the database becomes corrupt or fails.

The DHCP database is automatically backed up every 60 minutes by default. You can also perform manual backups using the Backup option within the DHCP management console or by using the Windows Backup program ( NTBackup.exe ).

graphics/tip_icon.gif

The default interval at which the database is automatically backed up can be changed by editing the value of the BackupInterval entry found under the HKEY_LOCAL_MACHINE\SYSTEM\Currentcontrolset\services\DHCPServer\Parameters Registry key.


During an automatic or manual backup of the DHCP database, the following information is backed up:

  • Client reservations

  • Any configured scopes, including superscopes and multicast scopes

  • DHCP options

  • IP address leases

  • Any Registry information pertaining to the configuration of DHCP

To back up the DHCP database using the management console, perform the following steps:

  1. Click Start, point to Administrative Tools, and click DHCP.

  2. Select the DHCP server that you want to back up. From the Action menu, click Backup.

  3. Browse to the folder where the backed-up files should be placed (see Figure 2.15). The default location is <systemroot>\system32\DHCP\Backup . Click OK.

    Figure 2.15. You can choose a location for the DHCP backup files via the management console.

    graphics/02fig15.jpg

graphics/note_icon.gif

When you back up the DHCP database using the Backup option within the management console, you must back up to a local drive. To back up to a nonlocal drive, you must use the Windows Backup program.


If the DHCP database needs to be restored, you can do so through the management console using the Restore option. To do so, select the appropriate server within the DHCP console and choose Restore from the Action menu. Browse to the location containing the database backup. After you click OK, a message appears informing you that the service must be stopped and restarted for the operation to complete. Click Yes to restore the database.

Moving the DHCP Database

You can move the DHCP database from one DHCP server to another using the Backup and Restore options within the DHCP management console. To move the database, begin by performing a backup using the process outlined in the previous section. When the backup is complete, stop the DHCP service using the Services applet in the Control Panel. This ensures that the DHCP server does not continue to lease IP addresses to clients after the second server starts leasing the same addresses. The folder containing the backup of the database can then be copied to the destination DHCP server. You can use the Restore option to restore the database on the new DHCP server.

graphics/note_icon.gif

To back up and restore the DHCP database, you must be a member of the DHCP Administrators group, the Backup Operators group, or the Administrators group. To move the database, you must belong to the appropriate groups on both servers.


Managing DHCP Scope Options

After a scope has been created, you can configure several DHCP options. The options can be configured at one of the following four levels:

  • Server

  • Scope

  • Class

  • Client

Options configured at the server level are applied to all DHCP clients, regardless of the subnet on which they reside. Any options that should be applied to all DHCP clients should be configured at this level. For example, to configure all clients on the network to use the same DNS server, you can configure the option at the server level. Keep in mind that when you are configuring scope options, any options configured at the scope or client levels override those configured at the server level. To configure server-level options, right-click the Server Options container listed under the DHCP server and select Set Predefined Options from the menu.

If you want to configure DHCP options so that they apply only to DHCP clients on a specific subnet, configure the options at the scope level. For example, the IP address of the default gateway for a subnet should be configured at the scope level. Configuring scope-level options can be done by right-clicking the Scope Options container and selecting Configure Options from the menu.

Finally, if you want to apply DHCP options to only a specific DHCP client, you can configure the options at the client level. You can configure options at this level only for clients that have a client reservation, meaning that they are DHCP clients but always lease the same IP address. Any option that you configure at this level overrides any configured at the server and scope levels. To configure a client-level option, right-click the client reservation and select Configure Options.

Windows Server 2003 also allows DHCP options to be applied to groups of users or workstations with similar needs. User-class options can be used to assign options to DHCP clients that have common needs for similar DHCP options configurations. For example, a user class can be used to configure options for mobile users. Vendor-class options can be used to assign DHCP options on the basis of vendor information. For example, specific options can be assigned to clients running a specific version of Windows.

graphics/alert_icon.gif

Be sure you are familiar with the order in which scope options are applied. The order is: server, scope, class, and then client.


Now that you're familiar with how DHCP options can be applied, let's take a look the different DHCP options that can be assigned to clients.

As previously mentioned, a DHCP server can assign parameters other than just an IP address and subnet mask to a DHCP client. A number of different options can be configured, some of which are shown in Figure 2.16. To access the Server Options dialog box, highlight Server Options in the left pane of the DHCP management console and select Configure Options from the Action menu.

Figure 2.16. DHCP options.

graphics/02fig16.jpg

The following list provides a description of the commonly used DHCP options:

  • 006 DNS Servers Specifies the IP address of the DNS servers available to clients on the network.

  • 015 DNS Domain Name Specifies the DNS domain name used for client resolutions .

  • 003 Router Specifies the IP address of the router or default gateway.

  • 044 WINS/NBNS Servers Specifies the IP address of the WINS servers on the network available to clients.

  • 046 WINS/NBT Node Type Specifies the name resolution type. The available options include 1 = B-node (broadcast), 2 = P-node (peer), 4 = M-node (mixed), and 8 = H-node (hybrid).

  • 240 Classless Static Routes Specifies a list of static routes, including the destination network IP address, the subnet mask, and the router that is responsible for forwarding messages to that network.

Most of the options outlined in the preceding list can also be configured locally on the client. By doing so, any options configured on the DHCP server will be overwritten by those configured locally. If you are using DHCP, however, it would not make sense to configure the options locally as well, especially in terms of administrative overhead.

Managing Reservations and Reserved Clients

In some instances, a workstation on the network requires a permanent IP address, but you still want that workstation to be a DHCP client. With a client reservation, the workstation can still be DHCP enabled, but the DHCP server always assigns the client the same IP address. In terms of administration, the client network configuration settings remain the same, IP addressing remains centralized, and the clients can still be assigned optional parameters through the DHCP server.

graphics/note_icon.gif

If multiple DHCP servers are configured with a range of IP addresses that cover the range of the reserved addresses, the client reservation must be duplicated on all DHCP servers. If not, the client might end up receiving an incorrect IP address (one other than the preferred address that has been reserved for the client on the first DHCP server).


Creating a client reservation is a relatively simple process. Within the DHCP management console, right-click the Reservations container listed under your DHCP server and click the New Reservation option. In the New Reservation dialog box, type in a descriptive name, the IP address to be reserved, and the MAC address of the client that will be assigned the IP address. Then click the Add button and the Close button. The reservation appears in the Reservations container in the DHCP management console.

Each client reservation that is created has a set of properties that can be used to change or configure the reservation. Any client reservations that have been configured appear under the Reservations container. To edit a client reservation, right-click the reservation and select Properties. From the properties window, you can use the General tab to change the information that was provided when the reservation was first configured. The only value that cannot be changed is the IP address. You can configure dynamic updates for the DHCP client via the DNS tab.



Windows Server 2003 Network Infrastructure Exam Cram 2 (Exam 70-291)
MCSA/MCSE 70-291 Exam Cram: Implementing, Managing, and Maintaining a Microsoft Windows Server 2003 Network Infrastructure (2nd Edition)
ISBN: 0789736187
EAN: 2147483647
Year: 2002
Pages: 118
Authors: Diana Huggins

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