SlideShare a Scribd company logo
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1
Chapter 8: DHCP
Routing and Switching Essentials v6.0
Presentation_ID 2© 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 DHCPv4 services.
 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.
Presentation_ID 3© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Operation
Presentation_ID 4© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Operation (cont.)
Presentation_ID 5© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Message Format
Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Discover and Offer Messages
Presentation_ID 7© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
DHCPv4 Operation
DHCPv4 Discover and Offer Messages
(cont.)
Presentation_ID 8© 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 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 9© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure DHCPv4 Server
Verifying DHCPv4
 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 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure DHCPv4 Server
DHCPv4 Relay
Presentation_ID 11© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure DHCPv4 Server
DHCPv4 Relay (cont.)
 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
Configure DHCPv4 Client
Configuring a Router as a DHCPv4 client
Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Configure DHCPv4 Client
Configuring a Wireless Router as a DHCPv4
Client
Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv4
Troubleshooting Tasks
Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv4
Verify Router DHCPv4 Configuration
Presentation_ID 16© 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 packet command to
display only DHCPv4 messages.
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 17
8.2 DHCPv6
Presentation_ID 18© 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:
Presentation_ID 19© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
SLAAC Operation
 A router must have IPv6 routing enabled before it can send RA
messages: Router(config)# ipv6 unicast-routing
Presentation_ID 20© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
SLAAC and DHCPv6
SLAAC and DHCPv6
Presentation_ID 21© 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.
Presentation_ID 22© 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
Presentation_ID 23© 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
Presentation_ID 24© 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.
Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateless DHCPv6
Configuring a Router as a Stateless DHCPv6
Server
Presentation_ID 26© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateless DHCPv6
Configuring a Router as a Stateless DHCPv6
Client
Presentation_ID 27© 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 28© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6 Server
Configuring a Router as a Stateful DHCPv6
Server
Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6 Server
Configuring a Router as a Stateful DHCPv6
Server (cont.)
Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6 Server
Configuring a Router as a Stateful DHCPv6
Client
Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6 Server
Verifying Stateful DHCPv6
Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6 Server
Verifying Stateful DHCPv6 (cont.)
Presentation_ID 33© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Stateful DHCPv6
Configuring a Router as a DHCPv6 Relay
Agent
Presentation_ID 34© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv6
Troubleshooting Tasks
Presentation_ID 35© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv6
Verify Router DHCPv6 Configuration
Presentation_ID 36© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Troubleshooting DHCPv6
Debugging DHCPv6
© 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 37
8.3 Summary
Presentation_ID 38© 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.
Chapter Summary
Summary
Presentation_ID 41© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
Presentation_ID 42© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential

More Related Content

PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 4
PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 7
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 10
PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 5
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6
PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 8
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 1
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 5
CCNA (R & S) Module 02 - Connecting Networks - Chapter 4
CCNA (R & S) Module 02 - Connecting Networks - Chapter 7
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 10
CCNA (R & S) Module 02 - Connecting Networks - Chapter 5
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 6
CCNA (R & S) Module 02 - Connecting Networks - Chapter 8
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 1
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 5

What's hot (20)

PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 7
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 4
PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 3
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 11
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 7
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10
PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 1
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 4
PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
PPTX
CCNA v6.0 ITN - Chapter 06
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 8
PPTX
CCNA2 Verson6 Chapter10
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 10
PPTX
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 2
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 1
PPTX
CCNA4 Verson6 Chapter6
PPTX
Chapter 20 : access control lists
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 11
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 6
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 7
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 4
CCNA (R & S) Module 02 - Connecting Networks - Chapter 3
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 11
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 7
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10
CCNA (R & S) Module 02 - Connecting Networks - Chapter 1
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 4
CCNA (R & S) Module 02 - Connecting Networks - Chapter 2
CCNA v6.0 ITN - Chapter 06
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 8
CCNA2 Verson6 Chapter10
CCNA 2 Routing and Switching v5.0 Chapter 10
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 2
CCNA (R & S) Module 04 - Scaling Networks - Chapter 1
CCNA4 Verson6 Chapter6
Chapter 20 : access control lists
CCNA 1 Routing and Switching v5.0 Chapter 11
Ad

Similar to CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8 (20)

PPTX
CCNA2 Verson6 Chapter8
PPTX
Dhc pv4
PPTX
Chapter 21 : DHCP
PDF
CCNAv5 - S2: Chapter10 DHCP
PPTX
Dynamic Host Configuration Protocol
PPTX
Module (8) DHCP Server.pptx
PPTX
Group-7-DHCPv4.pptx
PPTX
DHCP Services (Ipv4 & 6).pptx
PPTX
CCNA2 Verson6 Chapter2
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 2
PPTX
IPv6 DHCP
PPTX
CCNA2 Verson6 Chapter1
PDF
CCNAv5 - S2: Chapter4 Routing Concepts
PPTX
KPUCC-Rs instructor ppt_chapter4_final
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
PPTX
Chapter 15 : routing concepts
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 4
PPTX
Ccna rse chp2
PPT
1 Routing Concepts-students to download only.ppt
PPTX
static routing slide lab.pptx
CCNA2 Verson6 Chapter8
Dhc pv4
Chapter 21 : DHCP
CCNAv5 - S2: Chapter10 DHCP
Dynamic Host Configuration Protocol
Module (8) DHCP Server.pptx
Group-7-DHCPv4.pptx
DHCP Services (Ipv4 & 6).pptx
CCNA2 Verson6 Chapter2
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 2
IPv6 DHCP
CCNA2 Verson6 Chapter1
CCNAv5 - S2: Chapter4 Routing Concepts
KPUCC-Rs instructor ppt_chapter4_final
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 1
Chapter 15 : routing concepts
CCNA 2 Routing and Switching v5.0 Chapter 4
Ccna rse chp2
1 Routing Concepts-students to download only.ppt
static routing slide lab.pptx
Ad

More from Waqas Ahmed Nawaz (12)

PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 9
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 8
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 7
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 6
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 5
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 4
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 2
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 10
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9
PPTX
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 6
CCNA (R & S) Module 04 - Scaling Networks - Chapter 9
CCNA (R & S) Module 04 - Scaling Networks - Chapter 8
CCNA (R & S) Module 04 - Scaling Networks - Chapter 7
CCNA (R & S) Module 04 - Scaling Networks - Chapter 6
CCNA (R & S) Module 04 - Scaling Networks - Chapter 5
CCNA (R & S) Module 04 - Scaling Networks - Chapter 4
CCNA (R & S) Module 04 - Scaling Networks - Chapter 3
CCNA (R & S) Module 04 - Scaling Networks - Chapter 2
CCNA (R & S) Module 04 - Scaling Networks - Chapter 10
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 9
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 3
CCNA (R & S) Module 02 - Connecting Networks - Chapter 6

Recently uploaded (20)

PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Classroom Observation Tools for Teachers
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Basic Mud Logging Guide for educational purpose
Classroom Observation Tools for Teachers
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Abdominal Access Techniques with Prof. Dr. R K Mishra
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
human mycosis Human fungal infections are called human mycosis..pptx
Complications of Minimal Access Surgery at WLH
Anesthesia in Laparoscopic Surgery in India
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Pharma ospi slides which help in ospi learning
Insiders guide to clinical Medicine.pdf
Institutional Correction lecture only . . .
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPH.pptx obstetrics and gynecology in nursing
Renaissance Architecture: A Journey from Faith to Humanism
Supply Chain Operations Speaking Notes -ICLT Program
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx

CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8

  • 1. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 1 Chapter 8: DHCP Routing and Switching Essentials v6.0
  • 2. Presentation_ID 2© 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 DHCPv4 services.  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.
  • 3. Presentation_ID 3© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation DHCPv4 Operation
  • 4. Presentation_ID 4© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation DHCPv4 Operation (cont.)
  • 5. Presentation_ID 5© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation DHCPv4 Message Format
  • 6. Presentation_ID 6© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation DHCPv4 Discover and Offer Messages
  • 7. Presentation_ID 7© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential DHCPv4 Operation DHCPv4 Discover and Offer Messages (cont.)
  • 8. Presentation_ID 8© 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 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.
  • 9. Presentation_ID 9© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure DHCPv4 Server Verifying DHCPv4  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.
  • 10. Presentation_ID 10© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure DHCPv4 Server DHCPv4 Relay
  • 11. Presentation_ID 11© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure DHCPv4 Server DHCPv4 Relay (cont.)  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 Configure DHCPv4 Client Configuring a Router as a DHCPv4 client
  • 13. Presentation_ID 13© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Configure DHCPv4 Client Configuring a Wireless Router as a DHCPv4 Client
  • 14. Presentation_ID 14© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshooting DHCPv4 Troubleshooting Tasks
  • 15. Presentation_ID 15© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshooting DHCPv4 Verify Router DHCPv4 Configuration
  • 16. Presentation_ID 16© 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 packet command to display only DHCPv4 messages.
  • 17. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 17 8.2 DHCPv6
  • 18. Presentation_ID 18© 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:
  • 19. Presentation_ID 19© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential SLAAC and DHCPv6 SLAAC Operation  A router must have IPv6 routing enabled before it can send RA messages: Router(config)# ipv6 unicast-routing
  • 20. Presentation_ID 20© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential SLAAC and DHCPv6 SLAAC and DHCPv6
  • 21. Presentation_ID 21© 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.
  • 22. Presentation_ID 22© 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
  • 23. Presentation_ID 23© 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
  • 24. Presentation_ID 24© 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.
  • 25. Presentation_ID 25© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateless DHCPv6 Configuring a Router as a Stateless DHCPv6 Server
  • 26. Presentation_ID 26© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateless DHCPv6 Configuring a Router as a Stateless DHCPv6 Client
  • 27. Presentation_ID 27© 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
  • 28. Presentation_ID 28© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateful DHCPv6 Server Configuring a Router as a Stateful DHCPv6 Server
  • 29. Presentation_ID 29© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateful DHCPv6 Server Configuring a Router as a Stateful DHCPv6 Server (cont.)
  • 30. Presentation_ID 30© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateful DHCPv6 Server Configuring a Router as a Stateful DHCPv6 Client
  • 31. Presentation_ID 31© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateful DHCPv6 Server Verifying Stateful DHCPv6
  • 32. Presentation_ID 32© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateful DHCPv6 Server Verifying Stateful DHCPv6 (cont.)
  • 33. Presentation_ID 33© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Stateful DHCPv6 Configuring a Router as a DHCPv6 Relay Agent
  • 34. Presentation_ID 34© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshooting DHCPv6 Troubleshooting Tasks
  • 35. Presentation_ID 35© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshooting DHCPv6 Verify Router DHCPv6 Configuration
  • 36. Presentation_ID 36© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential Troubleshooting DHCPv6 Debugging DHCPv6
  • 37. © 2008 Cisco Systems, Inc. All rights reserved. Cisco ConfidentialPresentation_ID 37 8.3 Summary
  • 38. Presentation_ID 38© 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. Chapter Summary Summary
  • 39. Presentation_ID 41© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential
  • 40. Presentation_ID 42© 2008 Cisco Systems, Inc. All rights reserved. Cisco Confidential