SlideShare a Scribd company logo
2
Most read
5
Most read
8
Most read
Dynamic Host
Configuration Protocol
DHCP
 A host need an IP Address and some other piece of information (subnet mask,
gateway address, etc…) to send the packets.
 Normally this information’s are provided by the system administrator and
configure in manually.
 But for a large network it is complex and error prone. So automatic
configuration method is used.
 Automatic configuration is provided by DHCP.
 It needs a DHCP server to provide the information dynamically.
 DHCP Server – It is a central repository for host configuration details.
DHCP
Steps,
 A newly booted or attached host sends a “DHCP DISCOVER”
message to special IP Address 255.255.255.255 (Broadcast Address).
 DHCP relay receives this request and unicast that request to the
DHCP server.
 DHCP relay – It contains the IP address of DHCP Server.
 DHCP server sends back the response to the requesting client.
DHCP
 DHCP dynamically assigns IP address to hosts. But host cannot keep
addresses indefinitely.
 Thus DHCP allows addresses to be “leased” for some period of time.
Once the lease expires, client needs to renew the IP Address.
Advantages,
 Scaling of network management
 Improves manageability of a network.
Unicast
Broadcast
Host
DHCP
Relay Other Networks DHCP
Server
DHCP
DHCP
 Operation Code (8 bit) – specifies whether the message is request
(1) / response (2).
 Hardware Type (8 bit)–Specifies the type of hardware used for local
network (value 1 – Ethernet).
 Hardware Address Length (8 bit)–Specifies the length of the
hardware address.
DHCP
 Hops (8 bit) – Used to control the DHCP request message by DHCP
relay.
 Transaction Identifier (32 bit) – XID - A 32-bit identification field
generated by the client, to allow it to match up the request with
replies received from DHCP servers.
DHCP
 Seconds (16 bit) -number of seconds elapsed since a client began an
attempt to acquire or renew a lease.
 Flag (16 bit) –B bit is set to 1 to represent the broadcast message.
Other bits are set to Zero.
 Client IP Address - The client puts its own current IP address in this
field if and only if it has a valid IP address while in the renewing state.
DHCP
 Your IP Address - The IP address that the server is assigning to the
client.
 Server IP Address –Address of the DHCP server.
 CHAddr –Client Hardware Address - The hardware address of the
client, which is used for identification and communication.
 SName –Server Name – Name of the DHCP server, provided by the
server during the response.

More Related Content

PPTX
PDF
MPLS Traffic Engineering
PPTX
A very good introduction to IPv6
PPTX
CCNA PPT
PPTX
Presentation on arp protocol
PPT
PPTX
Dynamic routing protocols (CCNA)
PDF
MPLS Traffic Engineering
MPLS Traffic Engineering
A very good introduction to IPv6
CCNA PPT
Presentation on arp protocol
Dynamic routing protocols (CCNA)
MPLS Traffic Engineering

What's hot (20)

PDF
How BGP Works
PPTX
Bgp protocol
PDF
Ipv4 & ipv6
PPTX
ccna networking ppt
PPTX
Open shortest path first (ospf)
PPTX
Network address translation
PDF
11 palo alto user-id concepts
PPTX
CCNA ppt Day 1
PPT
Static Routing
PPTX
IPV6 ADDRESS
PPTX
OSPF Basics
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 6
PPTX
HSRP ccna
PPT
PPT
PDF
MikroTik & RouterOS
PPT
Vlan
PPT
Multicast Routing Protocols
PPTX
OSPF Fundamental
PPT
How BGP Works
Bgp protocol
Ipv4 & ipv6
ccna networking ppt
Open shortest path first (ospf)
Network address translation
11 palo alto user-id concepts
CCNA ppt Day 1
Static Routing
IPV6 ADDRESS
OSPF Basics
CCNA 2 Routing and Switching v5.0 Chapter 6
HSRP ccna
MikroTik & RouterOS
Vlan
Multicast Routing Protocols
OSPF Fundamental
Ad

Similar to DHCP (20)

PPTX
DHCP.pptx
PDF
DHCP (dynamic host configuration protocol)
PPTX
dynamichost configuration protocol
PPT
PPT
zuiqui_DHC.ppt
PDF
DYNAMIC HOST CONFIGURATION PROTOCOL
PDF
14047721
PDF
Investigation of dhcp packets using wireshark
PPTX
Dynamic Host Configuration Protocol ( DHCP).pptx
PDF
Configurar dhcp en router cisco
PPTX
PPTX
DHCP basics
PDF
DHCP in windows server 2012
PDF
Customized Dynamic Host Configuration Protocol
PDF
A1803020108
PPTX
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
PPTX
dhcp hw t dhcp wwwwwwwwwwwwwwwwwwwwwwwwww.pptx
PPT
Dhcp presentation 01
DHCP.pptx
DHCP (dynamic host configuration protocol)
dynamichost configuration protocol
zuiqui_DHC.ppt
DYNAMIC HOST CONFIGURATION PROTOCOL
14047721
Investigation of dhcp packets using wireshark
Dynamic Host Configuration Protocol ( DHCP).pptx
Configurar dhcp en router cisco
DHCP basics
DHCP in windows server 2012
Customized Dynamic Host Configuration Protocol
A1803020108
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp hw t dhcp wwwwwwwwwwwwwwwwwwwwwwwwww.pptx
Dhcp presentation 01
Ad

More from selvakumar_b1985 (20)

PPSX
Triggering transmission
PPSX
Token ring
PPSX
Subnetting
PPSX
Email Security
PPSX
RIP - Routing Information Protocol
PPSX
Physical Mediums
PPSX
OSPF - Routing Protocol
PPSX
Layering and Architecture
PPSX
Issues in Data Link Layer
PPSX
Internetworking - IP
PPSX
Hybrid Channel Access Link
PPSX
Hypertext Transfer Protocol
PPSX
Addressing Scheme IPv4
PPSX
File Transfer Protocol
PPSX
Framing Protocols
PPSX
Flow Control
PPSX
PPSX
Error control
Triggering transmission
Token ring
Subnetting
Email Security
RIP - Routing Information Protocol
Physical Mediums
OSPF - Routing Protocol
Layering and Architecture
Issues in Data Link Layer
Internetworking - IP
Hybrid Channel Access Link
Hypertext Transfer Protocol
Addressing Scheme IPv4
File Transfer Protocol
Framing Protocols
Flow Control
Error control

Recently uploaded (20)

PPT
Mechanical Engineering MATERIALS Selection
PPTX
Geodesy 1.pptx...............................................
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
composite construction of structures.pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Structs to JSON How Go Powers REST APIs.pdf
DOCX
573137875-Attendance-Management-System-original
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
web development for engineering and engineering
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
additive manufacturing of ss316l using mig welding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Mechanical Engineering MATERIALS Selection
Geodesy 1.pptx...............................................
Lesson 3_Tessellation.pptx finite Mathematics
UNIT-1 - COAL BASED THERMAL POWER PLANTS
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
composite construction of structures.pdf
bas. eng. economics group 4 presentation 1.pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Construction Project Organization Group 2.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Structs to JSON How Go Powers REST APIs.pdf
573137875-Attendance-Management-System-original
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
web development for engineering and engineering
Model Code of Practice - Construction Work - 21102022 .pdf
additive manufacturing of ss316l using mig welding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd

DHCP

  • 2. DHCP  A host need an IP Address and some other piece of information (subnet mask, gateway address, etc…) to send the packets.  Normally this information’s are provided by the system administrator and configure in manually.  But for a large network it is complex and error prone. So automatic configuration method is used.  Automatic configuration is provided by DHCP.  It needs a DHCP server to provide the information dynamically.  DHCP Server – It is a central repository for host configuration details.
  • 3. DHCP Steps,  A newly booted or attached host sends a “DHCP DISCOVER” message to special IP Address 255.255.255.255 (Broadcast Address).  DHCP relay receives this request and unicast that request to the DHCP server.  DHCP relay – It contains the IP address of DHCP Server.  DHCP server sends back the response to the requesting client.
  • 4. DHCP  DHCP dynamically assigns IP address to hosts. But host cannot keep addresses indefinitely.  Thus DHCP allows addresses to be “leased” for some period of time. Once the lease expires, client needs to renew the IP Address. Advantages,  Scaling of network management  Improves manageability of a network.
  • 7. DHCP  Operation Code (8 bit) – specifies whether the message is request (1) / response (2).  Hardware Type (8 bit)–Specifies the type of hardware used for local network (value 1 – Ethernet).  Hardware Address Length (8 bit)–Specifies the length of the hardware address.
  • 8. DHCP  Hops (8 bit) – Used to control the DHCP request message by DHCP relay.  Transaction Identifier (32 bit) – XID - A 32-bit identification field generated by the client, to allow it to match up the request with replies received from DHCP servers.
  • 9. DHCP  Seconds (16 bit) -number of seconds elapsed since a client began an attempt to acquire or renew a lease.  Flag (16 bit) –B bit is set to 1 to represent the broadcast message. Other bits are set to Zero.  Client IP Address - The client puts its own current IP address in this field if and only if it has a valid IP address while in the renewing state.
  • 10. DHCP  Your IP Address - The IP address that the server is assigning to the client.  Server IP Address –Address of the DHCP server.  CHAddr –Client Hardware Address - The hardware address of the client, which is used for identification and communication.  SName –Server Name – Name of the DHCP server, provided by the server during the response.