Professional Documents
Culture Documents
Allocating IP Addressing by Using Dynamic Host Configuration Protocol (DHCP)
Allocating IP Addressing by Using Dynamic Host Configuration Protocol (DHCP)
Allocating IP Addressing by Using Dynamic Host Configuration Protocol (DHCP)
IP Address
The Role of DHCP in the Network Infrastructure
Adding and Authorizing a DHCP Server Service
Configuring a DHCP Scope
Configuring a DHCP Reservation
Configuring DHCP Options
IP Address
Public IP address
Required by devices and hosts that
connect directly to the Internet
Must be unique
Routable on the Internet
Private IP address
Non-routable on the Internet
Private IP address range
Can be locally assigned by
Class A: 10.X.X.X
organization
Class B: 172.16.X.X – 172.31.X.X
Must be translated to access the
Class C: 192.168.0.X – 192.168.255.X Internet
The Role of DHCP in the Network Infrastructure
DHCP Client2:
Non-DHCP Client: IP configuration
Static IP from DHCP server
configuration
Lease Renewal
Lease Generation
DHCP Server
DHCP
Server2
DHCP DHCP
Server1 Client
DHCPDISCOVER message
Is used to request an IP address
Sent when the client boots up on the network
Uses the following standard address information
Address of client: 0.0.0.0
Broadcast destination address: 255.255.255.255
Contains the following information
Media Access Control (MAC) address of the requesting
NIC
NetBIOS name of the client
How the DHCP Lease Generation Process Works
DHCPOFFER message
Is a response to a DHCPDISCOVER message
Contains the following information
IP address of the DHCP server which is offering the IP
address
MAC address of the DHCP server
The offered IP address
The subnet mask associated with the offered IP address
The lease duration/period
MAC address of the client
How the DHCP Lease Generation Process Works
DHCPREQUEST message
Indicates that the client is requesting the particular IP
address for lease
All other DHCP servers who offered addresses can
withdraw those addresses
How the DHCP Lease Generation Process Works
DHCP
Server2
DHCP Client
DHCP
Server1
87.5%
100%
50% ofof
oflease
lease
lease
duration has
expired
1If theDHCP
client Client
client sends
renewaait’s
fails tosends DHCPREQUEST
DHCPREQUEST
its lease,
lease, after
after 50% packet
packet
87.5%of of
thethe
lease
lease duration
has
expired, then then
has expired, the DHCP leaselease
the DHCP generation
renewalprocess
processstarts over again
will begin again
2afteraDHCP
with DHCPServer1
87.5% ofclient sends a DHCPACK
broadcasting
the lease duration ahas packet
DHCPDISCOVER
expired
How the DHCP Lease Renewal Process Works
DHCPRELEASE message
DHCP client sends to DHCP server before its specified
lease duration limit is reached
Requesting the DHCP server to allow it to continue using
the same IP address
DHCPDECLINE message
Sent by the DHCP client to the DHCP server
Indicates that the DHCP client is refusing the IP
addresses offered by the particular DHCP server
How to Add a DHCP Server Service
If DHCP
DHCPServer1
Server1finds its IP
checks address
with the
on the list,
domain the service
controller starts
to obtain andof
a list
Domain supports DHCP
authorized DHCP clients
servers
Controller
DHCP Server1
Authorized
Active Services DHCP
Directory
requests
DHCP Server2
DHCP Client Unauthorized
Does not service
IfDHCP
DHCP
DHCPclient
Server2
Server2 checks
does
receives not
IP with
findthe
addressits IP DHCP requests
DHCP
domain
address onclient receives
controller IP address
to obtain
the list, the service a does
list ofnot
from
from authorized
authorized DHCP
DHCP Server1
Server1
authorized
start and supportDHCP servers
DHCP clients
DHCP authorization is the process of registering the DHCP Server service in the Active
Directory domain to support DHCP clients
How a DHCP Server Service Is Authorized
DHCPINFORM message
DHCP server
Used when the DHCP service queries Active Directory to
verify that the DHCP server is authorized to offer IP
addresses to DHCP clients
DHCP client
When the DHCP client has an IP address, the message
is used to obtain DHCP options
Lesson: Configuring a DHCP Scope
DHCP Server
LAN A LAN B
Scope A Scope B
Scope Properties
Network ID Lease duration Scope name
Subnet mask Router Exclusion range
Network IP
address range
How to Configure a DHCP Scope
Subnet A Subnet B
DHCP Server
Workstation 2
Unicast
Broadcast Broadcast
Subnet A Subnet B
Routers
The boot threshold is the length of time in seconds that the DHCP Relay
Agent will wait for a local DHCP server to respond to client requests before
forwarding the request
Local DHCP
Server
DHCP Server 3