Configuring a DHCP Client
In this section, you configure Computer2 to obtain an address automatically. This procedure allows the computer to lease an address from the newly configured DHCP server.
- From Computer1, while you are logged on to Domain1 as Administrator, open the DNS console.
- Delete any A and PTR resource records for Computer2 in the domain1.local and
192.168.0.x subnet zones.
This step ensures that a DNS record corresponding to the new DHCP scope will be properly created and updated. - Close the DNS console.
- Switch to Computer2 and log on to Domain1 as Administrator.
- Open the Local Area Connection Properties dialog box, and then open the Internet Protocol (TCP/IP) Properties dialog box.
- On the General tab, select the Obtain An IP Address Automatically option.
- Select the Obtain DNS Server Address Automatically option.
- Click OK.
- In the Local Area Connection Properties dialog box, click Close.
The new configuration is applied by the time the dialog box closes. - At a command prompt type ipconfig /registerdns, and then press Enter.
Testing the Configuration
Verify the configuration on both the client and the server.
- From Computer2, while you are still logged on to Domain1 as Administrator, open a command prompt.
- At the command prompt type ipconfig /all, and then press Enter.
The new IP configuration obtained through DHCP is displayed, including the address of 192.168.0.11. The Default Gateway, DHCP Server, and DNS Server parameters are all set to 192.168.0.1. - Switch to Computer1.
- If you have not already done so, from Computer1, log on to Domain1 as Administrator.
- Open the DHCP console.
- In the console tree, expand the Scope node, and select the Address Leases folder.
- Right-click the Address Leases folder, and then select Refresh.
- Answer the following question in the space provided.
How many active address leases now appear in the details pane of the DHCP console when the Address Leases folder is selected? To which computer is this address assigned? - Close the DHCP console.
- Open the DNS console and verify that a new A resource record has been created for Computer2.
- Log off Computer1 and Computer2.
In this tutorial:
- Configuring DHCP Servers and Clients
- Configuring the DHCP Server
- Benefits of DHCP
- Installing the DHCP Server Service
- Authorizing the Server
- Configuring Scopes
- IP Address Range
- Exclusion Ranges
- Using the 80/20 Rule for Servers and Scopes
- Creating Reservations
- Assigning DHCP Options
- Activating a Scope
- Networking Configuring the Client
- Migrating from APIPA or Alternate Configurations
- Migrating ICS Clients
- Installing and Configuring a DHCP Server
- Adding a DHCP Server Role
- Configuring a DHCP Client
- Managing DHCP in Windows Networks
- Changing DCHP Server Status
- Services Console
- Managing DHCP from a Command Line
- Connecting Clients to Remote DHCP Servers
- Using Superscopes
- Changing the Addressing of a Subnet
- Backing Up the DHCP Server Database
- Performing a Manual Backup
- Manually Compacting a DHCP Server
- Using Options Classes
- Implementing User Classes
- Performing a Manual Backup of the DHCP Server
- Creating a New Superscope
- Configuring DHCP Servers to Perform DNS Updates
- Configuring Dynamic Updates with DHCP
- Using the DnsUpdateProxy Security Group
- Adding Members to the DnsUpdateProxy