Home > Articles > Operating Systems, Server > Microsoft Servers

Like this article? We recommend

DHCP in Active Directory

The Dynamic Host Configuration Protocol (DHCP) allows a client to receive an IP address automatically from the DHCP server. This process avoids configuration errors caused by configuring each computer manually. DHCP helps prevent address conflicts that occur when an identical IP address is reused to configure a new computer on the network. In the case of users with portable computers who change locations frequently (and subsequently need updated client configurations), the DHCP lease renewal process helps ensure efficient and automatic updates.

Active Directory requires a DHCP server to be authorized before it can respond to client requests. If you happened to upgrade a Windows NT 4.0 DHCP server to a Windows 2000 domain controller, and the server's DHCP service isn't working, make sure the server is authorized.

To authorize the DHCP server for Active Directory, perform the following steps:

  1. Select Start, Programs, Administrative Tools, DHCP.

  2. In the console, right-click DHCP and select Manage Authorize Servers.

  3. Click Authorize in the Manage Authorized Servers window.

  4. Enter the name or IP address of the DHCP server to be authorized, and click OK.

To enable DHCP, a client must have the Obtain an IP Address Automatically radio button selected in the TCP/IP Properties property sheet (see Figure 3.9), which is accessible through the Local Area Connection icon in Windows 2000 clients, or the Network Neighborhood in Windows 9x and NT. This option is enabled by default when the client is initially installed, so if you are using DHCP, you do not need to manually set your IP configuration.

Figure 3.9
Setting a Windows 2000 client for DHCP.

Benefits

Here are some of the benefits of using DHCP:

  • You don't need to manually change the IP settings for a mobile client that moves between different sites of your network because the client automatically receives a new IP address as long as a DHCP server is available on the new subnet.

  • You don't need to manually configure settings for DNS or WINS. The DHCP server assigns these settings when you enable this option on the client by selecting the Obtain DNS Server Address Automatically option button.

  • You can avoid duplicate IP addresses conflicts and reduce network administration and manual entry errors by centrally defining global and subnet-specific TCP/IP configurations.

  • Because most routers can forward DHCP configuration requests, you can eliminate the need to set up a DHCP server on every subnet.

New Windows 2000 DHCP Features

The Windows 2000 DHCP service provides the following new features:

  • Enhanced graphical server performance monitoring and reporting capabilities.

  • DHCP with DNS integration, which allows a DHCP server to perform dynamic updates in DNS for DHCP clients supporting dynamic updates.

  • Prevention of unauthorized DHCP servers from joining a DHCP network. Active Directory is queried when an unauthorized DHCP server is added to the network, and the server's IP address is compared to the list of authorized DHCP servers. If it is not on the list, its DHCP service is automatically shut down.

  • Restricted access to the DHCP Manager console, which adds security to DHCP deployments by providing a special-purpose local group (the DHCP Users group) that can view, but not modify, information on the specified DHCP server. This user group is automatically added when the DHCP service is installed.

DHCP Lease Process

The process consists of four basic steps:

  • DHCP Discover

  • DHCP Offer

  • DHCP Request

  • DHCP Acknowledge

In the Discover phase, the DHCP client asks for an IP address. In the Offer phase, the client is offered an address from the local DHCP server. In the Request phase, the client accepts the offer and requests the IP address. In the Acknowledge phase, the client is officially assigned the address. Figure 3.10 illustrates this process.

Figure 3.10
The DHCP reservation process.

After the client is configured, the DHCP server places a lease time on the address, which is based on the lease time setting in the DHCP options window (this value is set in seconds). Halfway through the lease period, the DHCP client requests a lease renewal, and the DHCP server extends the lease. This means that when a machine stops using its assigned IP address, the lease expires and the address is returned to the pool for reassignment. This occurs if a mobile computer leaves the network.

The four steps necessary for a DHCP client to acquire a lease from a DHCP server are initiated automatically when the computer is first booted. The following host systems can act as DHCP clients:

  • Windows NT Workstation (3.5 through Windows 2000)

  • Windows NT Server (3.5 through Windows 2000)

  • Windows 9x computers

  • Windows for Workgroups version 3.11 (with the Microsoft 32-bit TCP/IP VxD installed)

  • Microsoft Network Client version 3.0 for the Microsoft MS-DOS operating system (with the real-mode TCP/IP driver installed)

  • LAN Manager version 2.2c

  • UNIX workstations

  • Macintosh computers

  • Network printers and print servers

Integration of DHCP with Dynamic DNS

Windows 2000 DNS interacts with the DHCP service, allowing servers and DHCP clients to maintain synchronized name-to-IP mappings.

Windows 2000 DHCP clients and earlier versions of Windows DHCP clients interact with DNS in different ways. The DHCP server can be configured to register the DHCP client always for both the forward (A-type records) and reverse (PTR-type records) lookups with DNS. Windows 2000 DHCP clients update their own dynamic forward lookup names.

Figure 3.11 shows how Windows 2000 DHCP clients interact with dynamic updates.

Figure 3.11
Windows 2000 DHCP clients and dynamic update.

  1. The Windows 2000 DHCP client makes an IP lease request.

  2. The DHCP server grants an IP lease.

  3. The Windows 2000 DHCP client updates its forward (A) record with the DNS server.

  4. The DHCP server updates the DNS reverse (PTR) record for the client using the dynamic update protocol.

Earlier versions of Windows DHCP clients do not interact directly with DNS servers that perform dynamic updates. Figure 3.12 shows how the forward and reverse lookup names are updated by a DHCP server if the service has been configured for this.

Figure 3.12
Older DHCP clients and dynamic updates.

  1. The DHCP client makes an IP lease request.

  2. The DHCP server grants an IP lease.

  3. The DHCP server automatically generates the client's FQDN by appending the domain name defined for the scope to the client name obtained from the DHCPRequest message sent by the older client.

  4. Using the dynamic update protocol, the DHCP server updates the DNS forward (A) record for the client.

  5. Using the dynamic update protocol, the DHCP server updates the DNS reverse (PTR) record for the client.

Configuring DHCP

You can define server- and scope-specific configuration settings to identify routers and set DHCP client configurations.

DHCP Scopes

A DHCP scope identifies the possible IP addresses for DHCP clients on a specific subnet. Scopes define a range in which DHCP services are to be offered and allow the server to identify configuration parameters (such as DNS and WINS information if necessary) provided to DHCP clients. A scope must be defined before DHCP clients can acquire an IP address.

To configure a DHCP server scope, perform the following steps:

  1. In the DCHP snap-in, right-click the server icon, select New Scope, and click Next.

  2. In the scope window, input the scope name and detail information, and then click Next.

  3. In the IP Address Range window, enter an address range and subnet mask for the scope, and click Next. A subnet mask, based on the address class, will be entered by default. You can modify this subnet mask, or click Next.


Note - You cannot modify the subnet mask after the scope has been created. Make sure that it is correct before continuing.


  1. In the Add Exclusions window, input a range of addresses that are currently statically assigned, or are scheduled to be. Click Next.

  2. In the Lease Duration window, set the lease time of the address. The default lease time is set to eight days (up from three days in NT4). Click Next.

  3. In the Configure Your DHCP Options window, you have the option of entering settings including router, DNS, and WINS. You can elect to perform this configuration later by selecting the appropriate radio button. Click Next.

  4. If you elect to configure the options, input the appropriate value into the subsequent windows for routers, domain name, and DNS servers and, finally, WINS servers.

  5. In the Activate Scope window, click the radio button to activate the scope.

  6. Click Next, and then click Finish.

Address Pools

After a DHCP scope is defined and exclusion ranges are applied, the remaining addresses form an available address pool within the scope. The Address Pool folder in the Scope folder contains the various address pools.

Exclusion Ranges

An exclusion range is a sequence of IP addresses within a scope that are excluded from assignment by the DHCP service.

Reservations

Reservations allow permanent address lease assignment to a host (such as a printer or dedicated engineering PC). The DHCP server reserves the address in its pool, ensuring that the host will always use the same IP address. Reservations ensure that the DHCP service does not duplicate or reassign the IP address. Reservations can be useful for network devices such as UNIX workstations, print servers, printers, and so on.

Each reservation requires a Media Access Control (MAC) from the network interface card (NIC) for the DHCP client.

Setting DDNS Update on a Scope

To configure DHCP to dynamically update DNS, you need to modify DHCP in the MMC DHCP snap-in.

Perform the following steps:

  1. In the DHCP directory, right-click the specific scope folder and select Properties.

  2. Select the DNS tab and check the Automatically Update DHCP Client Information in DNS box (see Figure 3.13).

  3. If you want to make the update mandatory, click the Always Update DNS radio button. Otherwise, select the Update DNS Only If DHCP Client Requests button.

Figure 3.13
Configuring the DHCP server for Dynamic DNS.

If you decide to let the client choose, the option is located in the Windows 2000 client's Advanced TCP/IP settings under the DNS tab (check the Register This Connection's Address in DNS box).

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT 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 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 InformIT. 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.informit.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