Professional Documents
Culture Documents
05 DHCP
05 DHCP
05 DHCP
Lease Renewal
Lease
Generation DHCP Server
DHCP
Server2
DHCP
Server1 DHCP
Client
1 DHCP
DHCPclient
clientbroadcasts
broadcastsaaDHCPDISCOVER
DHCPDISCOVERpacket
packet
DHCPservers
2 DHCP
2 serversbroadcast
broadcastaaDHCPOFFER
DHCPOFFER packet
packet
3 DHCP
DHCPclient
clientbroadcasts
broadcastsaaDHCPREQUEST
DHCPREQUESTpacket
packet
4 DHCP
DHCPServer1
Server1broadcasts
broadcastsaaDHCPACK
DHCPACKpacket
packet
How DHCP Lease Renewal Works
DHCP lease-renewal process
DHCP Renewal occurs when 50 percent of lease duration has expired.
DHCP
DHCP
Server2
Server2
DHCP
Client
DHCP Client
DHCP
DHCP
Server1
Server1
50%
50%of
87.5%
100% oflease
of
of lease
lease
lease
duration
duration has
durationhas has
expired
expired
expired
expired
Unicast
Broadcast Broadcast
Subnet A Subnet B
Routers
(Non–RFC
1542
Compliant)
Client Client Client Client
DHCP Server Authorization
• An unauthorized DHCP server can cause problems in a
network, and incorrectly configured clients can cause
numerous issues.
• when you install a DHCP role in a domain, an
Enterprise Administrator must authorize it because
several domains can exist in the same IP subnet.
• it is not recommended, you can use a standalone
server as a DHCP server if it is not on a subnet with any
authorized DHCP servers. When a standalone DHCP
server detects an authorized server on the same
subnet, it automatically stops leasing IP addresses to
DHCP clients.
• It also is important to note that other network devices may
run DHCP servers. These devices do not comply with the
notion of being authorized, and therefore might cause
issues in a networked environment.
DHCP Server Authorization
If DHCP
DHCP Server1
Server1 finds with
checks its IPthe
address on
domain
controller toservice
the list, the obtain starts
a list of
andauthorized
supports
DHCP
DHCP servers
clients
Domain DHCP Server1
Controller
Authorized
Services DHCP
AD DS requests
DHCP Server2
DHCP Client Unauthorized
Does not service
DHCP requests
DHCP
If DHCPServer2
Server2checks
does with the domain
not find its IP
DHCP client receives IP address
address ontothe
controller list, the
obtain a listservice does notDHCP
of authorized
from authorized DHCP Server1
start and support DHCP clients
servers
Demonstration: Adding the DHCP Server Role
Scope Scope
A B
Scope Properties
• Network ID • Lease duration • Scope name
• Subnet mask • Network IP • Exclusion range
address range
What Are DHCP Scopes?
A DHCP scope is a range of IP addresses that are
available to be leased
Scope Scope
A B
Scope Properties
• Network ID • Lease duration • Scope name
• Subnet mask • Network IP • Exclusion range
address range
• you can create scopes by using the New Scope Wizard,
or by using the Netsh command-line tool
What Is a DHCP Reservation?
A DHCP reservation occurs when an IP address within a
scope is set aside for use with a specific DHCP client.
DHCP File and Print
Server Server
Subnet A Subnet B
Workstation 1 Workstation 2
IP Address1: Leased to Workstation 1
IP Address2: Leased to Workstation 2
IP Address3: Reserved for File and Print Server
• Example, if you intend to have network devices—such as network
printers—it often is desirable to provide them with a fixed address.
This ensures that IP addresses in a predefined scope are not
assigned inadvertently to another device.
• To configure a reservation, you must know the media access
control (MAC)
What Are DHCP Options?
• Server
• Scope
• Class
• Reserved client
Demonstration: Creating and Configuring a
DHCP Scope
In this demonstration, you will see how to configure
scope and scope options in DHCP
Lesson 3: Managing a DHCP Database
DHCP Offline
Server Storage
DHCP Restore
Back up Restore
DHCP
Back up
Inthe
If theoriginal
event that
database
the server
is unable
hardware
to load,
fails,the
theDHCP
administrator
service
The administrator
DHCP service moves
automatically
a copy backs
of theup backed
the DHCP
up
automatically
can restore therestores
DHCP database
from the only
backupfromdirectory
an offline
on storage
the
database
DHCP to the to
database backup
an directory
offline on the
storage local drive
location
local drive
location
Reconciling a DHCP Database
DHCP Detailed IP
Database address lease Compares and
information reconciles
inconsistencies
Registry Summary IP in the DHCP
address lease database
DHCP information
Server
Example
After
Registry DHCP database
reconciliation
Client has IP address Lease entry is
IP address 192.168.1.34 created in DHCP
192.168.1.34 is available database
Moving a DHCP Database
DHCP
Database
Backup
Media
DHCP
Database
Old DHCP
Server
New DHCP
Server
Lesson 4: Securing and Monitoring DHCP
Unauthorized
DHCP server
Account Permissions
DHCP Administrators Can view and modify any data
group about the DHCP server
DHCP Users group Has read-only DHCP console
access to the server
What Are DHCP Statistics?
DHCP statistics are collected at either the server level
or the scope level
Server Statistics window
DHCP
Server
What Is DHCP Audit Logging?
Discussion: Common DHCP Issues
• Address conflicts
• Failure to obtain a DHCP address
• Address obtained from an incorrect scope
• DHCP database suffered data corruption or loss
• DHCP server has exhausted its IP address pool
10 minutes
Lab: Implementing DHCP
Logon Information
Virtual machines 20410B-LON-DC1
20410B-LON-SVR1
20410B-LON-RTR
20410B-LON-CL1
20410B-LON-CL2
User name: Adatum\Administrator
Password: Pa$$w0rd
Estimated Time: 45 minutes
Lab Scenario
• Best Practices
• Review Questions
• Tools