Professional Documents
Culture Documents
3
Solutions for dynamic assignment of IP addresses
4
BOOTP
Not only assign IP address, but also default router, network mask, etc.
Sent as UDP messages (UDP Port 67 (server) and 68 (host))
Use limited broadcast address (255.255.255.255):
These addresses are never forwarded
5
DHCP
(b)
(a) Argon
Argon 128.143.137.144
00:a0:24:71:e4:44 BOOTP Server 00:a0:24:71:e4:44 DHCP Server
BOOTP Response:
IP address: 128.143.137.144
BOOTP Request
00:a0:24:71:e4:44 Server IP address: 128.143.137.100
Sent to 255.255.255.255 Boot file name: filename
7
DHCP Interaction (simplified)
Argon
00:a0:24:71:e4:44 DHCP Server
DHCP Request
00:a0:24:71:e4:44
Sent to 255.255.255.255
Argon
128.143.137.144
00:a0:24:71:e4:44 DHCP Server
DHCP Response:
IP address: 128.143.137.144
Default gateway: 128.143.137.1
Netmask: 255.255.0.0
8
BOOTP/DHCP Message Format
Hardware Address
OpCode Hardware Type Hop Count
Length
Unused (in BOOTP)
Number of Seconds
Flags (in DHCP)
Transaction ID
Client IP address
Your IP address
Server IP address
Gateway IP address
Options
10
Lesson: Adding and Authorizing the DHCP Server
Service
Advantages Disadvantages
Serves as a DHCP server failover Forces assignment of addresses
mechanism for small networks typically not used
Automatically assigns an IP address Conceals possible connectivity
in a specific range problems
Does not work outside 169.254.x.x
subnet
Is not routable
How DHCP Allocates IP Addresses
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
DHCP
Server2
DHCP Client
DHCP
Server1
50%
50% of
100%
87.5% oflease
ofof lease
lease
lease
duration
duration hashas
expired
expired
1 client
If the DHCPfails
Client
client sendsit’s
sends
to renew aa DHCPREQUEST
its DHCPREQUEST
lease,
lease, after
after 50%
87.5% packet
ofpacket
of
thethe
lease
leaseduration
has
has expired,
expired, thenthen
the DHCP
the DHCP
leaselease
generation
renewalprocess
processstarts
will begin
over again
again
2 a87.5%
after
with DHCPofServer1
client sends
the lease a DHCPACK
broadcasting
duration ahas packet
DHCPDISCOVER
expired
How a DHCP Server Service Is Authorized
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
DHCP Server2
If DHCP checks
Server2 does notwith
findthe
its IP DHCP requests
DHCP client receives
domainoncontroller
address IP address
to obtain
the list, the servicea does
list ofnot
from
start authorized
authorized
and support DHCP
DHCP Server1
servers
DHCP clients
DHCP authorization is the process of registering the DHCP Server service in the Active
Directory domain to support DHCP clients
What Are DHCP Scopes?
DHCP Server
LAN A LAN B
Scope A Scope B
Scope Properties
Network ID Lease duration Scope name
Subnet mask Network IP address Exclusion range
range
What Is Network Monitor?
Network Monitor:
2 3 Captures a sample of
network traffic
Uses filters to select
specific packets
Decodes the packets
1
Compiles network
statistics
4
What Is a DHCP Reservation?
Subnet A Subnet B
DHCP Server
Workstation 2
DHCP Client
DHCP Client IP Configuration Data
Client’s IP address
Client’s subnet mask
DHCP options
DHCP Server
How DHCP-Server, Scope, and Reserved-Client
Options Are Applied
Scope A Scope B
Router
Windows XP Windows XP
Router Router
Scope A Scope B
Windows XP Windows XP
Unicast
Broadcast Broadcast
Subnet A Subnet B
Routers
(Non–RFC 1542
Compliant)
The hop count threshold is the number of routers through which the packet
can be transmitted before it is discarded
DHCP Server
How a DHCP Relay Agent Uses Boot Threshold
The boot threshold is the time the DHCP relay agent will wait for a DHCP
server response before forwarding the request
Local DHCP
Server
DHCP Server 3