Sunteți pe pagina 1din 1

DHCP – Cheat Sheet – Part-2 v1

PAD Option (0)

0
DHCP Relay Agent (82) 82 1 Subnet Mask Option (1)

DHCP
Lease Time (51)
51 3 Router Option (3)
Options
www.atechacademy.com

Domain Name Option (15)


15 6 DNS Server Option (6)

12
Host Name Option (12)

DHCP State Transitions


IP Address Assignment Methods
DHCP Server assigns IP Addresses based on certain client
Root Manual parameter (e.g. MAC Address)

DHCP Server permanently assigns IP address to clients


q Initializing Automatic from the pool defined by the admin. Same client gets
same IP even after disconnect/connect
DHCPDISCOVER
DHCP Server assigns IP address to clients from the pool
DHCPOFFER

Dynamic defined by the admin till the lease time defined by admin.
w Selecting Same client gets different IP after disconnect/connect
www.atechacademy.com
DHCPREQUEST

e Requesting
DHCPACK DHCP Frame Format
1 8 16 24 32
DHCPREQUEST DHCPRELEASE
r Bound OpCode HW Type HW Add Length Hops
DHCPNACK

Transaction ID
Seconds Flags
CIAddr (Client IP Address)
YIAddr (Your IP Address) ≈
DHCPACK DHCPACK
SIAddr (Server IP Address)
t Renewing yRe-binding ≈
GIAddr (GW IP Address)
CHAddr (Client HW Address) - 16B
DHCPREQUEST
SName (Server Name) - 64B ≈
Boot Filename- 128B
www.atechacademy.com Options – 214B max ≈
Variable www.atechacademy.com
Length

L2 IP TCP/UDP L7
Header Header Header Header L7 Data

Visit our ATech website & Social Media Channels for more FREE resources:
ATech Academy ATech Academy ATech Academy
✓ Free Cheatsheets, Interview Questions & Answers, Quiz,…
✓ Free Labs (Packet Tracer, GNS3), Free Video Lectures (including CCNA)
Your Feedback, Comments are always Welcomed: info@atechacademy.com
www.atechacademy.com (Author: Waqas Karim)

© www.aurumme.com/Atech

S-ar putea să vă placă și