DHCP Imp
DHCP Imp
DHCP Imp
1. Introduction
Hi there, and welcome to Microsoft Windows Server 2012 R2: Server Infrastructure - DHCP
Design.
Jason Yates is your Microsoft Certified instructor for this course. Jason will be joined by Jacob
Moran later in this course.
[Jason Yates is a certified Microsoft instructor holding multiple Microsoft certifications including
MCSA (registered) Windows Server 2012; MCITP: Enterprise Desktop Administrator on
Windows 7; MCITP: Server Administrator on Windows Server 2008; MCITP: Enterprise
Desktop Support Technician on Vista; MCTS: Windows Server 2008 R2, Virtualization; MCTS:
Windows 7, Configuration; MCTS: Windows Server 2008, Active Directory; MCTS: Windows
Server 2008, Network Infrastructure; MCTS: Windows Vista, Configuration; MCSE (registered)
(2003, 2000, and NT); and MCSA (registered) (2003 and 2000). Jacob Moran is a certified
Microsoft instructor holding multiple Microsoft certifications including MCITP: Windows Server
2008 Server Administrator (registered) and Active; MCTS: Windows Server 2008 Application
Infrastructure (registered) and Network Infrastructure; MCITP: Enterprise Desktop Support
Technician on Windows 7 (registered); MCITP: SharePoint Server 2010 (registered); MCTS:
Microsoft SQL Server 2008 Implementation and Maintenance (registered) and Database
Administrator (registered); MCITP: SQL Server 2005 Database Administrator (registered);
MCTS: SQL Server 2005 (registered), MCTS: SharePoint server 2007 (registered) and
Windows SharePoint Services 3.0 (registered); MCTS: Windows Vista (registered) and
Windows 7 (registered); MCSE (registered) (2003, 2000, and NT 4.0); MCSA (registered)
(2003 and 2000); MCSA (registered) Windows Server 2012; MCDST (registered), MCDBA
(registered) (2000 and 7.0), MCT (registered); CCNA (registered), CCS (registered); and
CompTIA A+ (registered), Network+ (registered), Security+ (registered), and CTI+ (registered).
The course goal is to design and maintain a Dynamic Host Configuration Protocol (DHCP)
solution.]
Hi, I'm Jacob Moran, an MCT and MCSE in Windows Server 2012. And in this course, gang,
we're going to be focusing in on the ability that we have to manage our DHCP service
environment. You know DHCP is a core infrastructure service that is used to provide IP
addresses for clients, servers, and really anything that needs to gain an IP address, any other
node on our network.
So, as an administrator, I might think, "Okay, roll it out, life is good," but really, there is a lot of
important deployment questions to be considered in the design process. Is it a distributed or
centralized DHCP environment? Is there fault tolerance and high availability? Is it IPv4 or IPv6
or both?
Are we managing integration with services like DNS, Windows deployment services, network
access protection, all of which takes security authorization in order to cross from one world into
another? So we want to plan these things correctly so that we get the environment that we
expect.
[Heading: DHCP Design. A network consisting of an IP Access database, a DHCP server, and
three clients is displayed. The example shows the IP Access database connected to the DHCP
server. The DHCP server in turn delivers three IP addresses, 192.168.0.22, 192.168.0.13, and
192.168.0.77 to the three clients. The DHCP server also helps in identifying the default
gateway, DNS service, WDS service and WINS service. The DHCP team can create scopes,
exclusion ranges, address pools, reservations, leases, super-scopes, option types, and option
classes. Scope: A scope is the full consecutive range of possible IP addresses for a network.
Scopes typically define a single physical subnet on your network to which DHCP services are
offered. Scopes also provide the primary way for the server to manage distribution and
assignment of IP addresses and any related configuration parameters to clients on the
network. Exclusion range: An exclusion range is a limited sequence of IP addresses within a
scope, excluded from DHCP service offerings. Exclusion ranges assure that any addresses in
these ranges are not offered by the server to DHCP clients on your network. Address pool:
After you define a DHCP scope and apply exclusion ranges, the remaining addresses form the
available address pool within the scope. Pooled addresses are eligible for dynamic assignment
by the server to DHCP clients on your network. Reservation: You use a reservation to create a
permanent address lease assignment by the DHCP server. Reservations assure that a
specified hardware device on the subnet can always use the same IP address. Lease: A lease
is a length of time that a DHCP server specifies, during which a client computer can use an
assigned IP address. When a lease is made to a client, the lease is active. Before the lease
expires, the client typically needs to renew its address lease assignment with the server. A
lease becomes inactive when it expires or is deleted at the server. The duration for a lease
determines when it will expire and how often the client needs to renew it with the server.
Super-scope: A super-scope is an administrative grouping of scopes that can be used to
support multiple logical IP subnets on the same physical subnet. Super-scopes only contain a
list of member scopes or child scopes that can be activated together. Super-scopes are not
used to configure other details about scope usage. For configuring most properties used within
a super-scope, you need to configure member scope properties individually. Option types:
Option types are other client configuration parameters a DHCP server can assign when
serving leases to DHCP clients. For example, some commonly used options include IP
addresses for default gateways (routers), WINS servers, and DNS servers. Typically, these
option types are enabled and configured for each scope. The DHCP console also permits you
to configure default option types that are used by all scopes added and configured at the
server. Most options are predefined through RFC 2132, but you can use the DHCP console to
define and add custom option types if needed. Options class: An options class is a way for the
server to further manage option types provided to clients. When an options class is added to
the server, clients of that class can be provided class-specific option types for their
configuration. For Microsoft (registered) Windows (registered) 2000 and Windows XP, client
computers can also specify a class ID when communicating with the server. For earlier DHCP
clients that do not support the class ID process, the server can be configured with default
classes to use instead when placing clients in a class. Options classes can be of two types:
vendor classes and user classes.]
[Heading: DHCP Design – The Design Process. The DHCP window is displayed. The DHCP
design consists of three stages. The first DHCP design stage is to determine the DHCP
service method. In the first DHCP design stage, the three most common address allocation
methods include the following options which can be combined in a hybrid deployment: 1.
manually configuring IP addresses at the client or device 2. allocating using the older BOOTP
protocol, and 3. automated DHCP allocation. The second DHCP design stage is to create a
DHCP design configuration. The two design options for static IP addressing are manually
configuring static addressing at the client and configuring DHCP and BOOTP reservations.
The two design options for DHCP scopes and dynamic allocation are lease duration and
configured DHCP options. The four design options for DHCP availability and fault tolerance are
split-scopes; DHCP service on a failover cluster; DHCP failover, which can be load sharing or
hot standby mode; and cold standby servers that are not high availability servers. The four
design options for DHCP on routed networks are to deploy multiple DHCP servers, configure
BOOTP or DHCP forwarding on routers, configure BOOTP or DHCP relay agents, and
configure multihomed DHCP servers. The two design options for DHCP policy are scope-level
targeting and server-level targeting. The design options for network access security and
control are link-level or MAC filtering server-level or scope-level targeting and user or vendor
classes. The third DHCP design stage consists of mapping the design configuration to the
existing hardware and testing before deployment. In the third DHCP design stage, the
considerations that must be factored into the general design process include DHCP hardware
requirements, DHCP scalability, DHCP manageability, DHCP performance, DHCP
consolidation, DHCP interoperability, DNS update configuration, NAP interoperation, and
Active Directory registration.]
DHCP High-Availability Deployment Design
Learning Objective
After completing this topic, you should be able to
◾ describe high-availability options for DHCP design and deployment
[Heading: DHCP Service High Availability – Options. The three DHCP service high availability
options are split-scopes, service cluster, and DHCP failover.]
[Heading: DHCP High Availability – DHCP Cluster Deployment. The text in the slide reads
"What are the weakest points of a cluster?" Below the text, an example of a failover cluster is
displayed. In the example, a failover cluster is implemented on a network. The network
consists of a shared storage that is connected through active and passive nodes to two DHCP
servers. The two DHCP servers in turn provide DHCP virtual IP addresses to four clients. ]
[Heading: DHCP High Availability – DHCP Failover Deployment Modes (Hot Standby Mode). A
hub and spoke model of the hot standby mode is displayed. The model consists of four primary
sites – primary site1, primary site 2, primary site 3, and primary site 4. The four primary sites
are connected to a central site. Primary site 1's address pool is 10.0.0.0/16, primary site 2's
address pool is 20.0.0.0/16, primary site 3's address pool is 30.0.0.0/16, and primary site 4's
address pool is 40.0.0.0/16. The central site acts as the secondary backup site for all the
primary sites and is aware of all their address pools. The hot standby mode of operation is best
suited to centralized backup scenarios where the secondary backup DHCP service acts as a
failover to the primary local DHCP services at the remote offices and sites.]
All right, so we've been focusing on this idea of the implementation of the DHCP failover in that
hot standby mode, right. You see that works great for the local remote communication to work
well. We're failing over to the side on an as-need basis, but there is also this idea of wouldn't it
be great to have two DHCP servers that could coordinate their activities. I mean, now that we
have DHCP servers that are actually talking to each other, sharing their information, why not
have the ability to have a pair of DHCP servers that provide load balancing for each other so
that the clients could connect to either of the two servers? And, if an IP address has been
handed out to a particular client, the other DHCP server already knows, learns that
information, and doesn't hand out that same IP address because it's aware of this process has
already gone on. And so we have different subnets that can all be managed, and so this is a
50-50 split, right, rather than a 100-0. In terms of workload, we're actually looking at dividing
the workload up, managing the same scope, the same pool of addresses, the same
reservations, and filters, and polices, and everything else that we would have in place to
support those same subnets. So this is a very cool configuration. Again, as we look at
implementing this, we have that benefit of server 2012 actually sharing what it knows and
having that communication protocol giving us a better solution. Now, this is not really designed
for a local remote situation. We want that information to be delivered fast and furious and be
able to support essentially, you know, multiple servers providing the solution, but unlike, say,
having two servers supported in the cluster, as we said, it is not active/passive, it's 50-50 split,
it's actually load balancing, and it does not require a whole set of additional hardware and
communication to be there in the first place. Any other thoughts about the load-balancing
mode, Jason? I think it's interesting how it works in that both machines are running an
algorithm. They're receiving requests from the same devices and yet what they do is they look
at the MAC address and they calculate it and based on how you split the addresses up, it runs
an algorithm and says, this is the first half of this MAC address range, you know, 1 through 128
or however that works and then 129 through 256. If we're doing 50-50, the other server will
respond to MAC addresses that yield...that result in the algorithm. So they use a little bit of
math in order to determine who is doing what. And as the designer, one of the things you can
determine is, hey, I want that particular DHCP server really to do most of the work, because it
has, you know, for whatever reason, maybe it doesn't have other competing roles on it, so you
wanted to dedicate that server more for the network, but you still wanted some load balancing
in place where you can actually change it from not 50-50 but from 60-40 and that tweaks the
algorithm in such where now it's 40% of those requests that are coming in, the other DHCP
server will take versus the other one. So there are some tweaking you can do in regards to
kind of the weight and balance between the two load balancers. But, as you were saying,
Jacob, this is a really easy solution to implement for single-site locations, so you have high
response when clients are asking for DHCP, you know, IP addresses. Great for mixed
environments where I've got phones, mobile devices, wireless clients, and desktops and
servers and printers, and so forth. They're all looking for IP addresses. This gives us an
opportunity to create an array of servers that can respond to those requests when they come
in.
[Heading: DHCP High Availability – DHCP Failover Deployment Modes (Load Balancing
Mode). The load sharing mode of operation is best suited to deployments where both servers
in a failover relationship are located at the same physical site. The DHCP services handle
DHCP client requests based on the administrator-configured load distribution ratio. In the
example, two DHCP servers act as load balancing pair for each other. The two DHCP servers
are connected to DHCP relay agents and subnets.]
[The DHCP window is displayed. Running along the top of the window are the File, Action,
View, and Help menus. Below the menu bar is the tool bar containing buttons such as the
Back and Forward buttons. Below the tool bar, the window is divided into two areas. The area
to the left consists of a directory structure with nodes and subnodes and the area to the right
shows information about the node or subnode that is selected in the area to the left. The main
node in the area to the left is the DHCP node. This node has two subnodes –
corpapp1.corp.brocadero.com and CORPDC1.corp.brocadero.com. The
corpapp1.corp.brocadero.com subnode has two subnodes – IPv4 and IPv6. The
CORPDC1.corp.brocadero.com subnode has two subnodes – IPv4 and IPv6. Under the
CORPDC1.corp.brocadero.com subnode, the IPv4 subnode is expanded and has several
subnodes such as the Scope [10.0.0.0] Corp.brocadero.com LAN subnode. The Scope
[10.0.0.0] Corp.brocadero.com LAN subnode again has several subnodes such as the Address
Pool subnode, the Address Leases subnode, the Reservations subnode, the Scope Options
subnode, and the Policies subnode. In the area to the left, the Address Leases subnode is
selected and information about the subnode is displayed in the area to the right. The instructor
then clicks the Scope [10.0.0.0] Corp.brocadero.com LAN subnode in the area to the left and
the area to right shows information about the subnode. Then the instructor clicks the Address
Pool subnode in the area to the left and information about the Address Pool subnode is
displayed in the area to the right. Then the instructor clicks the Address Leases subnode in the
area to the left and information about the Address Leases subnode is displayed in the area to
the right. The area to the right now shows a table with four columns and three rows. The four
headers in the table are Client IP Address, Name, Lease Expiration, and Type. In the first row,
the entry under the Client IP Address header is 10.0.0.100. In the second row, the entry under
the Client IP Address header is 10.0.0.101. In the third row, the entry under the Client IP
Address header is 10.0.0.102. The instructor right-clicks the 10.0.0.101 entry in the second
row to display the shortcut menu. The shortcut menu has five shortcut menu options – Add to
Filter, Add to Reservation, Delete, Refresh, and Help. The instructor selects the Add to
Reservation shortcut menu option and the DHCP pop-up box appears. The standard text in the
DHCP pop-up box reads, "Lease converted successfully to reservation." Below the standard
text is the Close button. The instructor clicks the Close button to close the DHCP pop-up box.
In the area to the left, the Reservations subnode now contains the [10.0.0.101]
CORPSQL08R2 subnode. In the area to the left, the instructor clicks the Scope Options
subnode and information about the Scope Options subnode is displayed in the area to the
right. The table in the area to the right now consists of three rows and four columns. The four
headers in the table are Option Name, Vendor, Value, and Policy Name. In the first row, the
entry under the Option Name header is 003 Router, the entry under the Vendor header is
Standard, the entry under the Value header is 10.0.0.1, and the entry under the Policy Name
header is None. In the second row, the entry under the Option Name header is 006 DNS
Servers, the entry under the Vendor header is Standard, the entry under the Value header is
10.0.0.200, and the entry under the Policy Name header is None. In the third row, the entry
under the Option Name header is 015 DNS Domain Name, the entry under the Vendor header
is Standard, the entry under the Value header is corp.brocadero.com, and the entry under the
Policy Name header is None.]
Well, to make that happen, I've got a couple of options, right. We could go in and we could
decide that we want to use a Split-Scope. We've even got a split-scope wizard, we don't have
to do this manually. Both servers maintain the scope, but have an exclusion for the IP
addresses that the other server is going to hand out. That's okay, but there's no
communication, there is no indication of failover. There is just two servers that happen to only
support a certain portion of it. And we can end up with some challenges in supporting that
because there's no usage of the full bandwidth. We could install in a cluster and have the
whole scope available with a couple of cluster nodes. But, of course, that requires that I
configure clustering, which is definitely some extra work on the front end. Not necessarily the
easiest thing to do for wide area network solutions either. Or 2012 allows us to configure the
failover solution.
[The DHCP window is displayed. In the area to the left, the instructor right-clicks the Scope
[10.0.0.0] Corp.brocadero.com LAN subnode to display the shortcut menu. The shortcut menu
has nine menu options – Display Statistics, Advanced, Configure Failover, Reconcile,
Deactivate, Delete, Refresh, Properties, and Help. The instructor selects the Advanced
shortcut menu option to display the Split-Scope submenu option. The instructor points to the
Split-Scope submenu option. Then the instructor points to the Configure Failover menu option.]
So that's what we're going to do here – Configure Failover for two servers that actually talk to
each other for the DHCP service. We're going to indicate the partner server in this case, which
I've already added to the console for speed and when we go into this environment, it says, "All
right, what do want to define as a Relationship Name?" So I'm going to name this the CORPDC
- CORPAPP1. It's just what it had before just with the fully qualified domain names. The
Maximum Client Lead Time, remember, that refers to essentially how much time can a DHCP
server give to a client on renewal if the primary server is offline. What Mode are we in? Is it
Load balance with a 50-50 split here or is it a Hot standby solution where one server is
providing all the work and, typically, there is a remote server that it'll be able to jump in if that
main server goes offline for any period of time.
[The DHCP window is displayed. In the area to the left, the shortcut menu of the Scope
[10.0.0.0] Corp.brocadero.com LAN subnode is displayed. The instructor selects the Configure
Failover menu option and the first page of the Configure Failover wizard appears. The first
page has the Available scopes section with one entry 10.0.0.0 and the Select all checkbox.
The Back, Next, and Cancel buttons are at the bottom of the wizard. The instructor clicks the
Next button and the second page of the wizard opens. The second page has the Partner
Server drop-down list box, the Add Server button, and the Reuse existing failover relationships
configured with this server (if any exist) checkbox. The instructor clicks the down-pointing
arrow of the drop-down list box to reveal the corpapp1.corp.brocadero.com drop-down list box
option. The instructor then clicks the corpapp1.corp.brocadero.com drop-down list box option.
The instructor then clicks the Next button and the third page of the wizard opens. The third
page has the Relationship Name text box, the Maximum Client Lead Time spin boxes with the
default value of 1 in hours and 0 in minutes, and the Mode drop-down list box with the default
value of Load Balance. Below the Mode drop-down list box is the Load Balance Percentage
section which contains the Load Server and the Partner Server spin boxes in percentage. The
entry in the Local Server spin box and the Partner Server spin box is 50. Below the Partner
Server spin box is the State Switchover Interval checkbox. Next to the State Switchover
Interval checkbox is a spin box with the default value of 60 in minutes. Below the State
Switchover Interval checkbox is the Enable Message Authentication checkbox and the Shared
Secret text box. The instructor types CORPDC – CORPAPP1 in the Relationship Name text
box. Then the instructor points to the Maximum Client Lead Time spin boxes in hours and
minutes. Next the instructor displays the drop-down list options in the Mode drop-down list box.
The two drop-down list box options are Load balance and Hot standby. The instructor selects
the Hot standby drop-down list box option and the Load Balance Percentage section is
replaced with the Hot Standby Configuration section. The Hot Standby Configuration section
has the Role of Partner Server drop-down list box and the Addresses reserved for standby
server spin box in percentage. The entry in the Role of Partner Server drop-down list box is
Standby and the entry in the Addresses reserved for standby server spin box is 5.]
Again remember, it will be able to go offline, but this is not like a split-scope because although
5% of the addresses are reserved for the standby server. Again, the main server when it come
back online is going to learn about those and be able to respond to those leases and
participate in conjunction with that client when necessary. Then we have the State Switchover
Interval, which says, okay, if we have a standby server, for example, or even in a load balance
situation, one server that goes offline when that client comes back online, do we fail the client
over to the first server? If so, after how long when that server is up and running? And then
what kind of network communication is going to be used to ensure this relationship has
integrity. Is there no authentication? They simply say, "Hey, it's me, the one with this
relationship name for this scope. Let's go ahead and share what we know." Or is there
essentially a Shared Secret that's encrypted with SHA 256-bit encryption to protect that
relationship so there is no intrusion, no rogue, man-in-the-middle, or anything of that nature.
[The third page of the Configure Failover wizard is displayed. The instructor points to the
Addresses reserved for standby server in percentage spin box. The instructor then points to
the State Switchover Interval checkbox. Then the instructor selects the Load balance drop-
down list box option in the Mode drop-down list box and then selects the State Switchover
Interval checkbox. The instructor then unchecks the Enable Message Authentication checkbox
and the Shared Secret text box is grayed out. The instructor then checks the Enabled
Message Authentication checkbox and the Shared Secret text box is no longer grayed out. In
the Shared Secret text box, the instructor types in the password and points to the Next button.]
So that's a good idea. It's why it's the default. We're going to enable this with a 50-50
relationship. It configures that and if we head over here to corpapp1 and refresh. Hey, look, we
just got a scope and so, if we take a look at this scope, we can see that it consists of the same
exact pool of addresses and it already has the leases. Now, if we were looking at a split-scope,
it wouldn't maintain the same leases, right, one server has one set of leases, the other server
has another, but this is a failover or, in this case, load balance relationship that supports
failover that supports either server participating with these components so they have the exact
batch. All the options, all the reservations, and the live list of leases shared between the two.
[The third page of the Configure Failover wizard is displayed. The instructor clicks the Next
button and the last page of the wizard appears. The instructor clicks the Finish button at the
bottom of the wizard and the Configure Failover dialog box appears. The Configure Failover
dialog box states that the configure failover was successful. Then the instructor clicks the
Close button to close the dialog box and the DHCP window is again displayed. In the area to
the left, under the corpapp1.corp.brocadero.com subnode, the instructor points to the IPv4
subnode. The instructor refreshes the computer and the IPv4 subnode now has the Scope
[10.0.0.0] Corp.brocadero.com LAN subnode. The instructor clicks the Scope [10.0.0.0]
Corp.brocadero.com LAN subnode and the area to the right shows information about the
subnode. The area to the right now has a table with one header and five rows of entries. The
header is Contents of Scope and the five entries are the Address Pool, Address Leases,
Reservations, Scope Options, and Policies folders. The instructor clicks the Address Pool
folder to open it. The Address Pool folder consists of a table with three headers and one row of
entry under each header. The instructor then clicks the Address Leases subnode in the area to
the left and information about the subnode is displayed in the area to the right. The instructor
then navigates to the CORPDC1.corp.brocadero.com subnode and points to the [10.0.0.101]
CORPSQL08R2.corp.brocadero.com subnode under the Reservations subnode. Then the
instructor navigates to the corpapp1.corp.brocadero.com subnode and points to the
[10.0.0.101] CORPSQL08R2.com.brocadero.com subnode under the Reservations subnode.
The IPv4 subnode under the corpapp1.corp.brocadero.com subnode is now an exact match of
the IPv4 subnode under the CORPDC1.corp.brocadero.com subnode.]
Now, for continued maintenance, remember that we can come in here and we can replicate
the relationship. Again, if we make a change to configuration, we can ensure that's consistent
between the two. If we want to, we can come in here and replicate the scope. Again, enforcing
the scope configuration and content, the IP address range reservations. And we can come in
here and disconfigure the failover essentially. Setting those up to be isolated scopes if we
should so choose. So those are the options that we have available for us when it comes to
configuring failover in DHCP.
[The DHCP window is displayed. In the area to the left, the instructor navigates to the
CORPDC1.corp.brocadero.com subnode and right-clicks the Scope [10.0.0.0]
Corp.brocadero.com LAN subnode to open the shortcut menu. The instructor selects the
Replicate relationship shortcut menu option to display the DHCP dialog box. The standard text
in the dialog box reads, "This action will replicate the configuration of all failover scopes that
are part of the failover relationship CORPDC – CORPAPP1 to the partner server
corpapp1.corp.brocadero.com. This operation may take some time." Below the standard text
are the OK and Cancel buttons. The instructor clicks the OK button to close the dialog box and
the Failover Scope Configuration Replication dialog box appears. The instructor then clicks the
Close button to close the dialog box. The DHCP window is again displayed. In the area to the
left, the instructor navigates to the CORPDC1.corp.brocadero.com subnode and right-clicks
the Scope [10.0.0.0] Corp.brocadero.com LAN subnode to open the shortcut menu. The
instructor selects the Replicate Scope shortcut menu option to open the Failover Scope
Configuration Replication dialog box. The instructor clicks the Close button to close the dialog
box. The DHCP window is again displayed. In the area to the left, the instructor navigates to
the CORPDC1.corp.brocadero.com subnode and right-clicks the Scope [10.0.0.0]
Corp.brocadero.com LAN subnode to open the shortcut menu. The instructor points to the
Deconfigure Failover shortcut menu option and then closes the shortcut menu.]
DHCPv6 Service Design and Implementation
Learning Objectives
After completing this topic, you should be able to
◾ match each DHCPv6 configuration option to its correct description
◾ sequence the stages in the DHCPv6 message exchange
[Heading: DHCPv6 – Service Design. The example shows DHCPv6 clients in two subnets,
DHCPv6 subnet 1 and DHCPv6 subnet 2. The DHCPv6 clients in subnet 2 are supported by
DHCP version 6 service and can use the DHCPv6 relay agent to dynamically hand out IP
addresses to the remote subnets in DHCPv6 subnet 1.]
[Heading: DHCP DHCPv6 – DHCPv6 Client IPv6: Manual Configuration. The General tabbed
page of the Internet Protocol Version 6 (TCP/IPv6) Properties dialog box is displayed. The
tabbed page has the Obtain an IPv6 address automatically and the Use the following IPv6
address radio buttons. The Use the following IPv6 address radio button is selected. Below the
Use the following IPv6 address radio button are the IPv6 address, the Subnet prefix length,
and the Default gateway text boxes. The entry in the IPv6 address text box is 2001:db8::1000
and the entry in the Subnet prefix length text box is 64. There is no entry in the Default
gateway text box. Below the Default gateway text box are the Obtain DNS server address
automatically and Use the following DNS server addresses radio buttons. The Obtain DNS
server address automatically radio button is grayed out. The Use the following DNS server
addresses radio button is selected. Below the DNS server addresses radio button are the
Preferred DNS server and the Alternate DNS server text boxes. The entry in the Preferred
DNS server is 2001:db8::1000. There is no entry in the Alternate DNS server text box. An
example of an IPv6 manually assigned address is also displayed. The address is
2001:0db8:0000:0000:0000:0000:1000. The network ID portion of the IPv6 manually assigned
address is 2001:0db8:0000, the subnet portion is 0000, and the host portion is
0000:0000:0000:1000.]
Now, Jason, one of the first things that anyone who encounters IPv6 on a Windows 7 machine,
or Server 2012, or Windows 8. One of the things they see is what's known as this link-local
IPv6 address. Again, if we're just trying to provide a framework for this, this is a dynamically
assigned address, isn't it? Yes, and it's very different than IPv4. First time you type this in,
you're looking at it, and you've never seen these kinds of addresses before. You're thinking,
well, what's with all these letters? Why is it so large? What's going on here? And the new IPv6
is hexadecimal, is presented very differently. Jacob described a little bit of the characteristics.
But here is something else that's unique about it and that is you automatically receive an
address whether using DHCP or not. Here is the thing with link-local addresses. The link-local
address is very similar to the APIPA address, the Automatic Private IP Address
autoconfiguration that was around since, I don't know, Windows 2000, Windows 98. I think the
idea with that is that 169.254 address. If you can't get a legitimate address from a server, then
your machine makes one up, right. That 169.254 version 4 address. This is not the equivalent
to that. It is in the sense that is autoconfigured, but this particular address is more significant.
You want to be thinking differently in regards to v6. You want to realize that devices in a v6
world are going to have more than one address. In IPv4, assigning more than one address
unnecessarily to devices would be paramount to scandal because we're such a short supply of
IPv4 addresses. Imagine if every device on your network had two IPv4 addresses or three
IPv4 addresses, your pool would shrink, you know, dramatically. With v6, the notion of
assigning multiple addresses is not as scary as it sounds because there are so many
addresses available – the 128 bits available. It's a monstrous amount and just in terms of the
host value, in terms of how many addresses that you can distribute, so every device has its
own link-local address. Now, this address is important because it uses this address to actually
communicate to other v6 devices, even communicating to DHCP and identifying its neighbors
and its routers so that it can retrieve, maybe, additional addresses so it has global routing
capability.
[Heading: DHCP DHCPv6 – DHCPv6 Client IPv6: Stateless Auto Configuration. The
Administrator Command Prompt window is displayed. The command prompt window includes
several tables. The header of the second table is Ethernet adapter Local Area Connection. In
this table, the Link-local IPv6 Address entry with the value of
fe80::584e:b99d:c18d:c130×11<Preferred> is highlighted. IPv6 hosts configure a link-local
address for each interface. A host can also determine the addresses of routers, additional
addresses, and other configuration parameters by using router discovery.]
Now, we're having a look here at this screen again, Jacob, but now, we're looking at it slightly
differently. We're seeing a different address, not just the link-local address. Instead, we see
also an assigned Iv6 address and here we're referring to a stateful autoconfiguration. So I have
a question here. Can you clear up for us, what is the difference between stateful and
stateless? That's an excellent question, one that people find confusing at times. The idea of a
stateless IPv6 address simply means no one else is keeping track of this address. It's never
written down in any database. When there is a link-local address, there is a predefined link-
local prefix that is already embedded in the operating system and you're simply coming up with
a unique suffix at the end of that for link-local address, so it's stateless, right. You came up with
it, you make sure no one else is using it right now, and then you go with it. Additionally, once
you've got that link-local address, your IPv6 stack is actually going to send out a multicast
asking is there a router that is willing to respond back to a...with a router advertisement
message that will identify for me what network I am on. What IPv6 subnet I'm on. Not this link-
local generic one, but my specific subnet that is defined, really, by this router and so the router
can tell me what subnet I belong to and then similar to the link-local, I can generate a unique
suffix to that IP prefix that's been given to me by the router and come up with an IP address
and the router could potentially even give me some other information. Well, that link-local has
that prefix of FE80, so what you're saying is, you know, that's the universal link-local prefix, but
now, we need to have a prefix that's specific to that network, that's what we're looking for now.
Exactly, for example, our, you know, 2001 db8 subnet, right. That's our network, that's where
we belong, that's what's my side of the router. And so everyone else on my side of the router
or in my VLAN has to have that same prefix or we can't talk, right. That's just the general rules
of IP. It applies for IPv6 as well. The thing here is the router actually can tell me what that is,
but unlike DHCP, the router doesn't keep track of the fact that it told me what its network prefix
is and it doesn't keep track of what suffix I might have come up with for my own unique host. It
is still stateless when a router tells you how to build an IP address, right, because there is no
state. There is no database maintaining this information. But there is another way that this
particular client could get an IP address, right. And that is the client could go through the
process of sending out a multicast to find a DHCP server, an IPv6 DHCP server, which could
then give me a stateful address, which means exactly the same thing it meant with IPv4, it
means that we have an IP address that's in a database, once we've gone through our
communication process back and forth and have agreed on an IPv6 address, again, in the
2001 db8 prefix, but now DHCP comes up with a unique suffix, assigns it to my MAC address,
and records that in the database. Now, we have a stateful address. Now, we have something
that would be, for example, coordinated in a failover server situation like we were talking about
before, that's the information that gets passed back and forth. So we go from stateless, link-
local, and even router defined addresses, stateless addresses like that to stateful addresses,
which really means I'll be able to see the active leases of an IP address in the DHCP
database.
[Heading: DHCP DHCPv6 – DHCPv6 Client IPv6: Stateful Auto Configuration. The
Administrator Command Prompt window is displayed. The command prompt window includes
several tables. The header of the second table is Ethernet adapter Local Area Connection. In
this table, the IPv6 Address entry with the value of
2001:db8::6b75:c37h:3554:6167<Preferred>, the Lease Obtained entry with the value of 21
January 2013 10:05:40, the DNS Servers entry with the value of 2001:db8::1000, and the
Connection-specific DNS Suffix Search List entry with the value of easynomadtravel.com are
highlighted. DHCPv6 is used to obtain addresses and other configuration options if there are
no IPv6 routers present or if a client receives router advertisement messages that do not
include address prefixes and require that the host use a stateful address configuration
protocol.]
[Heading: DHCP DHCPv6 – DHCPv6 Messages. DHCPv6 does not use DORA. It uses SAAR.
The four steps in the SAAR process are: 1. client solicit 2. server advertise 3. client request,
and 4. service reply. A snippet of a packet analyzer capture is displayed. The first line in the
snippet reads fe80::c008:10ff:fee0:0 ff02::1:2 DHCPv6 112 Solicit XID: 0×126569 CID:
00030001c20810e00000. The second line reads fe80::c007:10ff:fee0:0 fe80::c008:10ff:fee
DHCPv6 176 Advertise XID: 0×126569 CID: 00030001c20810e00000. The third line reads
fe80::c008:10ff:fee0:0 ff02::1:2 DHCPv6 126 Request XID: 0×150f8e CID:
00030001c20810e00000. The fourth line reads fe80::c007:10ff:fee0:0 fe80::c008:10ff:fee
DHCPv6 176 Reply XID: 0×150f8e CID: 00030001c20810e00000.]
[The General tabbed page of the Internet Protocol Version 6 (TCP/IPv6) Properties dialog box
is displayed. The tabbed page is divided into two sections. The first section has the Obtain an
IPv6 address automatically and Use the following IPv6 address radio buttons. Below the Use
the following IPv6 address radio button are the IPv6 address, Subnet prefix length, and Default
gateway text boxes. The second section has the Obtain DNS server address automatically and
Use the following DNS server addresses radio buttons. Below the Use the following DNS
server addresses radio button is the Preferred DNS server and the Alternate DNS server text
boxes. Next is the Validate settings upon exit checkbox and the Advanced button. The OK and
Cancel buttons are at the bottom of the dialog box. The instructor points to the Obtain an IPv6
address automatically checkbox. Then the instructor clicks the Advanced button to open a new
dialog box with two tabs – IP Settings and DNS. Then the instructor navigates to the command
prompt window. The first line in the command prompt window reads C:\Windows\system32>.
In this line, the instructor types netsh int ipv6 show int and presses the Enter key. The
command prompt window is populated with a table with five columns and three rows. The five
headers in the table are Idx, Met, MTU, State, and Name. In the first row, the entry under the
Idx header is 1, the entry under the Met header is 50, the entry under the MTU header is
4294967295, the entry under the State header is connected, and the entry under the Name
header is Loopback Pseudo-Interface 1. In the second row, the entry under the Idx header is 5,
the entry under the Met header is 5, the entry under the MTU header is 1500, the entry under
the State header is connected, and the entry under the Name header is Ethernet 2. In the third
row, the entry under the Idx header is 11, the entry under the Met header is 50, the entry under
the MTU header is 1280, the entry under the State header is disconnected, and the entry
under the Name header is isatap.corp.brocadero.com. The last line in the command prompt
window again reads C:\Windows\system32>. In this line, the instructor types netsh int ipv6
show int 5 and presses the Enter key. The command prompt window is populated with the
Interface Ethernet 2 Parameters table. The instructor highlights three rows in the Interface
Ethernet 2 Parameters table. The first row that the instructor highlights is the Router Discovery
entry with the value of enabled.]
[The command prompt window is displayed. In the Interface Ethernet 2 Parameters table, the
second row that the instructor highlights is the Managed Address Configuration entry with the
value of disabled. The third row that the instructor highlights is the Other Stateful Configuration
with the value of disabled. The last line of the command prompt window reads
C:\Windows\system32>. In this line, the instructor types cls and presses the Enter key to clear
the command prompt window of all entries. The first line in the command prompt window reads
C:\Windows\system32>. In this line, the instructor types netsh int ipv6 set int 5
routerdiscovery=disabled and presses the Enter key. The OK entry appears in the command
prompt window and the last line of the command prompt again reads C:\Windows\system 32>.
In this line, the instructor types netsh int ipv6 set int 5 managedaddress=enabled and presses
the Enter key. The command prompt window is populated with the OK entry. The last line in
the command prompt window again reads C:\Windows\system 32>.]
DHCP Service Management Strategic Design
Learning Objective
After completing this topic, you should be able to
◾ identify DHCP management options in Windows Server 2012
1. DHCP interoperability
The thing about DHCP is that, you know, in and of itself, it's probably not that hard to
configure, just know the boundaries of your IP addresses, the options for what to point people
to in terms of other resources. You're doing a good job, but DHCP doesn't exist in a vacuum.
What are some of the other services that we end up having to coordinate with and get
configured correctly or we're going to have headaches. Well, let's start with Active Directory.
When you introduce a DHCP server in your organization and you have Active Directory
available and it's a Windows-based DHCP server, what it does is it checks in to see if it has
permission to be distributing addresses and the reason for this is to prevent rogue DHCP
servers from being dropped in, you know, in your environment and misdirecting clients either
intentionally or unintentionally. Windows DHCP is where this validation takes place, so Active
Directory authorization is important as kind of a check and balance there to further protect your
network. Now, in addition to that, Active Directory relies on DNS as kind of its primary way of
locating each other. DCs locating other DCs, but clients locating resources, and clients locating
other clients, and so forth. So DHCP can also integrate with Active Directory and DNS in the
sense that it can register a client's records into the DNS database if you have dynamic DNS
enabled. Now, some organizations don't use dynamic DNS, some do. What's nice about
dynamic DNS is it automatically populates, you know, the DNS database for easy lookups.
And so, if you need to, DHCP can take that burden off of the clients and you have a more
managed and controlled, more secure way of actually registering those records into DNS
because it's coming strictly from your DHCP servers. Now, DHCP can also work in terms of
security with NAP. In other words, NAP, which is the Network Access Protection feature, is
kind of a health check when wireless clients or new clients come into your network. What you
can do is you can set up a DHCP configuration with DHCP or I should put it this way, you can
configure a NAP configuration with DHCP enforcement and what that simply means is when a
client comes on, they're not going to get a DHCP address unless they meet the health codes, if
you will, the health codes of the network. They have the firewall turned on. They have the
latest virus definitions and such. Now, if they don't actually meet the health code of the
network, well, DHCP can give them a remedial address, if you will, an address for a
remediation network where they can go get patched up, quarantined for a little bit until they're
healthy again, and then they can access the other parts of the network. And the last one here
that's mentioned is IPAM, the IP Address Management feature that comes in Windows Server
2012, which is a comprehensive IP management suite, which allows you to basically view,
manage, and monitor all of your IP services including DHCP, but also DNS, and IP addresses
themselves and so it integrates well, of course, with IPAM as a way for administrators to kind
of get a handle in all of that IP configuration out there.
[DHCP Interoperability. DHCP supports secure authorization within an Active Directory forest.
DHCP supports secure dynamic record updates to the DNS zones. NAP can utilize the DHCP
service as a client network access management mechanism, and IPAM and System Center
2012 Operations Manager DHCP Management Pack enable advanced logging and monitoring
of a DHCP serviced environment.]
So here is a closer look at how DHCP and DNS actually interoperate. Jacob, explain this
transaction for us. You'd like me to do that, wouldn't you? Gang, it's just this simple. Your client
gets an IP address from DHCP, right. That whole process occurs, whether it's a DORA or
SARR, we get our IP address in place. Then DHCP can go through the process of dynamically
updating that client's name and that client's stateful IP address to the DNS server thereby
enabling that process to be relieved from being a client responsibility. That means that your
client boot times and processes are going to be sped up because this is one operation they
don't have to take care of and often what ends up happening. Our DHCP server, our DNS
server, they may be on the same server or they may, at least, be within the same server
subnet and so we're enforcing that the traffic can stay more localized. But what we're seeing
here is that there is a lot of ways that this could break, a lot of places we could turn this off, and
if we disable this feature, we're not supporting it in many of these locales, then we're going to
have an issue. So on the client, first thing, in our TCP/IP properties, if you head to the DNS tab
and you work your way down to the bottom, you could deselect the option to support
dynamically registering your records, so you're saying as a client, I'm wanting to fly under the
radar and not have my name and IP address and that centralized phonebook of DNS. Okay,
that's true, you could do that and if so, you won't be registered by default. If you take a look at
the DHCP server in both the scope and at the server level, depending on the level of
management that we want to enforce here, we can describe the DNS integration properties
and so we can support dynamic updates or we could uncheck that there, so maybe the client is
willing to do it, but the DHCP server says, no, I'm not doing dynamic registration, you're on
your own, client, and if that's the case, if the DHCP server is not set to perform the dynamic
updates, but the client is, well then, the client simply does their own update. It's not like it
breaks the dynamic update from occurring, it simply means the server won't be doing it. We
also have the option to enforce that we want to support always dynamically updating even
clients that have disabled that setting in their advanced TCP/IP properties for DNS, the option
to do dynamic update themselves, so the client is wanting to fly under the radar, but the DHCP
service says, no, everybody gets posted and remember, this is posting both the (a) the
address record and the reverse lookup record, the IP, the name record assuming that, that
zone is found in the DNS server. You also have the ability to define support for Legacy clients
or UNIX clients that don't support this protocol. Though it's worth a flag, essentially, in the
packet to say, please, do register me or don't register me. Then, finally, the last place where
this could break or we have an option to configure is on the DNS server, right. The DNS server
that's receiving this. It's very normal for DNS servers to support dynamic update within the
LAN, within the network infrastructure that we manage behind our firewall, our Active Directory
side network. We can configure that to support secure updates or unsecure updates, both of
which can work in conjunction with DHCP as long as that DHCP server is a part of the domain
or a trusted domain if we're talking about a secure-only dynamic update, because remember
secure only means there is actually going to be Kerberos authentication that's behind the
scenes in this process ensuring the validation of this update is not coming from someone who
is posing as an authoritative server to do a dynamic update for a particular name, but is
validated by the fact that their name and password has gone against the domain controller
and, therefore, can coordinate this process. In this case, the name and password is going to
be associated by default with the computer account of the DHCP server. That is, we're going to
see when it comes to secure dynamic updates, we have some important options that we can
choose to manage this and to make it more flexible to supporting multiple DHCP servers all
registering to a set of DNS servers.
[Heading: DHCP Interoperability – DNS Record Update Process. The four steps in the DNS
record update process are as follows: 1. the DHCP client with a HostName sends the IP lease
request to the DHCP server 2. the DHCP server sends the IP lease acknowledgement back to
the DHCP client 3. the DHCP server performs DNS dynamic update of the host (A) name with
the DNS server, and 4. the DHCP server performs DNS dynamic update of the pointer name
(PTR) with the DNS server The DNS tabbed page of the DHCP client's Advanced TCP/IP
Settings dialog box is displayed. In the DNS tabbed page, the Register this connection's
addresses in DNS and the Use this connection's DNS suffix in DNS registration checkboxes
are highlighted. Then the DNS tabbed page of the DHCP server's Scope [192.168.1.0]
ENTscope01 Properties dialog box is displayed. Then the General tabbed page of the DNS
server's easynomadtravel.com Properties dialog box is displayed. In the General tabbed page,
the Dynamic updates drop-down list box with the default entry of Secure only is highlighted.]
[Heading: DHCP Interoperability – DNS Update Account. The Advanced tabbed page of the
IPv4 Properties dialog box is displayed. The Advanced tabbed page has the Conflict detection
attempts spin box with the entry of 0 and the Audit log file path text box with the entry of
C:\Windows\system32\dhcp. Below the text box is the standard text "Change server
connection bindings." Next to the standard text "Change server connection bindings" is the
Bindings button. Below the standard text "Change server connection bindings" is the standard
text "DNS dynamic update registration credentials." Next to the standard text "DNS dynamic
update registration credentials" is the Credentials button. The DNS dynamic update credentials
dialog box is also displayed. The DNS dynamic update credentials dialog box appears by
clicking the Credentials button in the Advanced tabbed page of the IPv4 Properties dialog box.
The DNS dynamic update credentials dialog box has the User name, Domain, Password, and
Confirm Password text boxes. Then the General tabbed page of the DnsUpdateProxy
Properties dialog box is displayed. The General tabbed page has the Group name (pre-
Windows 2000), Description, and E-mail text boxes. Below the E-mail text box are two sections
titled Group scope and Group type. The Group scope section has three radio buttons –
Domain local, Global, and Universal. The Group type section has two radio buttons – Security
and Distribution. Below the two sections is the Notes text box. The OK, Cancel, Apply, and
Help buttons are at the bottom of the dialog box.]
[Heading: DHCP Interoperability – DHCP and NAP Integration. The example shows a secure
subnet, a compliant subnet, a non-compliant subnet, and a DHCP server. The secure subnet
contains the NPS health policy server, the compliant subnet contains three clients, and the
noncompliant subnet contains the remediation server. The DHCP server is placed between the
three subnets. The Network Access Protection tabbed pages of the IPv4 Properties and the
Scope [192.168.1.0] Ent-Scope01 Properties dialog boxes are displayed. The Network Access
Protection tabbed page of the IPv4 Properties dialog box has the Network Access Protection
Settings section consisting of two buttons – Enable on all scopes and Disable on all scopes.
The Network Access Protection tabbed page of the Scope [192.168.1.0] Ent-Scope01
Properties dialog box has the Network Access Protection Settings section, which includes the
Enable for this scope and the Disable for this scope radio buttons.]
5. DHCP filtering
One of the challenges that we sometimes face with DHCP is ensuring that we are trusting
certain clients to be able to connect and get an IP address and ensuring that there may be
certain addresses that we do not allow this DHCP server to be able to coordinate with and so
we have the ability to manage MAC address filters. And you can think of this almost like with a
wireless device, the ability to configure MAC address filters and say, okay, I only want to trust
these particular clients. That would be very small-scale environment to have a discrete, allow
filter, and assume everything else is denied. The other option, of course, would be a deny filter.
Oh, we had this contractor coming with their laptop, I've got their MAC address, I gave them an
IP address, but I am going to add that particular MAC address to my deny list so that they don't
get a chance to come back in at any later date and get an IP address, instead I've got them
blocked at that point, especially if there was anything, you know, malicious that went on.
Couple of key things to remember about this is that you'll need to Enable these filters. We can
populate them, but separately, we have to actually Enable them and then we'll, again, all
you're putting in there is MAC addresses I allow, MAC addresses I deny. It's a very simple
operation, but right there on the front end of DHCP, very powerful to configure and if you have
multiple DHCP servers, these are exportable and importable so that you're consistent over the
long haul between servers, which you can automate with scheduled jobs if necessary.
[Heading: DHCP Filtering – Using the DHCP Console to Activate the MAC Filters Lists. The
DHCP window is displayed. Running along the top of the window are the File, Action, View,
and Help menus. Below the menu bar is the tool bar, which contains various buttons such as
the Back and Forward buttons. Below the tool bar, the window is divided into two areas. The
area to the left consists of a directory structure with nodes and subnodes. The area to the right
shows information about the node or subnode that is selected in the area to the left. In the area
to the left, the shortcut menu for the Allow subnode is displayed. The shortcut menu consists of
six options – New Filter, Enable, View, Refresh, Export list, and Help. The Enable shortcut
menu option is highlighted.]
So the MAC address helps us determine allows and denies, but what if you have different
types of allows? What I mean, Jacob, is a network consist of all kinds of devices, right? You
have phones, you have desktops, and you have guest machines coming in the network, and
then laptops, since you have different classes of devices, if you will. And sometimes you might
have on your routers, a need to establish different quality of service policies for your phones
versus your desktops. One way to do that is to assign them different IP addresses from
different subnets. Another thing you might need to distinguish between these different devices
is maybe different parameters, different options, maybe they need different gateways, different
lease durations, that sort of thing. Do I have any controls in DHCP that enables me to target
machines and assign them different configuration settings? We certainly do and the options
that we have in 2012 are more available, more pervasive, more discriminating than we've had
in previous versions of DHCP. What I mean is this. In previous versions of DHCP, we could do
things like recognize, oh, you're a Microsoft client? Let me give you a couple of Microsoft
options through the use of a special advanced vendor class option and to define those, you
just go into options and you would essentially say, "I have a specific property that only applies
if you have this particular vendor coming in." You also have user classes that we could call
upon and again, you'd have an advanced option to be able to define a user class, say, laptops
or phones or something like that, so you could define a class ID, you'd have to go to the client
and then specify that particular class ID locally there, but, if you've done that then, okay, you
could get a different lease time or you could get a special DNS server, right, or coordinate
differently, maybe work with pixie. So we have the ability to define these special options for
certain cases, but now, we have what's called a policy, okay. This idea of defining policies in
DHCP is very cool. Policy based assignment of options and IP addresses allows you to, again,
differentiate between laptops, desktops, servers, phones, printers, standard desktops, virtual
environments and we can filter based upon things like your vendor class and your user class
still and, in fact, if you open up DHCP in 2012 and you went looking for user class options,
you're like where did they go? They're buried in policies. You have the ability also to filter
based upon MAC address prefixes. Maybe you know your IP phones use a certain MAC
address prefix. We can wildcard those and reference those. Other client identifiers, which relay
agents you came from, so we have the ability to track these and we can do more with them.
Based upon a policy, we can assign some different options, but unlike previous versions, we
actually could differentiate which scope to assign an IP address from. We didn't have that
ability before. We could change options, but not which IP address range you might receive an
IP from. We can define standard options and we can define those vendor-specific options like
IP phone options or Microsoft proprietary options that DHCP has the ability to fulfill. So this is
about that finessed, tailored, targeted ability to assign options in IP addresses to two clients
that, in terms of their DORA message, look the same initially, but I take in some of the
attributes of those particular clients and then I'm going to give them back IP addresses and
options that make sense for that particular client. It's a very cool feature.
[Heading: DHCP Filtering – Creating MAC Filters in DHCP Scope-Based Policies. The DHCP
window is displayed. Running along the top of the window are the File, Action, View, and Help
menus. Below the menu bar is the tool bar with various buttons such as the Back and Forward
buttons. Below the tool bar, the window is divided into two areas. The area to the left consists
of a directory structure with nodes and subnodes. The area to the right shows information
about the node or subnode that is selected in the area to the left. In the area to the left, the
shortcut menu for the Policies subnode is displayed. The shortcut menu has six options – New
Policy, Deactivate, View, Refresh, Export List, and Help. The New Policy shortcut menu is
highlighted. The DHCP Policy Configuration Wizard is then displayed. The wizard appears
when the New Policy shortcut menu option is selected.]
DHCP Database Management
Learning Objective
After completing this topic, you should be able to
◾ match the tasks to administer the DHCP database and scopes to their correct
descriptions
[Heading: DHCP Database – Active and Backup Location Modification. The content in a DHCP
database that has to backed up consists of the following: All scopes – Standard, super-scopes,
and multicast scopes. Reservations and leases. All DHCP options – Server options, scope
options, reservation options, and class options. DHCP policies – Server-level policies and
scope-level policies. All registry keys and other configuration settings – These settings are
stored in the following registry sub key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services|DHCPServer\Parameters.
The DHCP window is displayed. In the area to the left, the shortcut menu for the server2012-
01.easynomadtravel.com node is displayed. The shortcut menu consists of several options.
The Properties shortcut menu option is highlighted. The Advanced tabbed page of the
server2012-01.easynomadtravel.com Properties dialog box is also displayed. The server2012-
01.easynomadtravel.com Properties dialog box appears when the Properties shortcut menu
option is selected. The Advanced tabbed page has the Database path and the Backup path
text boxes. Next to each text box is the Browse button.]
Now, other reasons why you might come in and look at your database here has to do with
inconsistencies. Jacob, do we have anything here regarding addressing, you know,
troubleshooting inconsistencies in my database. Well, that's one of the things that can happen
because of what we just said, right. There is a summary set of information about your leases
maintaining the registry when we reference that path. If you take a look on the reconciliation
tab, you can see that we can go into our server and say that we want to reconcile our scopes.
And what we're talking about is typically after restoring backup, for example, we may find that
there is database information regarding active leases that is different than the information
about those leases that is recorded in the registry and so one of the great things about the way
that backup and restore works is I can restore the database, which, again, here is our definition
for our scopes, here is our definitions of our policies and everything else, but my leases might
be an hour old if I'm using the most recent backup, right. But those leases are still referenced
in the registry and so, when there's active leases that are in the registry, but are not in the
current database, the reconciliation tool can essentially allow those to be populated for me. It
allows me to kind of resurrect those from the grave to say, okay, you're out of sync here when
it comes to leases, to bring those back into consideration instead of getting error messages or,
maybe, accidentally handing out duplicate IP addresses. This reconciliation tool helps to bring
things to a point of balance the way that they should be. It's a great feature to use, again
typically, after a backup restore process.
[Heading: DHCP Database – Reconcile all IPv4 Scopes to the DHCP Database. DHCP
reconciliation is a tool to sync the database to the summary registry DHCP information, for
example, when an administrator has restored a DHCP database, but the restored DHCP
database does not have the most recent values. The DHCP window is displayed. In the area to
the left, the shortcut menu for the IPv4 subnode is displayed. In the shortcut menu, the
Reconcile All Scopes shortcut menu option is highlighted. Then the Reconcile All Scopes
dialog box and the DHCP pop-up box appear. The Reconcile All Scopes dialog box appears
when the Reconcile All Scopes shortcut menu is selected. The Reconcile All Scopes dialog
box has a blank table with two headers – Scope and IP Address. The Verify and Cancel
buttons are at the bottom of the dialog box. The DHCP pop-up box appears when the Verify
button is clicked. The text in the DHCP pop-up box reads, "The database is consistent."]
You are planning a DHCP deployment within your Windows Server 2012 network infrastructure
to enable centralized
automatic management of IP addresses and other TCP/IP option settings for network clients.
Question
For the initial planning of your DHCP deployment solution, you decide to review the
stages of the DHCP design process.
Match each DHCP design process task to the correct design stage.
Options:
Targets:
1. Design stage 1
2. Design stage 2
3. Design stage 3
Answer
Design stage 1 of the DHCP design process involves determining the DHCP service
method, which includes three address allocation methods: manual, allocated using
BOOTP, and automated DHCP allocation.
Design stage 2 of the DHCP design process involves creating a DHCP design
configuration, including items such as the design options for static IP addressing,
dynamic addressing and DHCP scopes, availability and fault tolerance, routing
requirements, policies, and network access security.
Design stage 3 of the DHCP design process involves mapping the design
configuration to the existing hardware and software or mapping it to new hardware
and software specification, configuration, and capacity.
Correct answer(s):
Target 1 = Option A
Target 2 = Option B
Target 3 = Option C
Question
You need to ensure a high-availability DHCP design will have a centralized backup in
which a secondary DHCP service will act as a failover to primary local DHCP
services at the branch sites. It must be configured so that there is a continuous client
address lease renewal capability, deployed on a per service basis and by individual
scope, as well as be cost effective and simple to implement.
Options:
1. Split-scopes
2. Failover cluster
3. DHCP failover in hot standby mode
4. DHCP failover in load sharing mode
Answer
Option 1: Incorrect. Split-scope DHCP uses two independent DHCP servers that
share responsibility for a scope. The DHCP is split into two parts with a portion of the
scope pool assigned to the primary DHCP server service, while the remaining portion
is allocated to a backup DHCP service. When network devices cannot reach the
primary server, they can request IP configuration from the backup service causing a
small delay.
Option 2: Incorrect. Failover cluster deploys the DHCP service as service application
in an active/passive failover cluster arrangement. In this arrangement, a passive
failover server kicks in as the failover when the primary DHCP service-hosting server
fails. This method is expensive and more complex than other methods and does not
meet requirements.
Option 3: Correct. The DHCP service failover feature in hot standby mode is best
where the secondary backup DHCP service acts as failover to primary local DHCP
services at remote offices and sites. This method uses two DHCP services hosted on
two separate servers running Server 2012 that provide DHCP configuration settings
to the same scope and devices. All information is exchanged and replicated.
Option 4: Incorrect. Although DHCP failover in load sharing mode can provide the
same high available options required, the load sharing mode of operation is best
suited to deployments where both servers in a failover relationship are located at the
same physical site and not multiple sites.
Correct answer(s):
Question
You need to use IPv6 throughout the environment and are looking at the various
ways in which client IPv6 addresses and DHCP options can be configured.
You want the ability for the clients to self-assign a link-local address with the fe80
IPv6 address prefix.
Options:
Answer
Option 2: Incorrect. With manual interface address configuration, the IPv6 address is
configured at the client by manually assigning an IP address and other DHCP
settings including DNS server and DNS
dynamic update.
Correct answer(s):
Question
You need to configure the DHCPv6 server with a static IP address on its connecting
interface.
Code
INSERT THE MISSING CODE
Answer
To configure the DHCPv6 server with a static IP address on the target interface when
the IPv6 subnet is 2001:0db8:0:0/64 and the host address is 0:0:0:1000, you type
2001:db8::1000 into the IPv6 address field.
Correct answer(s):
1. 2001:db8::1000
Question
You are designing DHCP and DNS interoperability and have no choice but to host
both the DHCP service and domain controllers on the same computer.
Then you need to configure the DHCP service to use a dedicated user account.
Options:
1. Credentials
2. DNS
3. General
Answer
Option 1: The Credentials option will allow you to type the credentials in for a
precreated user account that the DHCP server will supply when registering names
using DNS secure dynamic updates.
Option 2: The DNS tab is to configure DNS settings such as interoperability and
name protection options. You cannot configure the dynamic update user account
credentials.
Option 3: The General tab is for configuring IP address, gateway, and DNS server
parameters. You cannot use this area to configure the dynamic update user account
credentials.
Correct answer(s):
1. Credentials
Question
You need to migrate the DHCP server role from Windows 2008 to Windows Server
2012 R2. You have logged into the windows 2008 Server, started PowerShell with
elevated rights, created the TEMP folder and now you want to export the DHCP
server configuration, all scope data, and lease data to an XML file for DHCP server
dhcp.easynomadtravel.com."
Complete the code to export all the DHCP server information including scopes
present on the "dhcp.easynomadtravel.com" server to "exports\dhcpexp.xml" file
using the Export-DhcpServer dhcp.easynomadtravel.com cmdlet.
Code
PS > Export-DhcpServer –ComputerName dhcp.easynomadtravel.com
Answer
Correct answer(s):