Lab#4: Installing and Configuring DHCP: Preparation
Lab#4: Installing and Configuring DHCP: Preparation
SCENARIO
Page 1 of 14
Exercise 4.1 Creating a DHCPv4 Scope
Overview A scope is a range of IP addresses that a DHCP server uses to
supply clients on a particular subnet with IP addresses. In this
exercise, you will create a scope for IPv4 addresses on your DHCP
server.
Mindset A DHCP scope is a range of IP addresses on a selected subnet that are
selected for allocation by a DHCP server. After you install the DHCP
role, you can then create a scope using the DHCP snap-in for Microsoft
Management Console (MMC).
Completion time 20 minutes
2. In Server Manager, click Tools > DHCP. In the DHCP console, click lon-dc1.adatum.com (see Figure 4-1).
Maximize the DHCP window.
Figure 4-1
The DHCP console
2
Page 2 of 14
COMP2126: Windows Server Administration 2
4. Click, then right-click the IPv4 node and choose New Scope.
5. In the New Scope Wizard, on the Welcome to the New Scope Wizard page, click Next.
6. On the Scope Name page, in the Name text box, type Corporate Office and then click Next.
7. On the IP Address Range page, in the Start IP address text box, type 10.0.0.1. In the End IP address text box,
type 10.0.0.100.
9. On the Add Exclusions and Delay page, in the Start IP address text box, type 10.0.0.1. In the End IP address text
box, type 10.0.0.10. Click Add.
11. On the Lease Duration page, answer the following question and then click Next.
13. On the Router (Default Gateway) page, in the IP address text box, type 10.0.0.1 and then click Add. Click Next.
14. On the Domain Name and DNS Servers page, click Next.
Page 3 of 14
15. On the WINS Servers page, click Next.
17. Click Finish. Take a screen shot of the DHCP window by pressing Alt+PrtScr and then paste it into your
Lab04_worksheet file in the page provided by pressing Ctrl+V.
18. Move the splitter so that the full name of the scopes are shown. Then expand the Corporate Office scope and
then click the Address Pool node.
19. Take a screen shot of the DHCP window by pressing Alt+PrtScr and then paste it into your Lab04_worksheet
file in the page provided by pressing Ctrl+V.
Mindset Like the IPv4 addresses, IPv6 addresses are divided into network bits
and host addresses. In addition, IPv6 supports automatic configuration.
However, with a Windows DHCP server, you can also configure
stateful address autoconfiguration.
Completion time 15 minutes
3. In the New Scope Wizard, on the Scope Name page, in the Name text box, type Corporate Office. Then
click Next.
4. On the Scope Prefix page (see Figure 4-2), in the Prefix text box, type fd00:: and then click Next.
4
Page 4 of 14
COMP2126: Windows Server Administration 2
Figure 4-2
The Scope Prefix page
5. On the Add Exclusions page, in the Start IPv6 address text box, type 0:0:0:1 and click Add. Click Next.
6. On the Scope Lease page, answer the following question and then click Next.
8. Expand the Scope [fd00::] Corporate Office, and then click the Exclusions node.
9. Take a screen shot of the DHCP window by pressing Alt+PrtScr and then paste it into your
Lab04_worksheet file in the page provided by pressing Ctrl+V.
Page 5 of 14
10. Click the Scope Options node, then right-click the Scope Options node and choose Configure Options.
11. In the Scope Options dialog box, select the check box for the DNS Recursive Name Server IPv6 Address
List option.
12. In the New IPv6 address text box, type fd00::0:0:0:10 and then click Add.
13. Wait for DNS Validation to complete. When you are prompted to confirm that you want to add it, click Yes.
Where did the fd00::0:0:0:1 address that you supplied for the
DNS Recursive Name Server IPv6 Address List option come
Question
from?
7
14. Take a screen shot of the Scope Options dialog box, showing the option you just configured, by pressing
Alt+PrtScr and then paste the resulting image into the Lab04_worksheet file in the page provided by
pressing Ctrl+V.
6
Page 6 of 14
COMP2126: Windows Server Administration 2
Exercise 4.3 Creating and Configuring a Superscope
Overview In this exercise, you will create a superscope out of two normal
DHCP scopes.
1. On LON-DC1, using the DHCP console, right-click the IPv4 node and choose New Scope.
3. In the Name text box, type Scope1 and then click Next.
4. In the IP address range, set the Start IP address to 172.24.20.50 and the End IP address to 172.24.20.240.
For the Subnet mask, type 255.255.255.0. Click Next.
6. On the Lease Duration page, change the duration to 3 days and then click Next.
8. On the Router (Default Gateway) page, type the address of 172.24.20.20 and then click Add. Click Next.
15. In the Name text box, type Scope2 and then click Next.
16. In the IP address range, set the Start IP address to 172.24.21.50 and the End IP address to 172.24.21.240.
For the Subnet mask, type 255.255.255.0. Click Next.
18. On the Lease Duration page, change the duration to 3 days and then click Next.
Page 7 of 14
19. On the Configure DHCP Options page, click Next.
20. On the Router (Default Gateway) page, type the address of 172.24.21.20 and then click Add. Click Next.
21. On the Domain name and DNS Servers page, click Next.
26. When the New Superscope Wizard begins, click Next, type Super1 in the Superscope Name text box, and
then click Next.
27. On the Select Scopes page, press and hold the Ctrl key. Then click Scope1 and Scope2. Release the Ctrl
key. The Select Scopes page should look like Figure 4-3. Click Next.
Figure 4-3
Specifying the scopes to use in a DHCP superscope
8
Page 8 of 14
COMP2126: Windows Server Administration 2
30. Take a screen shot of the DHCP console showing the Superscope Super1 by pressing Alt+PrtScr and then
paste it into your Lab04_worksheet file in the page provided by pressing Ctrl+V.
31. Right-click the Superscope Super1 scope and choose Display Statistics.
1. On LON-DC1, using the DHCP console, right-click IPv4 and choose New Multicast Scope.
3. In the Name text box, type Multicast Scope1 and then click Next.
4. In the IP address range, set the Start IP address to 224.0.0.0 and the End IP address to 224.255.255.255. Answer
Question 8 and then click Next.
Page 9 of 14
6. On the Lease Duration page, answer Question 9 and then click Next.
10. Take a screen shot of the DHCP window by pressing Alt+Prt Scr and then paste it into your Lab04_worksheet
file in the page provided by pressing Ctrl+V.
1. On LON-DC1, in the DHCP console, under the Corporate Office Scope IPv4 node, click the Reservations
node.
2. Right-click the Reservations node and choose New Reservation. The New Reservation dialog box opens, as
shown in Figure 4-4.
10
Page 10 of 14
COMP2126: Windows Server Administration 2
Figure 4-4
Creating a DHCP reservation
6. Close the New Reservation dialog box by clicking Add and then clicking Close.
7. Take a screen shot of the DHCP window by pressing Alt+PrtScr and then paste it into your Lab04_worksheet
file in the page provided by pressing Ctrl+V.
Page 11 of 14
Lab Challenge Creating a DHCP Policy
Overview In this exercise, you will continue with the last exercise to create
a DHCP scope and then assign a DHCP policy to the scope.
Mindset By using DHCP policies, you can provide granular control over
scopes to allow you to assign different IP addresses or different
options based on the device type or its role. Policies are applicable
for a specific scope with a defined processing order. The options can
be configured at the scope or inherited from server-wide policies.
Completion time 15 minutes
1. On LON-DC1, in the DHCP console, right-click IPv4 and choose New Scope.
3. On the Scope Name page, in the Name text box, type NormalScope and then click Next.
4. On the IP address range, type 172.24.25.50 for the Start IP address and type 172.24.25.200 for the End IP
address. For the subnet mask, type 255.255.255.0. Click Next.
8. On the Router (Default Gateway) page, type 172.24.25.20 for the IP address and click Add. Click Next.
13. In the DHCP console, right-click IPv4 node and choose Define Vendor Classes.
14. In the DHCP Vendor Classes dialog box, click Add. The New Class dialog box opens (see Figure 4-5).
12
Page 12 of 14
COMP2126: Windows Server Administration 2
Figure 4-5
Creating a new DHCP class
15. In the Display name text box, type Nortel Phones. In the Description text box, type Desk phone.
16. Click under the ASCII field name and type Nortel-i 2004-A. Click OK.
17. Close the DHCP Vendor Classes dialog box by clicking Close.
18. Expand the IPv4 node and then expand Scope [172.24.25.0] NormalScope.
19. Click, then right-click the Policies node under the NormalScope scope and choose New Policy.
20. On the DHCP Policy Configuration Wizard page, in the Policy Name text box, type Policy1 and then click
Next.
21. On the Configure Conditions for the policy page, click Add.
Page 13 of 14
22. In the Add/Edit Condition dialog box, select the following and then click Add:
Operator: Equals
24. Back on the Configure Conditions for the policy page, click Next.
25. On the Configure settings for the policy page, type 172.24.25.50 for the Start IP address and 172.24.25.99 for
the End IP address. Click Next.
26. If you need different options for the Nortel Phones, you would specify them here. For now, click Next.
29. In the Policy1 Properties dialog box, click to select the Set lease duration for the policy option.
31. Take a screen shot of the Properties dialog box by pressing Alt+PrtScr and then paste it into your
Lab04_worksheet file in the page provided by pressing Ctrl+V.
End of lab
14
Page 14 of 14