Lab Answer Key - Module 6 - Implementing Dynamic Host Configuration Protocol
Lab Answer Key - Module 6 - Implementing Dynamic Host Configuration Protocol
Lab: Implementing DHCP
Exercise 1: Implementing DHCP
Task 1: Install the Dynamic Host Configuration Protocol (DHCP) server role
6. On the Select server roles page, select the DHCP Server check box.
7. In the Add Roles and Features Wizard, click Add Features, and then click Next.
11. On the Installation progress page, wait until the “Installation succeeded on lon‐
svr1.adatum.com” message appears, and then click Close.
Task 2: Configure the DHCP scope and options
1. In the Server Manager Dashboard, click Tools, and then click DHCP.
2. In the DHCP console, expand and then right‐click lon‐svr1.adatum.com, and
then click Authorize.
Notice that the icons next to IPv4 IPv6 changes color from red to green, which
means that the DHCP server has been authorized in Active Directory® Domain
Services ﴾AD DS﴿.
6. On the Scope Name page, in the Name box, type Branch Office, and then click
Next.
7. On the IP Address Range page, complete the page using the following
information, and then click Next:
• Length: 16
8. On the Add Exclusions and Delay page, complete the page using the following
information:
12. On the Router ﴾Default Gateway﴿ page, in the IP address box, type 172.16.0.1,
click Add, and then click Next.
13. On the Domain Name and DNS Servers page, click Next.
16. On the Completing the New Scope Wizard page, click Finish.
Task 3: Configure the client to use DHCP, and then test the configuration
2. On the Start page, type Control Panel, and then press Enter.
3. In Control Panel, under Network and Internet, click View Network Status and
Tasks.
4. In the Network and Sharing Center window, click Change adapter settings.
7. In the Internet Protocol Version 4 ﴾TCP/IPv4﴿ Properties dialog box, select the
Obtain an IP address automatically radio button, select the Obtain DNS
server address automatically radio button, click OK, and then click Close.
9. In the Command Prompt window, at the command prompt, type the following,
and then press Enter:
ipconfig /renew
10. To test the configuration and verify that LON‐CL1 has received an IP address
from the DHCP scope, at a command prompt, type the following, and then press
Enter:
ipconfig /all
Task 4: Configure a lease as a reservation
ipconfig /all
3. Switch to LON‐SVR1.
4. In the Server Manager dashboard, click Tools, and then click DHCP.
• In the MAC address field, type the physical address you wrote down in step 2.
• Click Add, and then click Close.
7. Switch to LON‐CL1.
ipconfig /release
ipconfig /renew
Results: After completing this exercise, you should have implemented DHCP,
configured DHCP scope and options, and configured a DHCP reservation.
Prepare for the optional exercise
If you are going to complete the optional lab, revert the 20410C‐LON‐CL1 and
20410C‐LON‐SVR1 virtual machines by performing the following steps:
2. In the Virtual Machines list, right‐click 20410C‐LON‐CL1, and then click Revert.
Exercise 2: Implementing a DHCP Relay Agent (Optional Exercise)
Task 1: Install a DHCP relay agent
2. In Server Manager, click Tools, and then click Routing and Remote Access.
3. Add the DHCP relay agent to the router by performing the following steps:
b. In the Routing protocols list, click DHCP Relay Agent, and then click OK.
Task 2: Configure a DHCP relay agent
1. In the navigation pane, right‐click DHCP Relay Agent, and then click New
Interface.
2. In the New Interface for DHCP Relay Agent dialog box, click Ethernet 2, and
then click OK.
3. In the DHCP Relay Agent Properties – Ethernet 2 Properties dialog box, click OK.
5. In the DHCP Relay Agent Properties dialog box, in the Server address box, type
172.16.0.11, click Add, and then click OK.
Task 3: Test the DHCP relay agent with a client
Note: To test how a client receives an IP address from the DHCP relay agent in
another subnet, you need to create another DHCP scope.
5. On the Start screen, type Control Panel, and then press Enter.
6. Under Network and Internet, click View network status and tasks.
7. In the Network and Sharing Center window, click Change Adapter Settings,
right‐click Ethernet, and then click Properties.
10. Right‐click the Start button and then click Command Prompt.
11. In the Command Prompt window, at a command prompt, type the following,
and then press Enter:
ipconfig /renew
12. Verify that IP address and DNS server settings on LON‐CL2 are obtained from
DHCP Server scope Branch Office 2, installed on LON‐SVR1.
Results: After completing this exercise, you should have implemented a DHCP
relay agent.
Prepare for the next module
After you finish the lab, revert the virtual machines back to their initial state. To do
this, complete the following steps:
2. In the Virtual Machines list, right‐click 20410C‐LON‐DC1, and then click Revert.