SlideShare uma empresa Scribd logo
1 de 18
Dynamic Host Control Protocol
(DHCPv4) and for IPv6 (DHCPv6)
Every device that connects to a network
needs a unique IP address
1
When an unaddressed client Boots up
2
DHCP D.O.R.A Process:-
• DORA between Server & Client
• Discover
• Offer
• Request
• Acknowledge
DHCPv4 message a client sends to accept an
IPv4 address that is offered by a DHCP server
broadcast DHCPREQUEST
Only messages involved BUT clients
Use an gratuitous ARP to check it’s
assigned IP
3
Client knows nothing…
Requesting host has no info about DHCP server it
Discovers through this MAC & IP:(broadcast)
FF-FF-FF-FF-FF-FF and 255.255.255.255
a DHCPv4 server sends a DHCPOFFER message to a
client’s MAC address
4
DHCP Lease allocation
DYNAMIC = DHCPv4 addr allocation method
assigns IPv4 addrs for a limited lease period
If a client lease is about to expire, client sends a
DHCPREQUEST to original DHCP server
5
DHCP from a Router
• Create Pool Name
• Designate Network & Mask
• Designate default gateway for clients =
default-router cmd
• DNS server ( optional)
• excluded-address(es) ( Optional)
• Note lease time & domain name also optional
Cisco IOS DHCPv4 virtual server assigns/manages IPv4 addrs
from specified addr pools within router to DHCPv4 clients
6
DHCP setup from a Router
• Create Pool Name = ip dhcp pool rmit
• Designate Network & Mask =
network 10.0.15.0 255.255.255.0
• Default gatway for clients =
default-router 10.0.15.1
• DNS server ip address = dns 10.0.16.1
• Exclude the first 5 addresses =
ip dhcp excluded-address 10.0.15.1 10.0.15.5
To disable DHCP, use the no service dhcp command.
7
DHCP on a Dedicated Server
A dedicated DHCPv4 server is scalable - easy to manage
Often networks use enterprise servers located in a
server farm. These servers may provide DHCP, DNS,
TFTP, and FTP services for the network
Often client is on a different LAN than the server & will
need the help of a router to relay it’s discover & ack
messages. When a router forwards addr
assignment/parameter requests, it’s acting as a
DHCPv4 relay agent.
Port 67/68: DHCP/BOOTP client/ server
the ip helper-address command forwards DHCP
messages btw client & Server
8
Helper-address is set on the interface
10
DHCP request by Routers
To get DHCP automatic addr for a router interface
from a DHCPv4 server issue:
Router()# interface f0/0
Router(-if)# ip address dhcp
11
Verification
show running-config | section dhcp output displays the
DHCPv4 cmds configured on R1.
2 pool configured
LAN-POOL-1
LAN-POOL-2
SAME domain!!
12
Verification continued
• show ip dhcp binding = list of all IPv4 addrs to
MAC addrs bindings provided by DHCPv4 service.
13
show ip dhcp server statistics,
verify that messages are being
received or sent by the router.
In stateless DHCPv6 configuration, a client
configures its IPv6 address by using the prefix
and prefix length in the RA message, combined
with a self-generated interface ID. It then
contacts a DHCPv6 server for additional
configuration information via an
INFORMATION-REQUEST message. The
DHCPv6 SOLICIT message is used by a client to
locate a DHCPv6 server. The DHCPv6
ADVERTISE message is used by DHCPv6 servers
to indicate their availability for DHCPv6
service. The DHCPv6 REQUEST message is used
by a client, in the stateful DHCPv6
configuration, to request ALL configuration
information from a DHCPv6 server.
SLAAC and DHCPv6
DHCPv6 Operations
If stateless or stateful
DHCPv6 is indicated in
the RA message, then
the device begins
DHCPv6 client/server
communications.
Stateless DHCPv6
Configuring a Router as a Stateless
DHCPv6 Server
Configuring a Router as a Stateless
DHCPv6 Client
Verifying Stateless DHCPv6
Verify the stateless DHCP client using the following
commands:
• show ipv6 interface
• debug ipv6 dhcp detail
 Explain how DHCPv4 operates in a small- to medium-sized business
network.
 Configure a router as a DHCPv4 server.
 Configure a router as a DHCPv4 client.
 Troubleshoot a DHCP configuration for IPv4 in a switched network.
 Explain the operation of DHCPv6.
Chapter Summary
Summary

Mais conteúdo relacionado

Semelhante a DHCP Services (Ipv4 & 6).pptx

dhcpppt-130331044148-phpapp02.pptx
dhcpppt-130331044148-phpapp02.pptxdhcpppt-130331044148-phpapp02.pptx
dhcpppt-130331044148-phpapp02.pptx
KushalAsodia
 
Session 3 Tp 3
Session 3 Tp 3Session 3 Tp 3
Session 3 Tp 3
githe26200
 
Durai presentation of dhcp
Durai presentation of dhcpDurai presentation of dhcp
Durai presentation of dhcp
duraimurugan89
 

Semelhante a DHCP Services (Ipv4 & 6).pptx (20)

Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
 
DHCP Server Guaidlines using CISCO PACKET TRACER
DHCP Server Guaidlines using CISCO PACKET TRACERDHCP Server Guaidlines using CISCO PACKET TRACER
DHCP Server Guaidlines using CISCO PACKET TRACER
 
Configuring a DHCP Server
Configuring a DHCP Server Configuring a DHCP Server
Configuring a DHCP Server
 
DHCP.pptx
DHCP.pptxDHCP.pptx
DHCP.pptx
 
unit 2
unit 2unit 2
unit 2
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configuration
 
Dhcp
DhcpDhcp
Dhcp
 
Wintel ppt for dhcp
Wintel ppt for dhcpWintel ppt for dhcp
Wintel ppt for dhcp
 
dhcpppt-130331044148-phpapp02.pptx
dhcpppt-130331044148-phpapp02.pptxdhcpppt-130331044148-phpapp02.pptx
dhcpppt-130331044148-phpapp02.pptx
 
zuiqui_DHC.ppt
zuiqui_DHC.pptzuiqui_DHC.ppt
zuiqui_DHC.ppt
 
13 - DHCP Service.ppt
13 - DHCP Service.ppt13 - DHCP Service.ppt
13 - DHCP Service.ppt
 
DHCP
DHCPDHCP
DHCP
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
Dhcp
DhcpDhcp
Dhcp
 
Implementing Dynamic Host
Implementing Dynamic HostImplementing Dynamic Host
Implementing Dynamic Host
 
Session 3 Tp 3
Session 3 Tp 3Session 3 Tp 3
Session 3 Tp 3
 
Durai presentation of dhcp
Durai presentation of dhcpDurai presentation of dhcp
Durai presentation of dhcp
 
Investigation of dhcp packets using wireshark
Investigation of dhcp packets using wiresharkInvestigation of dhcp packets using wireshark
Investigation of dhcp packets using wireshark
 
Lession4 Dhcp
Lession4 DhcpLession4 Dhcp
Lession4 Dhcp
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 

Último

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Último (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 

DHCP Services (Ipv4 & 6).pptx

  • 1. Dynamic Host Control Protocol (DHCPv4) and for IPv6 (DHCPv6) Every device that connects to a network needs a unique IP address 1
  • 2. When an unaddressed client Boots up 2
  • 3. DHCP D.O.R.A Process:- • DORA between Server & Client • Discover • Offer • Request • Acknowledge DHCPv4 message a client sends to accept an IPv4 address that is offered by a DHCP server broadcast DHCPREQUEST Only messages involved BUT clients Use an gratuitous ARP to check it’s assigned IP 3
  • 4. Client knows nothing… Requesting host has no info about DHCP server it Discovers through this MAC & IP:(broadcast) FF-FF-FF-FF-FF-FF and 255.255.255.255 a DHCPv4 server sends a DHCPOFFER message to a client’s MAC address 4
  • 5. DHCP Lease allocation DYNAMIC = DHCPv4 addr allocation method assigns IPv4 addrs for a limited lease period If a client lease is about to expire, client sends a DHCPREQUEST to original DHCP server 5
  • 6. DHCP from a Router • Create Pool Name • Designate Network & Mask • Designate default gateway for clients = default-router cmd • DNS server ( optional) • excluded-address(es) ( Optional) • Note lease time & domain name also optional Cisco IOS DHCPv4 virtual server assigns/manages IPv4 addrs from specified addr pools within router to DHCPv4 clients 6
  • 7. DHCP setup from a Router • Create Pool Name = ip dhcp pool rmit • Designate Network & Mask = network 10.0.15.0 255.255.255.0 • Default gatway for clients = default-router 10.0.15.1 • DNS server ip address = dns 10.0.16.1 • Exclude the first 5 addresses = ip dhcp excluded-address 10.0.15.1 10.0.15.5 To disable DHCP, use the no service dhcp command. 7
  • 8. DHCP on a Dedicated Server A dedicated DHCPv4 server is scalable - easy to manage Often networks use enterprise servers located in a server farm. These servers may provide DHCP, DNS, TFTP, and FTP services for the network Often client is on a different LAN than the server & will need the help of a router to relay it’s discover & ack messages. When a router forwards addr assignment/parameter requests, it’s acting as a DHCPv4 relay agent. Port 67/68: DHCP/BOOTP client/ server the ip helper-address command forwards DHCP messages btw client & Server 8
  • 9.
  • 10. Helper-address is set on the interface 10
  • 11. DHCP request by Routers To get DHCP automatic addr for a router interface from a DHCPv4 server issue: Router()# interface f0/0 Router(-if)# ip address dhcp 11
  • 12. Verification show running-config | section dhcp output displays the DHCPv4 cmds configured on R1. 2 pool configured LAN-POOL-1 LAN-POOL-2 SAME domain!! 12
  • 13. Verification continued • show ip dhcp binding = list of all IPv4 addrs to MAC addrs bindings provided by DHCPv4 service. 13 show ip dhcp server statistics, verify that messages are being received or sent by the router. In stateless DHCPv6 configuration, a client configures its IPv6 address by using the prefix and prefix length in the RA message, combined with a self-generated interface ID. It then contacts a DHCPv6 server for additional configuration information via an INFORMATION-REQUEST message. The DHCPv6 SOLICIT message is used by a client to locate a DHCPv6 server. The DHCPv6 ADVERTISE message is used by DHCPv6 servers to indicate their availability for DHCPv6 service. The DHCPv6 REQUEST message is used by a client, in the stateful DHCPv6 configuration, to request ALL configuration information from a DHCPv6 server.
  • 14. SLAAC and DHCPv6 DHCPv6 Operations If stateless or stateful DHCPv6 is indicated in the RA message, then the device begins DHCPv6 client/server communications.
  • 15. Stateless DHCPv6 Configuring a Router as a Stateless DHCPv6 Server
  • 16. Configuring a Router as a Stateless DHCPv6 Client
  • 17. Verifying Stateless DHCPv6 Verify the stateless DHCP client using the following commands: • show ipv6 interface • debug ipv6 dhcp detail
  • 18.  Explain how DHCPv4 operates in a small- to medium-sized business network.  Configure a router as a DHCPv4 server.  Configure a router as a DHCPv4 client.  Troubleshoot a DHCP configuration for IPv4 in a switched network.  Explain the operation of DHCPv6. Chapter Summary Summary