SlideShare a Scribd company logo
Chapter 8: DHCP
1Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Routing and Switching Essentials v6.0
Chapter 8 - Sections & Objectives
2Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
1. DHCPv4
• 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.
2. DHCPv6
• Explain the operation of DHCPv6.
• Configure stateless DHCPv6 for a small to medium-sized business.
• Configure stateful DHCPv6 for a small to medium-sized business.
• Troubleshoot a DHCP configuration for IPv6 in a switched network.
8.1 DHCPv4
3Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
Introducing DHCPv4
▪ DHCPv4:
▪ assigns IPv4 addresses and other network configuration information dynamically
▪ useful and timesaving tool for network administrators
▪ dynamically assigns, or leases, an IPv4 address from a pool of addresses
▪ A Cisco router can be configured to provide DHCPv4services.
▪ Administrators configure DHCPv4 servers so that leases expire. Then
the client must ask for another address, although the client is typically
reassigned the same address.
4Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Operation
5Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Operation (cont.)
6Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Message Format
7Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Discover and Offer Messages
8Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Discover and Offer Messages
(cont.)
9Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure DHCPv4 Server
Configure a Basic DHCPv4 Server
A Cisco router running the Cisco IOS software can be configured toact
as a DHCPv4 server. To set up DHCP:
1. Exclude addresses from the pool.
2. Set up the DHCP pool name.
3. Define the range of addresses and subnet mask. Use the
default-routercommand for the default gateway. Optional
parameters that can be included in the pool – dns server,
domain-name.
To disable DHCP, use the no service dhcp command.
10Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure DHCPv4 Server
Verifying DHCPv4
▪ Commands to verify DHCP:
sho
w
sho
w
sho
w
running-config | section dhcp ip
dhcp binding
ip dhcp server statistics
▪ On the PC, issue the ipconfig /all command.
11Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure DHCPv4 Server
DHCPv4 Relay
12Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure DHCPv4 Server
DHCPv4 Relay (cont.)
▪ Using an IP helper address enables a router to forwardDHCPv4
broadcasts to the DHCPv4 server. Acting as arelay.
13Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure DHCPv4 Client
Configuring a Router as a DHCPv4 client
14Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure DHCPv4 Client
Configuring a Wireless Router as a DHCPv4
Client
15Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv4
Troubleshooting Tasks
16Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv4
Verify Router DHCPv4 Configuration
17Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv4
Debugging DHCPv4
▪ The figure shows an extended ACL permitting only packets with UDP destination ports of
67 or 68. These are the typical ports used by DHCPv4 clients and servers when sending
DHCPv4 messages. The extended ACL is used with the debug ip packetcommand to
display only DHCPv4 messages.
18Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
8.2 DHCPv6
19Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
Stateless Address Autoconfiguration
(SLAAC)
▪ SLAAC uses ICMPv6 Router Solicitation and Router Advertisement
messages to provide addressing and other configuration information that
would normally be provided by a DHCP server:
20Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
SLAAC Operation
▪ A router must have IPv6 routing enabled before it can sendRA
messages: Router(config)# ipv6 unicast-routing
21Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
SLAAC and DHCPv6
22Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
SLAAC Option
▪ SLAAC is the default option on Cisco routers. Both the M flag and
the O flag are set to 0 in the RA, as shown in the figure.
23Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
Stateless DHCPv6 Option
▪ To modify the RA message sent on the interface of a router to indicate
stateless DHCPv6, use the following command: Router(config-
if)# ipv6 nd other-config-flag
24Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
Stateful DHCPv6 Option
▪ This option is the most similar to DHCPv4. In this case, the RA message informs the client
not to use the information in the RA message. All addressing information and configuration
information must be obtained from a stateful DHCPv6 server. Router(config-if)# ipv6 nd
managed-config-flag
25Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
DHCPv6 Operations
If stateless or stateful
DHCPv6 is indicated in
the RA message, then
the device begins
DHCPv6 client/server
communications.
26Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateless DHCPv6
Configuring a Router as a Stateless DHCPv6
Server
27Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateless DHCPv6
Configuring a Router as a Stateless DHCPv6
Client
28Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateless DHCPv6
Verifying Stateless DHCPv6
Verify the stateless DHCP client using the following commands:
▪ show ipv6 interface
▪ debug ipv6 dhcp detail
29Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6 Server
Configuring a Router as a Stateful DHCPv6
Server
30Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6 Server
Configuring a Router as a Stateful DHCPv6
Server (cont.)
31Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6 Server
Configuring a Router as a Stateful DHCPv6
Client
32Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6 Server
Verifying Stateful DHCPv6
33Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6 Server
Verifying Stateful DHCPv6 (cont.)
34Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6
35Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configuring a Router as a DHCPv6 Relay
Agent
Troubleshooting DHCPv6
Troubleshooting Tasks
36Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv6
Verify Router DHCPv6 Configuration
37Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv6
Debugging DHCPv6
38Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
8.3 Summary
39Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
▪ 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.
▪ Configure stateless DHCPv6 for a small to medium-sized business.
▪ Configure stateful DHCPv6 for a small to medium-sized business.
▪ Troubleshoot a DHCP configuration for IPv6 in a switched network.
40Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter Summary
Summary
41Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential

More Related Content

What's hot

Day 18 2 serial point to-point encapsulation
Day 18 2  serial point to-point encapsulationDay 18 2  serial point to-point encapsulation
Day 18 2 serial point to-point encapsulation
CYBERINTELLIGENTS
 
Chapter 21 : DHCP
Chapter 21 : DHCPChapter 21 : DHCP
Chapter 21 : DHCP
teknetir
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8
Waqas Ahmed Nawaz
 
Chapter 20 : access control lists
Chapter 20 : access control listsChapter 20 : access control lists
Chapter 20 : access control lists
teknetir
 
IPv6 EIGRP
IPv6 EIGRPIPv6 EIGRP
IPv6 EIGRP
Irsandi Hasan
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
newbie2019
 
Ccna rse chp9 nat fo i_pv4
Ccna rse chp9 nat fo i_pv4Ccna rse chp9 nat fo i_pv4
Ccna rse chp9 nat fo i_pv4
newbie2019
 
Chapter 18 : routing dynamically
Chapter 18 : routing dynamicallyChapter 18 : routing dynamically
Chapter 18 : routing dynamically
teknetir
 
CCNP Route EIGRP Overview
CCNP Route  EIGRP OverviewCCNP Route  EIGRP Overview
CCNP Route EIGRP Overview
Visalini Kumaraswamy
 
CCNA (R & S) Module 04 - Scaling Networks - Chapter 4
CCNA (R & S) Module 04 - Scaling Networks - Chapter 4CCNA (R & S) Module 04 - Scaling Networks - Chapter 4
CCNA (R & S) Module 04 - Scaling Networks - Chapter 4
Waqas Ahmed Nawaz
 
1800sg
1800sg1800sg
ACI MultiPod Config Guide
ACI MultiPod Config GuideACI MultiPod Config Guide
ACI MultiPod Config Guide
Woo Hyung Choi
 
CCNA3 Verson6 Chapter8
CCNA3 Verson6 Chapter8CCNA3 Verson6 Chapter8
CCNA3 Verson6 Chapter8
Chaing Ravuth
 
CCNA2 Verson6 Chapter9
CCNA2 Verson6 Chapter9CCNA2 Verson6 Chapter9
CCNA2 Verson6 Chapter9
Chaing Ravuth
 
CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7
Nil Menon
 
CCNA3 Verson6 Chapter4
CCNA3 Verson6 Chapter4CCNA3 Verson6 Chapter4
CCNA3 Verson6 Chapter4
Chaing Ravuth
 
CCNA2 Verson6 Chapter2
CCNA2 Verson6 Chapter2CCNA2 Verson6 Chapter2
CCNA2 Verson6 Chapter2
Chaing Ravuth
 
ACI MultiPod 구성
ACI MultiPod 구성ACI MultiPod 구성
ACI MultiPod 구성
Woo Hyung Choi
 
CCNA3 Verson6 Chapter5
CCNA3 Verson6 Chapter5CCNA3 Verson6 Chapter5
CCNA3 Verson6 Chapter5
Chaing Ravuth
 

What's hot (19)

Day 18 2 serial point to-point encapsulation
Day 18 2  serial point to-point encapsulationDay 18 2  serial point to-point encapsulation
Day 18 2 serial point to-point encapsulation
 
Chapter 21 : DHCP
Chapter 21 : DHCPChapter 21 : DHCP
Chapter 21 : DHCP
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8
 
Chapter 20 : access control lists
Chapter 20 : access control listsChapter 20 : access control lists
Chapter 20 : access control lists
 
IPv6 EIGRP
IPv6 EIGRPIPv6 EIGRP
IPv6 EIGRP
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
 
Ccna rse chp9 nat fo i_pv4
Ccna rse chp9 nat fo i_pv4Ccna rse chp9 nat fo i_pv4
Ccna rse chp9 nat fo i_pv4
 
Chapter 18 : routing dynamically
Chapter 18 : routing dynamicallyChapter 18 : routing dynamically
Chapter 18 : routing dynamically
 
CCNP Route EIGRP Overview
CCNP Route  EIGRP OverviewCCNP Route  EIGRP Overview
CCNP Route EIGRP Overview
 
CCNA (R & S) Module 04 - Scaling Networks - Chapter 4
CCNA (R & S) Module 04 - Scaling Networks - Chapter 4CCNA (R & S) Module 04 - Scaling Networks - Chapter 4
CCNA (R & S) Module 04 - Scaling Networks - Chapter 4
 
1800sg
1800sg1800sg
1800sg
 
ACI MultiPod Config Guide
ACI MultiPod Config GuideACI MultiPod Config Guide
ACI MultiPod Config Guide
 
CCNA3 Verson6 Chapter8
CCNA3 Verson6 Chapter8CCNA3 Verson6 Chapter8
CCNA3 Verson6 Chapter8
 
CCNA2 Verson6 Chapter9
CCNA2 Verson6 Chapter9CCNA2 Verson6 Chapter9
CCNA2 Verson6 Chapter9
 
CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7CCNA 1 Routing and Switching v5.0 Chapter 7
CCNA 1 Routing and Switching v5.0 Chapter 7
 
CCNA3 Verson6 Chapter4
CCNA3 Verson6 Chapter4CCNA3 Verson6 Chapter4
CCNA3 Verson6 Chapter4
 
CCNA2 Verson6 Chapter2
CCNA2 Verson6 Chapter2CCNA2 Verson6 Chapter2
CCNA2 Verson6 Chapter2
 
ACI MultiPod 구성
ACI MultiPod 구성ACI MultiPod 구성
ACI MultiPod 구성
 
CCNA3 Verson6 Chapter5
CCNA3 Verson6 Chapter5CCNA3 Verson6 Chapter5
CCNA3 Verson6 Chapter5
 

Similar to Dhc pv4

Chapter 10 - DHCP
Chapter 10 - DHCPChapter 10 - DHCP
Chapter 10 - DHCP
Yaser Rahmati
 
CCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCPCCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCP
Vuz Dở Hơi
 
CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10
Nil Menon
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptx
GeorgeThoreJr
 
Group-7-DHCPv4.pptx
Group-7-DHCPv4.pptxGroup-7-DHCPv4.pptx
Group-7-DHCPv4.pptx
IvanTabanag1
 
CCNA Exploration 4 - Chapter 7
CCNA Exploration 4 - Chapter 7CCNA Exploration 4 - Chapter 7
CCNA Exploration 4 - Chapter 7
Irsandi Hasan
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4
Nil Menon
 
CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1
Chaing Ravuth
 
Chapter 15 : routing concepts
Chapter 15 : routing conceptsChapter 15 : routing concepts
Chapter 15 : routing concepts
teknetir
 
Dhcp
DhcpDhcp
Chapter 04 - Routing Concepts
Chapter 04 - Routing ConceptsChapter 04 - Routing Concepts
Chapter 04 - Routing Concepts
Yaser Rahmati
 
KPUCC-Rs instructor ppt_chapter4_final
KPUCC-Rs instructor ppt_chapter4_finalKPUCC-Rs instructor ppt_chapter4_final
KPUCC-Rs instructor ppt_chapter4_final
Fisal Anwari
 
CCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing ConceptsCCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing Concepts
Vuz Dở Hơi
 
CCNA4 Verson6 Chapter2
CCNA4 Verson6 Chapter2CCNA4 Verson6 Chapter2
CCNA4 Verson6 Chapter2
Chaing Ravuth
 
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
Waqas Ahmed Nawaz
 
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
Vignesh kumar
 
Analyzing dhc pv6 stateful and stateless
Analyzing dhc pv6 stateful and statelessAnalyzing dhc pv6 stateful and stateless
Analyzing dhc pv6 stateful and stateless
Marco Canales NAveda
 
Protect Your DHCP Infrastructure from Cyber Attacks - Cybersecurity Training ...
Protect Your DHCP Infrastructure from Cyber Attacks - Cybersecurity Training ...Protect Your DHCP Infrastructure from Cyber Attacks - Cybersecurity Training ...
Protect Your DHCP Infrastructure from Cyber Attacks - Cybersecurity Training ...
Jiunn-Jer Sun
 
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
gogo6
 
CCNA DHCP (Dynamic Host Control Protocol)
CCNA DHCP (Dynamic Host Control Protocol)CCNA DHCP (Dynamic Host Control Protocol)
CCNA DHCP (Dynamic Host Control Protocol)
Networkel
 

Similar to Dhc pv4 (20)

Chapter 10 - DHCP
Chapter 10 - DHCPChapter 10 - DHCP
Chapter 10 - DHCP
 
CCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCPCCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCP
 
CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA 2 Routing and Switching v5.0 Chapter 10
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptx
 
Group-7-DHCPv4.pptx
Group-7-DHCPv4.pptxGroup-7-DHCPv4.pptx
Group-7-DHCPv4.pptx
 
CCNA Exploration 4 - Chapter 7
CCNA Exploration 4 - Chapter 7CCNA Exploration 4 - Chapter 7
CCNA Exploration 4 - Chapter 7
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4
 
CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1
 
Chapter 15 : routing concepts
Chapter 15 : routing conceptsChapter 15 : routing concepts
Chapter 15 : routing concepts
 
Dhcp
DhcpDhcp
Dhcp
 
Chapter 04 - Routing Concepts
Chapter 04 - Routing ConceptsChapter 04 - Routing Concepts
Chapter 04 - Routing Concepts
 
KPUCC-Rs instructor ppt_chapter4_final
KPUCC-Rs instructor ppt_chapter4_finalKPUCC-Rs instructor ppt_chapter4_final
KPUCC-Rs instructor ppt_chapter4_final
 
CCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing ConceptsCCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing Concepts
 
CCNA4 Verson6 Chapter2
CCNA4 Verson6 Chapter2CCNA4 Verson6 Chapter2
CCNA4 Verson6 Chapter2
 
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
 
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
 
Analyzing dhc pv6 stateful and stateless
Analyzing dhc pv6 stateful and statelessAnalyzing dhc pv6 stateful and stateless
Analyzing dhc pv6 stateful and stateless
 
Protect Your DHCP Infrastructure from Cyber Attacks - Cybersecurity Training ...
Protect Your DHCP Infrastructure from Cyber Attacks - Cybersecurity Training ...Protect Your DHCP Infrastructure from Cyber Attacks - Cybersecurity Training ...
Protect Your DHCP Infrastructure from Cyber Attacks - Cybersecurity Training ...
 
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
 
CCNA DHCP (Dynamic Host Control Protocol)
CCNA DHCP (Dynamic Host Control Protocol)CCNA DHCP (Dynamic Host Control Protocol)
CCNA DHCP (Dynamic Host Control Protocol)
 

Recently uploaded

Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 

Recently uploaded (20)

Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 

Dhc pv4

  • 1. Chapter 8: DHCP 1Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Routing and Switching Essentials v6.0
  • 2. Chapter 8 - Sections & Objectives 2Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential 1. DHCPv4 • 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. 2. DHCPv6 • Explain the operation of DHCPv6. • Configure stateless DHCPv6 for a small to medium-sized business. • Configure stateful DHCPv6 for a small to medium-sized business. • Troubleshoot a DHCP configuration for IPv6 in a switched network.
  • 3. 8.1 DHCPv4 3Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 4. DHCPv4 Operation Introducing DHCPv4 ▪ DHCPv4: ▪ assigns IPv4 addresses and other network configuration information dynamically ▪ useful and timesaving tool for network administrators ▪ dynamically assigns, or leases, an IPv4 address from a pool of addresses ▪ A Cisco router can be configured to provide DHCPv4services. ▪ Administrators configure DHCPv4 servers so that leases expire. Then the client must ask for another address, although the client is typically reassigned the same address. 4Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 5. DHCPv4 Operation DHCPv4 Operation 5Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 6. DHCPv4 Operation DHCPv4 Operation (cont.) 6Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 7. DHCPv4 Operation DHCPv4 Message Format 7Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 8. DHCPv4 Operation DHCPv4 Discover and Offer Messages 8Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 9. DHCPv4 Operation DHCPv4 Discover and Offer Messages (cont.) 9Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 10. Configure DHCPv4 Server Configure a Basic DHCPv4 Server A Cisco router running the Cisco IOS software can be configured toact as a DHCPv4 server. To set up DHCP: 1. Exclude addresses from the pool. 2. Set up the DHCP pool name. 3. Define the range of addresses and subnet mask. Use the default-routercommand for the default gateway. Optional parameters that can be included in the pool – dns server, domain-name. To disable DHCP, use the no service dhcp command. 10Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 11. Configure DHCPv4 Server Verifying DHCPv4 ▪ Commands to verify DHCP: sho w sho w sho w running-config | section dhcp ip dhcp binding ip dhcp server statistics ▪ On the PC, issue the ipconfig /all command. 11Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 12. Configure DHCPv4 Server DHCPv4 Relay 12Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 13. Configure DHCPv4 Server DHCPv4 Relay (cont.) ▪ Using an IP helper address enables a router to forwardDHCPv4 broadcasts to the DHCPv4 server. Acting as arelay. 13Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 14. Configure DHCPv4 Client Configuring a Router as a DHCPv4 client 14Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 15. Configure DHCPv4 Client Configuring a Wireless Router as a DHCPv4 Client 15Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 16. Troubleshooting DHCPv4 Troubleshooting Tasks 16Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 17. Troubleshooting DHCPv4 Verify Router DHCPv4 Configuration 17Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 18. Troubleshooting DHCPv4 Debugging DHCPv4 ▪ The figure shows an extended ACL permitting only packets with UDP destination ports of 67 or 68. These are the typical ports used by DHCPv4 clients and servers when sending DHCPv4 messages. The extended ACL is used with the debug ip packetcommand to display only DHCPv4 messages. 18Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 19. 8.2 DHCPv6 19Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 20. SLAAC and DHCPv6 Stateless Address Autoconfiguration (SLAAC) ▪ SLAAC uses ICMPv6 Router Solicitation and Router Advertisement messages to provide addressing and other configuration information that would normally be provided by a DHCP server: 20Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 21. SLAAC and DHCPv6 SLAAC Operation ▪ A router must have IPv6 routing enabled before it can sendRA messages: Router(config)# ipv6 unicast-routing 21Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 22. SLAAC and DHCPv6 SLAAC and DHCPv6 22Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 23. SLAAC and DHCPv6 SLAAC Option ▪ SLAAC is the default option on Cisco routers. Both the M flag and the O flag are set to 0 in the RA, as shown in the figure. 23Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 24. SLAAC and DHCPv6 Stateless DHCPv6 Option ▪ To modify the RA message sent on the interface of a router to indicate stateless DHCPv6, use the following command: Router(config- if)# ipv6 nd other-config-flag 24Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 25. SLAAC and DHCPv6 Stateful DHCPv6 Option ▪ This option is the most similar to DHCPv4. In this case, the RA message informs the client not to use the information in the RA message. All addressing information and configuration information must be obtained from a stateful DHCPv6 server. Router(config-if)# ipv6 nd managed-config-flag 25Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 26. SLAAC and DHCPv6 DHCPv6 Operations If stateless or stateful DHCPv6 is indicated in the RA message, then the device begins DHCPv6 client/server communications. 26Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 27. Stateless DHCPv6 Configuring a Router as a Stateless DHCPv6 Server 27Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 28. Stateless DHCPv6 Configuring a Router as a Stateless DHCPv6 Client 28Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 29. Stateless DHCPv6 Verifying Stateless DHCPv6 Verify the stateless DHCP client using the following commands: ▪ show ipv6 interface ▪ debug ipv6 dhcp detail 29Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 30. Stateful DHCPv6 Server Configuring a Router as a Stateful DHCPv6 Server 30Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 31. Stateful DHCPv6 Server Configuring a Router as a Stateful DHCPv6 Server (cont.) 31Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 32. Stateful DHCPv6 Server Configuring a Router as a Stateful DHCPv6 Client 32Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 33. Stateful DHCPv6 Server Verifying Stateful DHCPv6 33Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 34. Stateful DHCPv6 Server Verifying Stateful DHCPv6 (cont.) 34Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 35. Stateful DHCPv6 35Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configuring a Router as a DHCPv6 Relay Agent
  • 36. Troubleshooting DHCPv6 Troubleshooting Tasks 36Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 37. Troubleshooting DHCPv6 Verify Router DHCPv6 Configuration 37Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 38. Troubleshooting DHCPv6 Debugging DHCPv6 38Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 39. 8.3 Summary 39Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 40. ▪ 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. ▪ Configure stateless DHCPv6 for a small to medium-sized business. ▪ Configure stateful DHCPv6 for a small to medium-sized business. ▪ Troubleshoot a DHCP configuration for IPv6 in a switched network. 40Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter Summary Summary
  • 41. 41Presentation_ID © 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential