SlideShare una empresa de Scribd logo
1 de 36
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1
Chapter 10:
DHCP
Routing & Switching
Presentation_ID 2© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 10
10.0 Introduction
10.1 Dynamic Host Configuration Protocol v4
10.2 Dynamic Host Configuration Protocol v6
10.3 Summary
Presentation_ID 3© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 10: Objectives
 Describe the operation of DHCPv4 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 a stateless DHCPv6 for a small-to-medium-sized
business.
 Configure a stateful DHCPv6 for a small-to-medium-sized
business.
 Troubleshoot a DHCP configuration for IPv6 in a switched
network.
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 4
10.1 Dynamic Host
Configuration Protocol v4
Presentation_ID 5© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
Introducing DHCPv4
DHCPv4 uses three different address allocation methods:
 Manual Allocation – The administrator assigns a pre-allocated IPv4
address to the client, and DHCPv4 communicates only the IPv4
address to the device.
 Automatic Allocation – DHCPv4 automatically assigns a static IPv4
address permanently to a device, selecting it from a pool of available
addresses.
 Dynamic Allocation – DHCPv4 dynamically assigns, or leases, an
IPv4 address from a pool of addresses for a limited period of time
chosen by the server, or until the client no longer needs the address.
This method is the most commonly used.
Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Operation
Presentation_ID 7© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Message Format
Presentation_ID 8© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
Format DHCPv4 Discover and Offer Messages
Presentation_ID 9© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
Configuring a DHCPv4 Server
A Cisco router running the Cisco IOS software can be configured to act
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-router command 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.
Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
Verifying a DHCPv4 Server
 Commands to verify DHCP:
show running-config | section dhcp
show ip dhcp binding
show ip dhcp server statistics
 On the PC, issue the ipconfig /all command.
Presentation_ID 11© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Relay
Using an IP helper address enables a router to forward DHCPv4
broadcasts to the DHCPv4 server. Acting as a relay.
Presentation_ID 12© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configuring a DHCPv4 Client
Configuring a Router as a DHCPv4 Client
Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshoot DHCPv4
Troubleshooting Tasks
Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshoot DHCPv4
Verifying the Router DHCPv4
Configuration
Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshoot DHCPv4
Debugging DHCPv4
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 16
10.2 Dynamic Host
Configuration Protocol v6
Presentation_ID 17© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
Stateless Address Autoconfiguration
Stateless Address Autoconfiguration (SLAAC) is a method in which a
device can obtain an IPv6 global unicast address without the services
of a DHCPv6 server.
Presentation_ID 18© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
SLAAC Operation
Presentation_ID 19© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
SLAAC and DHCPv6
Presentation_ID 20© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
SLAAC Option
Presentation_ID 21© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
Stateless DHCP Option
Presentation_ID 22© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
Stateful DHCP Option
Presentation_ID 23© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
DHCPv6 Operations
Presentation_ID 24© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateless DHCPv6
Configuring a Router as a Stateless
DHCPv6 Server
Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateless DHCPv6
Configuring a Router as a Stateless
DHCPv6 Client
Presentation_ID 26© 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
Presentation_ID 27© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6
Configuring a Router as a Stateful DHCPv6
Server
Presentation_ID 28© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6
Verifying Stateful DHCPv6
 Verify the stateful DHCPv6 server using the following commands:
show ipv6 dhcp pool
show ipv6 dhcp binding
 Verify the stateful DHCPv6 client using the show ipv6
interface command.
Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6
Configuring a Router as a Stateful DHCPv6
Relay Agent
Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv6
Troubleshooting Tasks
Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv6
Verifying the Router DHCPv6 Configuration
Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv6
Debugging DHCPv6
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 33
10.3 Summary
Presentation_ID 34© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 10: Summary
 All nodes on a network require a unique IP address to communicate
with other devices.
 DHCPv4 includes three different address allocation methods:
Manual Allocation
Automatic Allocation
Dynamic Allocation
 There are two methods available for the dynamic configuration of
IPv6 global unicast addresses:
Stateless Address Autoconfiguration (SLAAC)
Dynamic Host Configuration Protocol for IPv6 (Stateful
DHCPv6)
Presentation_ID 35© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Chapter 10: Summary (cont.)
The same tasks are involved when troubleshooting DHCPv4 and
DHCPv6:
 Resolve address conflicts.
 Verify physical connectivity.
 Test connectivity using a static IP address.
 Verify the switch port configuration.
 Test the operation on the same subnet or VLAN.
Presentation_ID 36© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential

Más contenido relacionado

La actualidad más candente

Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
asimnawaz54
 

La actualidad más candente (20)

Cisco IPv6 Tutorial
Cisco IPv6 TutorialCisco IPv6 Tutorial
Cisco IPv6 Tutorial
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)
 
Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Ccnp workbook network bulls
Ccnp workbook network bullsCcnp workbook network bulls
Ccnp workbook network bulls
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
IP Routing Tutorial
IP Routing TutorialIP Routing Tutorial
IP Routing Tutorial
 
Cisco CCNA- DHCP Server
Cisco CCNA-  DHCP ServerCisco CCNA-  DHCP Server
Cisco CCNA- DHCP Server
 
A very good introduction to IPv6
A very good introduction to IPv6A very good introduction to IPv6
A very good introduction to IPv6
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
DHCP Protocol
DHCP ProtocolDHCP Protocol
DHCP Protocol
 
IPv6
IPv6IPv6
IPv6
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guide
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
DHCP
DHCPDHCP
DHCP
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
DHCP & DNS
DHCP & DNSDHCP & DNS
DHCP & DNS
 
First hop redundancy
First hop redundancyFirst hop redundancy
First hop redundancy
 

Destacado

Networking Project(FINAL)
Networking Project(FINAL)Networking Project(FINAL)
Networking Project(FINAL)
Priyojit Das
 

Destacado (15)

Dhcp with cisco
Dhcp with ciscoDhcp with cisco
Dhcp with cisco
 
Dhcp cisco
Dhcp ciscoDhcp cisco
Dhcp cisco
 
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
 
Chapter 08 - Single-Area OSPF
Chapter 08 - Single-Area OSPFChapter 08 - Single-Area OSPF
Chapter 08 - Single-Area OSPF
 
Chapter 07 - Routing Dynamically
Chapter 07 - Routing DynamicallyChapter 07 - Routing Dynamically
Chapter 07 - Routing Dynamically
 
CCNA practice quiz student
CCNA practice quiz studentCCNA practice quiz student
CCNA practice quiz student
 
Open Systems Interconnection (OSI) model
Open Systems Interconnection (OSI) modelOpen Systems Interconnection (OSI) model
Open Systems Interconnection (OSI) model
 
Solid state devices rajni tripathi
Solid state devices   rajni tripathiSolid state devices   rajni tripathi
Solid state devices rajni tripathi
 
Ch01 solid state electronic devices
Ch01 solid state electronic devicesCh01 solid state electronic devices
Ch01 solid state electronic devices
 
How to configure cisco router password
How to configure cisco router passwordHow to configure cisco router password
How to configure cisco router password
 
Introduction to MongoDB with PHP
Introduction to MongoDB with PHPIntroduction to MongoDB with PHP
Introduction to MongoDB with PHP
 
Networking Project(FINAL)
Networking Project(FINAL)Networking Project(FINAL)
Networking Project(FINAL)
 
Chapter 10 - Application Layer
Chapter 10 - Application LayerChapter 10 - Application Layer
Chapter 10 - Application Layer
 
Dhcp commandas
Dhcp commandasDhcp commandas
Dhcp commandas
 
OSPF- Multi area
OSPF- Multi area OSPF- Multi area
OSPF- Multi area
 

Similar a Chapter 10 - DHCP

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
 

Similar a Chapter 10 - DHCP (20)

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
 
CCNA2 Verson6 Chapter8
CCNA2 Verson6 Chapter8CCNA2 Verson6 Chapter8
CCNA2 Verson6 Chapter8
 
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
 
Dhc pv4
Dhc pv4Dhc pv4
Dhc pv4
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
 
CCNA Exploration 4 - Chapter 7
CCNA Exploration 4 - Chapter 7CCNA Exploration 4 - Chapter 7
CCNA Exploration 4 - Chapter 7
 
Group-7-DHCPv4.pptx
Group-7-DHCPv4.pptxGroup-7-DHCPv4.pptx
Group-7-DHCPv4.pptx
 
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
 
Chapter 7 implementing ip addressing services
Chapter 7   implementing ip addressing servicesChapter 7   implementing ip addressing services
Chapter 7 implementing ip addressing services
 
CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1CCNA2 Verson6 Chapter1
CCNA2 Verson6 Chapter1
 
CCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 Routing ConceptsCCNAv5 - S2: Chapter4 Routing Concepts
CCNAv5 - S2: Chapter4 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
 
Chapter 04 - Routing Concepts
Chapter 04 - Routing ConceptsChapter 04 - Routing Concepts
Chapter 04 - Routing Concepts
 
Chapter 15 : routing concepts
Chapter 15 : routing conceptsChapter 15 : routing concepts
Chapter 15 : routing concepts
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptx
 
Day 17.1 nat pat
Day 17.1 nat pat Day 17.1 nat pat
Day 17.1 nat pat
 
cisco-nti-Day18
cisco-nti-Day18cisco-nti-Day18
cisco-nti-Day18
 
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
 
7 slaac-rick graziani
7 slaac-rick graziani7 slaac-rick graziani
7 slaac-rick graziani
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
 

Más de Yaser Rahmati

Más de Yaser Rahmati (20)

Cisco WLAN - Chapter. 08 : Applications, Design, and Site Survey Preparation
Cisco WLAN - Chapter. 08 : Applications, Design, and Site Survey  PreparationCisco WLAN - Chapter. 08 : Applications, Design, and Site Survey  Preparation
Cisco WLAN - Chapter. 08 : Applications, Design, and Site Survey Preparation
 
Cisco WLAN - Chapter. 07 : Antennas
Cisco WLAN - Chapter. 07 : AntennasCisco WLAN - Chapter. 07 : Antennas
Cisco WLAN - Chapter. 07 : Antennas
 
Cisco WLAN - Chapter. 06 : bridges
Cisco WLAN - Chapter. 06 : bridgesCisco WLAN - Chapter. 06 : bridges
Cisco WLAN - Chapter. 06 : bridges
 
Cisco WLAN - Chapter. 05 : Access Points
Cisco WLAN - Chapter. 05 : Access PointsCisco WLAN - Chapter. 05 : Access Points
Cisco WLAN - Chapter. 05 : Access Points
 
Cisco WLAN - Chapter. 03 : wireless radio technology
Cisco WLAN - Chapter. 03 : wireless radio technologyCisco WLAN - Chapter. 03 : wireless radio technology
Cisco WLAN - Chapter. 03 : wireless radio technology
 
Cisco WLAN - Chapter. 04 : wireless topologies
Cisco WLAN - Chapter. 04 : wireless topologiesCisco WLAN - Chapter. 04 : wireless topologies
Cisco WLAN - Chapter. 04 : wireless topologies
 
Cisco WLAN - Chapter. 02 : Part 3 – 802.11 phy
Cisco WLAN -  Chapter. 02 : Part 3 – 802.11 phyCisco WLAN -  Chapter. 02 : Part 3 – 802.11 phy
Cisco WLAN - Chapter. 02 : Part 3 – 802.11 phy
 
Cisco WLAN - Chapter. 02 : Part 2 – 802.11 MAC
Cisco WLAN -  Chapter. 02 : Part 2 – 802.11 MACCisco WLAN -  Chapter. 02 : Part 2 – 802.11 MAC
Cisco WLAN - Chapter. 02 : Part 2 – 802.11 MAC
 
Cisco WLAN - Chapter. 02 : Part 1 – 802.11 MAC and Cisco Client Adapters
Cisco WLAN -  Chapter. 02 :  Part 1 – 802.11 MAC and Cisco Client AdaptersCisco WLAN -  Chapter. 02 :  Part 1 – 802.11 MAC and Cisco Client Adapters
Cisco WLAN - Chapter. 02 : Part 1 – 802.11 MAC and Cisco Client Adapters
 
Cisco WLAN - Chapter. 01 : Overview of Wireless LANs
Cisco WLAN -  Chapter. 01 : Overview of Wireless LANsCisco WLAN -  Chapter. 01 : Overview of Wireless LANs
Cisco WLAN - Chapter. 01 : Overview of Wireless LANs
 
MTCNA - MikroTik Certified Network Associate - v2
MTCNA - MikroTik Certified Network Associate - v2MTCNA - MikroTik Certified Network Associate - v2
MTCNA - MikroTik Certified Network Associate - v2
 
Chapter 11 - Network Address Translation for IPv4
Chapter 11 - Network Address Translation for IPv4Chapter 11 - Network Address Translation for IPv4
Chapter 11 - Network Address Translation for IPv4
 
Chapter 09 - Access Control Lists
Chapter 09 - Access Control ListsChapter 09 - Access Control Lists
Chapter 09 - Access Control Lists
 
Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static Routing
 
Chapter 05 - Inter-VLAN Routing
Chapter 05 - Inter-VLAN RoutingChapter 05 - Inter-VLAN Routing
Chapter 05 - Inter-VLAN Routing
 
Chapter 02 - Introduction to Switched Networks
Chapter 02 - Introduction to Switched NetworksChapter 02 - Introduction to Switched Networks
Chapter 02 - Introduction to Switched Networks
 
Chapter 03 - VLANs
Chapter 03 - VLANsChapter 03 - VLANs
Chapter 03 - VLANs
 
Chapter 01 - Introduction to Switched Networks
Chapter 01 - Introduction to Switched NetworksChapter 01 - Introduction to Switched Networks
Chapter 01 - Introduction to Switched Networks
 
Chapter 11 - It’s a Network
Chapter 11 - It’s a NetworkChapter 11 - It’s a Network
Chapter 11 - It’s a Network
 
Chapter 09 - Subnetting IP Networks
Chapter 09 - Subnetting IP NetworksChapter 09 - Subnetting IP Networks
Chapter 09 - Subnetting IP Networks
 

Último

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
 

Último (20)

On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
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
 
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
 
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
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
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
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
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.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Chapter 10 - DHCP

  • 1. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching
  • 2. Presentation_ID 2© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 10 10.0 Introduction 10.1 Dynamic Host Configuration Protocol v4 10.2 Dynamic Host Configuration Protocol v6 10.3 Summary
  • 3. Presentation_ID 3© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 10: Objectives  Describe the operation of DHCPv4 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 a stateless DHCPv6 for a small-to-medium-sized business.  Configure a stateful DHCPv6 for a small-to-medium-sized business.  Troubleshoot a DHCP configuration for IPv6 in a switched network.
  • 4. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 4 10.1 Dynamic Host Configuration Protocol v4
  • 5. Presentation_ID 5© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation Introducing DHCPv4 DHCPv4 uses three different address allocation methods:  Manual Allocation – The administrator assigns a pre-allocated IPv4 address to the client, and DHCPv4 communicates only the IPv4 address to the device.  Automatic Allocation – DHCPv4 automatically assigns a static IPv4 address permanently to a device, selecting it from a pool of available addresses.  Dynamic Allocation – DHCPv4 dynamically assigns, or leases, an IPv4 address from a pool of addresses for a limited period of time chosen by the server, or until the client no longer needs the address. This method is the most commonly used.
  • 6. Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation DHCPv4 Operation
  • 7. Presentation_ID 7© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation DHCPv4 Message Format
  • 8. Presentation_ID 8© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation Format DHCPv4 Discover and Offer Messages
  • 9. Presentation_ID 9© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation Configuring a DHCPv4 Server A Cisco router running the Cisco IOS software can be configured to act 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-router command 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.
  • 10. Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation Verifying a DHCPv4 Server  Commands to verify DHCP: show running-config | section dhcp show ip dhcp binding show ip dhcp server statistics  On the PC, issue the ipconfig /all command.
  • 11. Presentation_ID 11© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation DHCPv4 Relay Using an IP helper address enables a router to forward DHCPv4 broadcasts to the DHCPv4 server. Acting as a relay.
  • 12. Presentation_ID 12© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configuring a DHCPv4 Client Configuring a Router as a DHCPv4 Client
  • 13. Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshoot DHCPv4 Troubleshooting Tasks
  • 14. Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshoot DHCPv4 Verifying the Router DHCPv4 Configuration
  • 15. Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshoot DHCPv4 Debugging DHCPv4
  • 16. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 16 10.2 Dynamic Host Configuration Protocol v6
  • 17. Presentation_ID 17© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential SLAAC and DHCPv6 Stateless Address Autoconfiguration Stateless Address Autoconfiguration (SLAAC) is a method in which a device can obtain an IPv6 global unicast address without the services of a DHCPv6 server.
  • 18. Presentation_ID 18© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential SLAAC and DHCPv6 SLAAC Operation
  • 19. Presentation_ID 19© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential SLAAC and DHCPv6 SLAAC and DHCPv6
  • 20. Presentation_ID 20© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential SLAAC and DHCPv6 SLAAC Option
  • 21. Presentation_ID 21© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential SLAAC and DHCPv6 Stateless DHCP Option
  • 22. Presentation_ID 22© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential SLAAC and DHCPv6 Stateful DHCP Option
  • 23. Presentation_ID 23© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential SLAAC and DHCPv6 DHCPv6 Operations
  • 24. Presentation_ID 24© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateless DHCPv6 Configuring a Router as a Stateless DHCPv6 Server
  • 25. Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateless DHCPv6 Configuring a Router as a Stateless DHCPv6 Client
  • 26. Presentation_ID 26© 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
  • 27. Presentation_ID 27© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateful DHCPv6 Configuring a Router as a Stateful DHCPv6 Server
  • 28. Presentation_ID 28© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateful DHCPv6 Verifying Stateful DHCPv6  Verify the stateful DHCPv6 server using the following commands: show ipv6 dhcp pool show ipv6 dhcp binding  Verify the stateful DHCPv6 client using the show ipv6 interface command.
  • 29. Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateful DHCPv6 Configuring a Router as a Stateful DHCPv6 Relay Agent
  • 30. Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshooting DHCPv6 Troubleshooting Tasks
  • 31. Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshooting DHCPv6 Verifying the Router DHCPv6 Configuration
  • 32. Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshooting DHCPv6 Debugging DHCPv6
  • 33. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 33 10.3 Summary
  • 34. Presentation_ID 34© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 10: Summary  All nodes on a network require a unique IP address to communicate with other devices.  DHCPv4 includes three different address allocation methods: Manual Allocation Automatic Allocation Dynamic Allocation  There are two methods available for the dynamic configuration of IPv6 global unicast addresses: Stateless Address Autoconfiguration (SLAAC) Dynamic Host Configuration Protocol for IPv6 (Stateful DHCPv6)
  • 35. Presentation_ID 35© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Chapter 10: Summary (cont.) The same tasks are involved when troubleshooting DHCPv4 and DHCPv6:  Resolve address conflicts.  Verify physical connectivity.  Test connectivity using a static IP address.  Verify the switch port configuration.  Test the operation on the same subnet or VLAN.
  • 36. Presentation_ID 36© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential