SlideShare a Scribd company logo
CChhaapptteerr 1166 
HHoosstt CCoonnffiigguurraattiioonn:: 
BBOOOOTTPP aanndd DDHHCCPP 
Objectives 
Upon completion you will be able to: 
• Know the types of information required by a system on boot-up 
• Know how BOOTP operates 
• Know how DHCP operates 
• Understand the differences between BOOTP and DHCP 
• Understand the DHCP transition state diagram 
TCP/IP Protocol Suite 1
16.1 BOOTP 
The Bootstrap Protocol (BOOTP) is a client/sseerrvveerr pprroottooccooll tthhaatt 
ccoonnffiigguurreess aa ddiisskklleessss ccoommppuutteerr oorr aa ccoommppuutteerr tthhaatt iiss bbooootteedd ffoorr tthhee ffiirrsstt 
ttiimmee.. BBOOOOTTPP pprroovviiddeess tthhee IIPP aaddddrreessss,, nneett mmaasskk,, tthhee aaddddrreessss ooff aa ddeeffaauulltt 
rroouutteerr,, aanndd tthhee aaddddrreessss ooff aa nnaammee sseerrvveerr.. 
TThhee ttooppiiccss ddiissccuusssseedd iinn tthhiiss sseeccttiioonn iinncclluuddee:: 
OOppeerraattiioonn 
PPaacckkeett FFoorrmmaatt 
TCP/IP Protocol Suite 2
Figure 16.1 Client and server on the same network 
TCP/IP Protocol Suite 3
Figure 16.2 Client and server on two different networks 
TCP/IP Protocol Suite 4
Figure 16.3 Use of UDP ports 
TCP/IP Protocol Suite 5
Figure 16.4 BOOTP packet format 
TCP/IP Protocol Suite 6
Figure 16.5 Option format 
TCP/IP Protocol Suite 7
TTaabbllee 1166..11 OOppttiioonnss ffoorr BBOOOOTTPP 
TCP/IP Protocol Suite 8
16.2 DHCP 
The Dynamic Host Configuration Protocol (DHCP) pprroovviiddeess ssttaattiicc aanndd 
ddyynnaammiicc aaddddrreessss aallllooccaattiioonn tthhaatt ccaann bbee mmaannuuaall oorr aauuttoommaattiicc.. 
TThhee ttooppiiccss ddiissccuusssseedd iinn tthhiiss sseeccttiioonn iinncclluuddee:: 
SSttaattiicc AAddddrreessss AAllllooccaattiioonn 
DDyynnaammiicc AAddddrreessss AAllllooccaattiioonn 
MMaannuuaall aanndd AAuuttoommaattiicc CCoonnffiigguurraattiioonn 
PPaacckkeett FFoorrmmaatt 
TTrraannssiittiioonn SSttaatteess 
EExxcchhaannggiinngg MMeessssaaggeess 
TCP/IP Protocol Suite 9
NNoottee:: 
DHCP provides static and dynamic 
address allocation that can be manual 
or automatic. 
TCP/IP Protocol Suite 10
Figure 16.6 DHCP packet 
TCP/IP Protocol Suite 11
TTaabbllee 1166..22 OOppttiioonnss ffoorr DDHHCCPP 
TCP/IP Protocol Suite 12
Figure 16.7 DHCP transition diagram 
TCP/IP Protocol Suite 13
Figure 16.8 Exchanging messages 
TCP/IP Protocol Suite 14

More Related Content

What's hot

Osi model vs TCP/IP
Osi model vs TCP/IPOsi model vs TCP/IP
Osi model vs TCP/IPMannu Khani
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway ProtocolKashif Latif
 
Ports and protocols
Ports and protocolsPorts and protocols
Ports and protocols
Kailash Kumar
 
Multicastingand multicast routing protocols
Multicastingand multicast routing protocolsMulticastingand multicast routing protocols
Multicastingand multicast routing protocols
Iffat Anjum
 
Final Presentation on the Network layer
Final Presentation on the Network layerFinal Presentation on the Network layer
Final Presentation on the Network layer
Zee Haak
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocolasimnawaz54
 
TCP/ IP
TCP/ IP TCP/ IP
Tcp ip tutorial
Tcp ip tutorialTcp ip tutorial
Tcp ip tutorial
PRINCE KUMAR
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
SMC Networks Europe
 
Dynamic routing
Dynamic routingDynamic routing
Dynamic routing
Najmul Hossain Nayan
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
Mukesh Tekwani
 
Telnet & SSH Configuration
Telnet & SSH ConfigurationTelnet & SSH Configuration
Telnet & SSH Configuration
Vinod Gour
 
Juniper mpls best practice part 1
Juniper mpls best practice   part 1Juniper mpls best practice   part 1
Juniper mpls best practice part 1
Febrian ‎
 
BGP (border gateway routing protocol)
BGP (border gateway routing protocol)BGP (border gateway routing protocol)
BGP (border gateway routing protocol)
Netwax Lab
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
Respa Peter
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
rajshreemuthiah
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol Suite
Atharaw Deshmukh
 

What's hot (20)

Osi model vs TCP/IP
Osi model vs TCP/IPOsi model vs TCP/IP
Osi model vs TCP/IP
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
Ports and protocols
Ports and protocolsPorts and protocols
Ports and protocols
 
Multicastingand multicast routing protocols
Multicastingand multicast routing protocolsMulticastingand multicast routing protocols
Multicastingand multicast routing protocols
 
Final Presentation on the Network layer
Final Presentation on the Network layerFinal Presentation on the Network layer
Final Presentation on the Network layer
 
Link state protocols.ppt
Link state protocols.pptLink state protocols.ppt
Link state protocols.ppt
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
 
TCP/ IP
TCP/ IP TCP/ IP
TCP/ IP
 
Tcp ip tutorial
Tcp ip tutorialTcp ip tutorial
Tcp ip tutorial
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Dynamic routing
Dynamic routingDynamic routing
Dynamic routing
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
Telnet & SSH Configuration
Telnet & SSH ConfigurationTelnet & SSH Configuration
Telnet & SSH Configuration
 
MPLS ppt
MPLS pptMPLS ppt
MPLS ppt
 
Juniper mpls best practice part 1
Juniper mpls best practice   part 1Juniper mpls best practice   part 1
Juniper mpls best practice part 1
 
BGP (border gateway routing protocol)
BGP (border gateway routing protocol)BGP (border gateway routing protocol)
BGP (border gateway routing protocol)
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol Suite
 

Viewers also liked

Tutorial on dhcp
Tutorial on dhcp Tutorial on dhcp
Tutorial on dhcp
Salah Amean
 
Chap 28 security
Chap 28 securityChap 28 security
Chap 28 security
Noctorous Jamal
 
Chap 15 multicasting
Chap 15 multicastingChap 15 multicasting
Chap 15 multicasting
Noctorous Jamal
 
Web technology and commerce unit 1
Web technology and commerce unit 1Web technology and commerce unit 1
Web technology and commerce unit 1
arun0501
 
Dhcp security #netseckh
Dhcp security #netseckhDhcp security #netseckh
Dhcp security #netseckh
HEM Sothon
 
Chapter 25
Chapter 25Chapter 25
Chapter 25
Faisal Mehmood
 
Chap 04 ip addresses classful
Chap 04 ip addresses classfulChap 04 ip addresses classful
Chap 04 ip addresses classful
Noctorous Jamal
 
Lecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transferLecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transfer
Serious_SamSoul
 
Chap 17 dns
Chap 17 dnsChap 17 dns
Chap 17 dns
Noctorous Jamal
 
Chap 12 tcp
Chap 12 tcpChap 12 tcp
Chap 12 tcp
Noctorous Jamal
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
Tan Huynh Cong
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
Mahmmoud Mahdi
 
DHCP Snooping
DHCP SnoopingDHCP Snooping
DHCP Snooping
NetProtocol Xpert
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
gueste98b36
 
RARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsRARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE Protocols
Peter R. Egli
 
Chap 19 ftp & tftp
Chap 19 ftp & tftpChap 19 ftp & tftp
Chap 19 ftp & tftp
Noctorous Jamal
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentation
raini
 
TFTP - Trivial File Transfer Protocol
TFTP - Trivial File Transfer ProtocolTFTP - Trivial File Transfer Protocol
TFTP - Trivial File Transfer Protocol
Peter R. Egli
 

Viewers also liked (20)

Tutorial on dhcp
Tutorial on dhcp Tutorial on dhcp
Tutorial on dhcp
 
Chap 28 security
Chap 28 securityChap 28 security
Chap 28 security
 
Chap 15 multicasting
Chap 15 multicastingChap 15 multicasting
Chap 15 multicasting
 
Web technology and commerce unit 1
Web technology and commerce unit 1Web technology and commerce unit 1
Web technology and commerce unit 1
 
Dhcp security #netseckh
Dhcp security #netseckhDhcp security #netseckh
Dhcp security #netseckh
 
Chapter 25
Chapter 25Chapter 25
Chapter 25
 
Chap 04 ip addresses classful
Chap 04 ip addresses classfulChap 04 ip addresses classful
Chap 04 ip addresses classful
 
Lecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transferLecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transfer
 
Chap 17 dns
Chap 17 dnsChap 17 dns
Chap 17 dns
 
Chap 12 tcp
Chap 12 tcpChap 12 tcp
Chap 12 tcp
 
Dhcp
DhcpDhcp
Dhcp
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
 
DHCP Snooping
DHCP SnoopingDHCP Snooping
DHCP Snooping
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
 
RARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsRARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE Protocols
 
Chap 19 ftp & tftp
Chap 19 ftp & tftpChap 19 ftp & tftp
Chap 19 ftp & tftp
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentation
 
TFTP - Trivial File Transfer Protocol
TFTP - Trivial File Transfer ProtocolTFTP - Trivial File Transfer Protocol
TFTP - Trivial File Transfer Protocol
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 

Similar to Chap 16 bootp & dhcp

Chap 01 intro
Chap 01 introChap 01 intro
Chap 01 intro
Noctorous Jamal
 
Chap 26 vpn
Chap 26 vpnChap 26 vpn
Chap 26 vpn
Noctorous Jamal
 
Chap 18 telnet
Chap 18 telnetChap 18 telnet
Chap 18 telnet
Noctorous Jamal
 
22 the internet
22 the internet22 the internet
22 the internet
hafizhanif86
 
Chap 03 underlying technology
Chap 03 underlying technologyChap 03 underlying technology
Chap 03 underlying technology
Noctorous Jamal
 

Similar to Chap 16 bootp & dhcp (6)

Chap 01 intro
Chap 01 introChap 01 intro
Chap 01 intro
 
Chap 26 vpn
Chap 26 vpnChap 26 vpn
Chap 26 vpn
 
Chap 18 telnet
Chap 18 telnetChap 18 telnet
Chap 18 telnet
 
22 the internet
22 the internet22 the internet
22 the internet
 
Chap 03 underlying technology
Chap 03 underlying technologyChap 03 underlying technology
Chap 03 underlying technology
 
Ieee standards
Ieee standardsIeee standards
Ieee standards
 

More from Noctorous Jamal

Chap 27 next generation i pv6
Chap 27 next generation i pv6Chap 27 next generation i pv6
Chap 27 next generation i pv6
Noctorous Jamal
 
Chap 25 multimedia
Chap 25 multimediaChap 25 multimedia
Chap 25 multimedia
Noctorous Jamal
 
Chap 24 mobile ip
Chap 24 mobile ipChap 24 mobile ip
Chap 24 mobile ip
Noctorous Jamal
 
Chap 23 ip over atm
Chap 23 ip over atmChap 23 ip over atm
Chap 23 ip over atm
Noctorous Jamal
 
Chap 22 www http
Chap 22 www httpChap 22 www http
Chap 22 www http
Noctorous Jamal
 
Chap 21 snmp
Chap 21 snmpChap 21 snmp
Chap 21 snmp
Noctorous Jamal
 
Chap 20 smtp, pop, imap
Chap 20 smtp, pop, imapChap 20 smtp, pop, imap
Chap 20 smtp, pop, imap
Noctorous Jamal
 
Chap 14 rip, ospf
Chap 14 rip, ospfChap 14 rip, ospf
Chap 14 rip, ospf
Noctorous Jamal
 
Chap 13 stream control transmission protocol
Chap 13 stream control transmission protocolChap 13 stream control transmission protocol
Chap 13 stream control transmission protocol
Noctorous Jamal
 
Chap 11 udp
Chap 11 udpChap 11 udp
Chap 11 udp
Noctorous Jamal
 
Chap 10 igmp
Chap 10 igmpChap 10 igmp
Chap 10 igmp
Noctorous Jamal
 
Chap 09 icmp
Chap 09 icmpChap 09 icmp
Chap 09 icmp
Noctorous Jamal
 
Chap 08 ip
Chap 08 ipChap 08 ip
Chap 08 ip
Noctorous Jamal
 
Chap 07 arp & rarp
Chap 07 arp & rarpChap 07 arp & rarp
Chap 07 arp & rarp
Noctorous Jamal
 
Chap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packetsChap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packets
Noctorous Jamal
 
Chap 05 ip addresses classfless
Chap 05 ip addresses classflessChap 05 ip addresses classfless
Chap 05 ip addresses classfless
Noctorous Jamal
 
Chap 02 osi model
Chap 02 osi modelChap 02 osi model
Chap 02 osi model
Noctorous Jamal
 
Lecture 8 The Communication System Finalterm Slides
Lecture 8  The Communication System Finalterm SlidesLecture 8  The Communication System Finalterm Slides
Lecture 8 The Communication System Finalterm Slides
Noctorous Jamal
 
Lecture 7 The Communication System Finalterm Slides
Lecture 7  The Communication System Finalterm SlidesLecture 7  The Communication System Finalterm Slides
Lecture 7 The Communication System Finalterm Slides
Noctorous Jamal
 
Lecture 6 The Communication System Finalterm Slides
Lecture 6  The Communication System Finalterm SlidesLecture 6  The Communication System Finalterm Slides
Lecture 6 The Communication System Finalterm Slides
Noctorous Jamal
 

More from Noctorous Jamal (20)

Chap 27 next generation i pv6
Chap 27 next generation i pv6Chap 27 next generation i pv6
Chap 27 next generation i pv6
 
Chap 25 multimedia
Chap 25 multimediaChap 25 multimedia
Chap 25 multimedia
 
Chap 24 mobile ip
Chap 24 mobile ipChap 24 mobile ip
Chap 24 mobile ip
 
Chap 23 ip over atm
Chap 23 ip over atmChap 23 ip over atm
Chap 23 ip over atm
 
Chap 22 www http
Chap 22 www httpChap 22 www http
Chap 22 www http
 
Chap 21 snmp
Chap 21 snmpChap 21 snmp
Chap 21 snmp
 
Chap 20 smtp, pop, imap
Chap 20 smtp, pop, imapChap 20 smtp, pop, imap
Chap 20 smtp, pop, imap
 
Chap 14 rip, ospf
Chap 14 rip, ospfChap 14 rip, ospf
Chap 14 rip, ospf
 
Chap 13 stream control transmission protocol
Chap 13 stream control transmission protocolChap 13 stream control transmission protocol
Chap 13 stream control transmission protocol
 
Chap 11 udp
Chap 11 udpChap 11 udp
Chap 11 udp
 
Chap 10 igmp
Chap 10 igmpChap 10 igmp
Chap 10 igmp
 
Chap 09 icmp
Chap 09 icmpChap 09 icmp
Chap 09 icmp
 
Chap 08 ip
Chap 08 ipChap 08 ip
Chap 08 ip
 
Chap 07 arp & rarp
Chap 07 arp & rarpChap 07 arp & rarp
Chap 07 arp & rarp
 
Chap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packetsChap 06 delivery and routing of ip packets
Chap 06 delivery and routing of ip packets
 
Chap 05 ip addresses classfless
Chap 05 ip addresses classflessChap 05 ip addresses classfless
Chap 05 ip addresses classfless
 
Chap 02 osi model
Chap 02 osi modelChap 02 osi model
Chap 02 osi model
 
Lecture 8 The Communication System Finalterm Slides
Lecture 8  The Communication System Finalterm SlidesLecture 8  The Communication System Finalterm Slides
Lecture 8 The Communication System Finalterm Slides
 
Lecture 7 The Communication System Finalterm Slides
Lecture 7  The Communication System Finalterm SlidesLecture 7  The Communication System Finalterm Slides
Lecture 7 The Communication System Finalterm Slides
 
Lecture 6 The Communication System Finalterm Slides
Lecture 6  The Communication System Finalterm SlidesLecture 6  The Communication System Finalterm Slides
Lecture 6 The Communication System Finalterm Slides
 

Chap 16 bootp & dhcp

  • 1. CChhaapptteerr 1166 HHoosstt CCoonnffiigguurraattiioonn:: BBOOOOTTPP aanndd DDHHCCPP Objectives Upon completion you will be able to: • Know the types of information required by a system on boot-up • Know how BOOTP operates • Know how DHCP operates • Understand the differences between BOOTP and DHCP • Understand the DHCP transition state diagram TCP/IP Protocol Suite 1
  • 2. 16.1 BOOTP The Bootstrap Protocol (BOOTP) is a client/sseerrvveerr pprroottooccooll tthhaatt ccoonnffiigguurreess aa ddiisskklleessss ccoommppuutteerr oorr aa ccoommppuutteerr tthhaatt iiss bbooootteedd ffoorr tthhee ffiirrsstt ttiimmee.. BBOOOOTTPP pprroovviiddeess tthhee IIPP aaddddrreessss,, nneett mmaasskk,, tthhee aaddddrreessss ooff aa ddeeffaauulltt rroouutteerr,, aanndd tthhee aaddddrreessss ooff aa nnaammee sseerrvveerr.. TThhee ttooppiiccss ddiissccuusssseedd iinn tthhiiss sseeccttiioonn iinncclluuddee:: OOppeerraattiioonn PPaacckkeett FFoorrmmaatt TCP/IP Protocol Suite 2
  • 3. Figure 16.1 Client and server on the same network TCP/IP Protocol Suite 3
  • 4. Figure 16.2 Client and server on two different networks TCP/IP Protocol Suite 4
  • 5. Figure 16.3 Use of UDP ports TCP/IP Protocol Suite 5
  • 6. Figure 16.4 BOOTP packet format TCP/IP Protocol Suite 6
  • 7. Figure 16.5 Option format TCP/IP Protocol Suite 7
  • 8. TTaabbllee 1166..11 OOppttiioonnss ffoorr BBOOOOTTPP TCP/IP Protocol Suite 8
  • 9. 16.2 DHCP The Dynamic Host Configuration Protocol (DHCP) pprroovviiddeess ssttaattiicc aanndd ddyynnaammiicc aaddddrreessss aallllooccaattiioonn tthhaatt ccaann bbee mmaannuuaall oorr aauuttoommaattiicc.. TThhee ttooppiiccss ddiissccuusssseedd iinn tthhiiss sseeccttiioonn iinncclluuddee:: SSttaattiicc AAddddrreessss AAllllooccaattiioonn DDyynnaammiicc AAddddrreessss AAllllooccaattiioonn MMaannuuaall aanndd AAuuttoommaattiicc CCoonnffiigguurraattiioonn PPaacckkeett FFoorrmmaatt TTrraannssiittiioonn SSttaatteess EExxcchhaannggiinngg MMeessssaaggeess TCP/IP Protocol Suite 9
  • 10. NNoottee:: DHCP provides static and dynamic address allocation that can be manual or automatic. TCP/IP Protocol Suite 10
  • 11. Figure 16.6 DHCP packet TCP/IP Protocol Suite 11
  • 12. TTaabbllee 1166..22 OOppttiioonnss ffoorr DDHHCCPP TCP/IP Protocol Suite 12
  • 13. Figure 16.7 DHCP transition diagram TCP/IP Protocol Suite 13
  • 14. Figure 16.8 Exchanging messages TCP/IP Protocol Suite 14