Configuring and Troubleshooting DHCP
Configuring and Troubleshooting DHCP
Troubleshooting DHCP
Outline
1. Overview of the DHCP Server Role
Lease Renewal
Lease Generation
DHCP Server
DHCP DHCP
Server1 Client
2 DHCP
DHCP servers
servers broadcast
broadcast a
a DHCPOFFER
DHCPOFFER packet
packet
2
DIfHDCHPCSPeSrveerrv1erc1heficnkdss witisthIPthe
addodmraeisnscoonntrhoellleisrtt,othoebtsaeirnviacelist
sotfaarutsthaonrdizseudpDpHorCtPs
sDeHrCvePrsclients
Domain
Controller DHCP Server1
Authorized
Active Services DHCP
Directory
requests
DHCP Server2
DHCP Client
Unauthorized
Does not service
DIDfHDCHPCScPleeiSrvneetrrvr2e DHCP requests
cc2ehiedvco
tHto
, CthPoebStseaerrinvvea i rc1es ildtooefs
ke
e uot s
s
shsoI w
trairzP noi
teadn t
h
aDdH f
dsCd t
i
n h d e i t
s
uPprpsoeertvesDrsHsCP IPclients
DHCP Server Authentication
Configuring DHCP
Scopes
• What Are DHCP Scopes?
DHCP Server
LAN A LAN B
Scope A Scope B
Scope Properties
LAN A LAN B
Scope A and Scope B
DHCP Server
LAN A LAN B
Scope A Scope B
What Is a DHCP
Reservation?
A reservation is a specific IP address, within a scope, that
is reserved permanently for lease to a specific DHCP client
Subnet A Subnet B
DHCP Server
Workstation 2
DHCP
Server1
192.168.0.1
DHCP
Clients
DHCP
DHCP Server1 has 80% of addresses as follows:
Server2
192.168.1.1 • Scope range: 192.168.0.2-192.168.0.254
• Excluded addresses: 192.168.0.200-192.168.0.254
• Server • Class
DHCP options
can be applied at
various levels
• Scope • Reserved client
Configuring DHCP options
DHCP class-level
Description
option
Configured by vendors such as
Vendor-class
Microsoft, HP, and Sun
• Adding clients
• The DHCP database contains • Windows Server 2003 • The DHCP database
DHCP configuration data stores the DHCP files include:
such as: database in the • Dhcp.mdb
• Scopes %Systemroot%\
System32\Dhcp folder • Dhcp.tmp
• Address leases • J50.log and J50*.log
• Reservations • Res*.log
• J50.chk
Managing a DHCP Database
Offline
DHCP Server
Storage
Restore
Back up
Restore
k up
Bac
DHCP
Managing a DHCP Database
DHCP Detailed IP
Database address lease
information Compares and reconciles
inconsistencies in the
Summary IP DHCP Database
Registry address lease
information
Managing a DHCP Database
DHCP
Database
Backup
Media
DHCP
Database
Old DHCP
Server
Monitoring and Troubleshooting DHCP
Why monitor DHCP? DHCP data includes: Common DHCP Issues:
Account Permissions
Can view and modify any data about the
DHCP Administrators group
DHCP server
Has read-only DHCP console access to
DHCP Users group
the server