Networking / Beginners

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.

  1. From Computer1, while you are logged on to Domain1 as Administrator, open the DNS console.
  2. 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.
  3. Close the DNS console.
  4. Switch to Computer2 and log on to Domain1 as Administrator.
  5. Open the Local Area Connection Properties dialog box, and then open the Internet Protocol (TCP/IP) Properties dialog box.
  6. On the General tab, select the Obtain An IP Address Automatically option.
  7. Select the Obtain DNS Server Address Automatically option.
  8. Click OK.
  9. In the Local Area Connection Properties dialog box, click Close.
    The new configuration is applied by the time the dialog box closes.
  10. At a command prompt type ipconfig /registerdns, and then press Enter.

Testing the Configuration

Verify the configuration on both the client and the server.

  1. From Computer2, while you are still logged on to Domain1 as Administrator, open a command prompt.
  2. 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.
  3. Switch to Computer1.
  4. If you have not already done so, from Computer1, log on to Domain1 as Administrator.
  5. Open the DHCP console.
  6. In the console tree, expand the Scope node, and select the Address Leases folder.
  7. Right-click the Address Leases folder, and then select Refresh.
  8. 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?
  9. Close the DHCP console.
  10. Open the DNS console and verify that a new A resource record has been created for Computer2.
  11. Log off Computer1 and Computer2.
[Previous] [Contents] [Next]