SlideShare a Scribd company logo
Dynamic Host Configuration Protocol (DHCP)   Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
Dynamic Assignment of IP addresses Dynamic assignment of IP addresses is desirable for several reasons: IP addresses are assigned on-demand Avoid manual IP configuration Support mobility of laptops Three Protocols: RARP  (until 1985, no longer used) BOOTP  (1985-1993) DHCP  (since 1993) Only DHCP is widely used today.
Solutions for dynamic assignment of IP addresses Reverse Address Resolution Protocol (RARP) RARP is no longer used Works similar to ARP Broadcast a request for the IP address associated with a given MAC address RARP server  responds with an IP address Only assigns IP address (not the default router and subnetmask)
BOOTP BOOTstrap Protocol (BOOTP)  Host can configure its IP parameters at boot time.  3 services. IP address assignment.  Detection of the IP address for a serving machine.  The name of a file to be loaded and executed by the client machine (boot file name) Not only assigns 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
BOOTP Interaction BOOTP can be used for downloading memory image for diskless workstations Assignment of IP addresses to hosts is static (a) (b) (c)
DHCP Dynamic Host Configuration Protocol (DHCP)  Designed in 1993 An extension of BOOTP (Many similarities to BOOTP) Same port numbers as BOOTP  Extensions: Supports temporary allocation (“leases”) of IP addresses DHCP client can acquire all IP configuration parameters  DHCP is the preferred mechanism for dynamic assignment of IP addresses DHCP can interoperate with BOOTP clients.
DHCP Interaction (simplified)
BOOTP/DHCP Message Format (There are >100 different options)
BOOTP/DHCP OpCode :  1 (Request), 2(Reply) Note: DHCP message type is sent in an option Hardware Type :  1 (for Ethernet) Hardware address length :  6 (for Ethernet) Hop count :  set to 0 by client Transaction ID :  Integer (used to match reply to response) Seconds:   number of seconds since the client started to boot Client IP address, Your IP address, server IP address, Gateway IP address, client hardware address,  server host name, boot file name:   client fills in the information that it has, leaves rest blank
DHCP Message Type Message type is sent as an option.  DHCPRELEASE  7 DHCPINFORM  8 DHCPNAK  6 DHCPACK  5 DHCPDECLINE  4 DHCPREQUEST  3 DHCPOFFER  2 DHCPDISCOVER  1 Message Type Value
Other options (selection) Other DHCP information that is sent as an option: Subnet Mask, Name Server, Hostname, Domain Name, Forward On/Off, Default IP TTL, Broadcast Address, Static Route, Ethernet Encapsulation, X Window Manager, X Window Font, DHCP Msg Type, DHCP Renewal Time, DHCP Rebinding, Time SMTP-Server, SMTP-Server, Client FQDN, Printer Name, …
DHCP Operation DCHP DISCOVER DCHP OFFER
DHCP Operation DCHP DISCOVER At this time, the DHCP client can start to use the IP address Renewing a Lease (sent when 50% of lease has expired) If DHCP server sends DHCPNACK, then address is released.
DHCP Operation DCHP RELEASE At this time, the DHCP client has released the IP address

More Related Content

PPTX
PPT
Dhcp presentation 01
PPT
DHCP Protocol
PPTX
PPTX
Configuring Dhcp Server, Scopes & Superscopes
PPTX
DHCP (Dynamic Host Configuration Protocol)
PPTX
Dhcp presentation 01
DHCP Protocol
Configuring Dhcp Server, Scopes & Superscopes
DHCP (Dynamic Host Configuration Protocol)

What's hot (20)

PPTX
Dhcp ppt
PPTX
Bootstrapping with bootp and dhcp
PPTX
PPTX
PPT
dynamic host configuration protocol
PDF
DHCP in windows server 2012
PPT
Wintel ppt for dhcp
PPTX
Dhcp server
PPT
PPTX
Tutorial on dhcp
PPT
Dhcp presentation
PPSX
Lesson 6: Dynamic Host Configuration Protocol A
PPT
DHCP Server & Client Presentation
PPT
PPT
PPS
Linux05 DHCP Server
PPTX
Dhcp windows server 2012
PPT
Dynamic Host Configuration Protocol
PDF
DHCP (dynamic host configuration protocol)
Dhcp ppt
Bootstrapping with bootp and dhcp
dynamic host configuration protocol
DHCP in windows server 2012
Wintel ppt for dhcp
Dhcp server
Tutorial on dhcp
Dhcp presentation
Lesson 6: Dynamic Host Configuration Protocol A
DHCP Server & Client Presentation
Linux05 DHCP Server
Dhcp windows server 2012
Dynamic Host Configuration Protocol
DHCP (dynamic host configuration protocol)
Ad

Viewers also liked (8)

PPT
PPT
Chap 09 icmp
PPT
Chapter 19: Logical Addressing
PPTX
Network address translation
PPTX
Address mapping
PPTX
Internet protocol (ip) ppt
Chap 09 icmp
Chapter 19: Logical Addressing
Network address translation
Address mapping
Internet protocol (ip) ppt
Ad

Similar to Dhcp (20)

PPT
module18-dhcp.ppt
PPT
module18-dhcp server concept dan definition.ppt
PPT
DHCP is stand for the Dynamic Host Configuration Protocol
PPT
zuiqui_DHC.ppt
PPT
BOOTP and DHCP.ppt
PPTX
DHCP basics
PDF
Dhcp with cisco
PPT
13 - DHCP Service.ppt
DOCX
DHCP Server Guaidlines using CISCO PACKET TRACER
PDF
DYNAMIC HOST CONFIGURATION PROTOCOL
PDF
14047721
PPTX
IP Layer.pptx
PPT
PPTX
dhcpppt-130331044148-phpapp02.pptx
PDF
Guide to TCP IP 4th Edition Carrell Solutions Manual
PDF
Guide to TCP IP 4th Edition Carrell Solutions Manual
PDF
RARP, BOOTP, DHCP and PXE Protocols
PDF
Customized Dynamic Host Configuration Protocol
PPT
Bootp and dhcp
module18-dhcp.ppt
module18-dhcp server concept dan definition.ppt
DHCP is stand for the Dynamic Host Configuration Protocol
zuiqui_DHC.ppt
BOOTP and DHCP.ppt
DHCP basics
Dhcp with cisco
13 - DHCP Service.ppt
DHCP Server Guaidlines using CISCO PACKET TRACER
DYNAMIC HOST CONFIGURATION PROTOCOL
14047721
IP Layer.pptx
dhcpppt-130331044148-phpapp02.pptx
Guide to TCP IP 4th Edition Carrell Solutions Manual
Guide to TCP IP 4th Edition Carrell Solutions Manual
RARP, BOOTP, DHCP and PXE Protocols
Customized Dynamic Host Configuration Protocol
Bootp and dhcp

More from Santosh Kulkarni (11)

DOCX
Interview questions n answers
DOCX
Exchange server 2013
DOCX
Definitions
PDF
Hardware1
PDF
Personal computer-hardware
PDF
Basic concepts in_computer_hardware_and_software
PDF
Voip user and_configuration_guide
PPT
Introduction to routers
PPT
Hardware & softwares
PPT
Internet protocols
PPT
Assembling the computer
Interview questions n answers
Exchange server 2013
Definitions
Hardware1
Personal computer-hardware
Basic concepts in_computer_hardware_and_software
Voip user and_configuration_guide
Introduction to routers
Hardware & softwares
Internet protocols
Assembling the computer

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
Cloud computing and distributed systems.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
cuic standard and advanced reporting.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
NewMind AI Weekly Chronicles - August'25 Week I
Advanced methodologies resolving dimensionality complications for autism neur...
Understanding_Digital_Forensics_Presentation.pptx
Machine learning based COVID-19 study performance prediction
Digital-Transformation-Roadmap-for-Companies.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Modernizing your data center with Dell and AMD
Cloud computing and distributed systems.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
“AI and Expert System Decision Support & Business Intelligence Systems”
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
Approach and Philosophy of On baking technology
Big Data Technologies - Introduction.pptx
NewMind AI Monthly Chronicles - July 2025
cuic standard and advanced reporting.pdf
The AUB Centre for AI in Media Proposal.docx

Dhcp

  • 1. Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
  • 2. Dynamic Assignment of IP addresses Dynamic assignment of IP addresses is desirable for several reasons: IP addresses are assigned on-demand Avoid manual IP configuration Support mobility of laptops Three Protocols: RARP (until 1985, no longer used) BOOTP (1985-1993) DHCP (since 1993) Only DHCP is widely used today.
  • 3. Solutions for dynamic assignment of IP addresses Reverse Address Resolution Protocol (RARP) RARP is no longer used Works similar to ARP Broadcast a request for the IP address associated with a given MAC address RARP server responds with an IP address Only assigns IP address (not the default router and subnetmask)
  • 4. BOOTP BOOTstrap Protocol (BOOTP) Host can configure its IP parameters at boot time. 3 services. IP address assignment. Detection of the IP address for a serving machine. The name of a file to be loaded and executed by the client machine (boot file name) Not only assigns 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. BOOTP Interaction BOOTP can be used for downloading memory image for diskless workstations Assignment of IP addresses to hosts is static (a) (b) (c)
  • 6. DHCP Dynamic Host Configuration Protocol (DHCP) Designed in 1993 An extension of BOOTP (Many similarities to BOOTP) Same port numbers as BOOTP Extensions: Supports temporary allocation (“leases”) of IP addresses DHCP client can acquire all IP configuration parameters DHCP is the preferred mechanism for dynamic assignment of IP addresses DHCP can interoperate with BOOTP clients.
  • 8. BOOTP/DHCP Message Format (There are >100 different options)
  • 9. BOOTP/DHCP OpCode : 1 (Request), 2(Reply) Note: DHCP message type is sent in an option Hardware Type : 1 (for Ethernet) Hardware address length : 6 (for Ethernet) Hop count : set to 0 by client Transaction ID : Integer (used to match reply to response) Seconds: number of seconds since the client started to boot Client IP address, Your IP address, server IP address, Gateway IP address, client hardware address, server host name, boot file name: client fills in the information that it has, leaves rest blank
  • 10. DHCP Message Type Message type is sent as an option. DHCPRELEASE 7 DHCPINFORM 8 DHCPNAK 6 DHCPACK 5 DHCPDECLINE 4 DHCPREQUEST 3 DHCPOFFER 2 DHCPDISCOVER 1 Message Type Value
  • 11. Other options (selection) Other DHCP information that is sent as an option: Subnet Mask, Name Server, Hostname, Domain Name, Forward On/Off, Default IP TTL, Broadcast Address, Static Route, Ethernet Encapsulation, X Window Manager, X Window Font, DHCP Msg Type, DHCP Renewal Time, DHCP Rebinding, Time SMTP-Server, SMTP-Server, Client FQDN, Printer Name, …
  • 12. DHCP Operation DCHP DISCOVER DCHP OFFER
  • 13. DHCP Operation DCHP DISCOVER At this time, the DHCP client can start to use the IP address Renewing a Lease (sent when 50% of lease has expired) If DHCP server sends DHCPNACK, then address is released.
  • 14. DHCP Operation DCHP RELEASE At this time, the DHCP client has released the IP address