Ch.8 Dynamic IPv6 Address Allocation

Slides:



Advertisements
Similar presentations
11: IPv6 Routing Table and Static Routes
Advertisements

10: ICMPv6 Neighbor Discovery
DHCPv6.
Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
1 IPv6. 2 Problem: 32-bit address space will be completely allocated by Solution: Design a new IP with a larger address space, called the IP version.
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-1 IPv6 Operations Defining and Configuring Neighbor Discovery.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: IP Addressing Introduction to Networks.
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada Regional Cisco Networking Academy Conference.
5: Link-Local Addresses Rick Graziani Cabrillo College
6: IPv6 Multicast Addresses
HELP! I Need to Learn IPv6! or 60 IPv6 Slides in 60 minutes!
Host Autoconfiguration ALTTC, Ghaziabad. IPv4 Address and IPv6 equivalents ALTTC, Ghaziabad.
Chapter 8b Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the structure of an IPv4 address.  Describe.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
4: Global Unicast Addresses (GUA) Rick Graziani Cabrillo College
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada DHCPv6 and IPv6 Automatic Address Allocation.
7: SLAAC (Stateless Address Autoconfiguration) Rick Graziani Cabrillo College
8: DHCPv6 (Dynamic Host Configuration Protocol for IPv6)
Understanding IPv6 - Addressing & Subnetting Part 3
Guide to TCP/IP Fourth Edition
1 © 2012 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada ICMPv6 & Neighbor Discovery Protocol: Learn It.
9: Introduction to ICMPv6 Rick Graziani Cabrillo College
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
بسم الله الرحمن الرحیم. Why ip V6 ip V4 Addressing Ip v4 :: 32-bits :: :: written in dotted decimal :: :: ::
Guide to TCP/IP Fourth Edition
Summary of Certification Process (part 1). IPv6 Client IPv6 packets inside IPv4 packets.
IPv6 Address autoconfiguration stateless & stateful.
IPv6 Autoconfiguration Stateless and Stateful. Copy... Rights This slide set is the ownership of the 6DISS project via its partners The Powerpoint version.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv6 Introduction to Networks.
SLAAC and DHCPv6 Got IPv6? Rick Graziani Cabrillo College
Chapter 8: IP Addressing
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 IPv6 Introduction to Networks & Routing and Switching Essentials.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
Rick Graziani Cabrillo College Fall 2013.
Got IPv6? SLAAC and DHCPv6 Rick Graziani Cabrillo College
Rick Graziani Cabrillo College Fall 2013.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v3.0—8-1 Implementing IPv6 Implementing Dynamic IPv6 Addresses.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 8 Lesson 3 1 BSCI Module 8 Lesson 3 Implementing Dynamic IPv6 Addresses.
Module 6: IPv6 Fundamentals. Introduction to IPv6 Unicast IPv6 Addresses Configuring IPv6.
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada Regional Cisco Networking Academy Conference.
IPv6 Host IP Addressing Julian CPE SW1 ZyXEL March 14, 2008.
IPv6 (Internet Protocol V. 6)
Cisco I Introduction to Networks Semester 1 Chapter 8 JEOPADY.
CHAPTER 10: DHCP Routing & Switching. Objectives 10.0 Introduction 10.1 Dynamic Host Configuration Protocol v Dynamic Host Configuration Protocol.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID Dynamic Host Configuration Protocol v6.
Chapter 5d.  Upon completion of this chapter, you should be able to:  Explain the need for IPv6 addressing.  Describe the representation of an IPv6.
Instructor Materials Chapter 7: IP Addressing
Instructor Materials Chapter 4: Network Addressing
Instructor Materials Chapter 8: DHCP
Instructor Materials Chapter 7: IP Addressing
IPv6/Hexadecimal Objectives:
IPv6 Addressing: Learn It
Internet ProtoCOL Version 6 I/II
IPv6 Overview Address space Address types IPv6 and Tunneling.
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
IPv6 Addressing Overview IPv6 increases the number of address bits by a factor of 4, from 32 to 128, providing a very large number of addressable.
Ipv6 addressing Chapter 5d.
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Ch.9 Stateless Address Autoconfiguration (SLAAC)
Chapter 10: DHCP Routing & Switching Chapter 10: DHCP
Ch. 6 Link-Local Address CIS 116 IPv6 Fundamentals Rick Graziani
Ch.5 Global Unicast Address (GUA)
Ch.10 Stateless DHCPv6 Ch.11 Stateful DHCPv6 CIS 116 IPv6 Fundamentals
Net 431 D: ADVANCED COMPUTER NETWORKS
Chapter 7: IP Addressing
Routing and Switching Essentials v6.0
IPv4 Issues The Need for IPv6 IPv6 is designed to be the successor.
Presentation transcript:

Ch.8 Dynamic IPv6 Address Allocation CIS 116 IPv6 Fundamentals Rick Graziani Cabrillo College Rick.Graziani@cabrillo.edu

Dynamic IPv6 Address Allocation

DHCPv4 Ack DHCPv4 Discover 1 DHCPv4 Offer 2 DHCPv4 Request 3 4 DHCPv4 Server IPv4 Client DHCPv4 Discover Broadcast 1 DHCPv4 Offer Unicast 2 DHCPv4 Request Broadcast 3 DHCPv4 Ack Unicast 4

Internet Control Message Protocol for IPv6 ICMPv6 Internet Control Message Protocol for IPv6 Described in RFC 4443 Much more robust than ICMP for IPv4 Contains new functionality and improvements. More than just “messaging” but “how IPv6 conducts business”. Including ICMPv6 Neighbor Discovery (RFC 4861) – used in dynamic address allocation. Note: ICMPv6 is discussed in detail in Lesson 9, ICMPv6 ND in later chapters. More in lesson 4

“Introducing” ICMPv6 Neighbor Discovery ICMPv6 informational messages used by Neighbor Discovery (RFC 4861): Router Solicitation Message Router Advertisement Message Used for dynamic address allocation. Neighbor Solicitation Message Neighbor Advertisement Message Used with address resolution (IPv4 ARP) and with DAD Redirect Message (Similar to ICMPv4) Router-Device Messaging Device-Device Messaging

It Begins with the RA Message Multicast: To all IPv6 routers, I need IPv6 address information ICMPv6 Router Advertisement ICMPv6 Router Solicitation DHCPv6 Server Multicast: To all IPv6 devices, let me suggest to you how to do this … I might not even be needed.  An ICMPv6 Router Advertisement (RA) suggests to all IPv6 devices on the link how it will receive IPv6 Address Information. Sent periodically by an IPv6 router or… … when the router receives a Router Solicitation message from a host.

It Begins with the RA Message ICMPv6 Router Advertisement DHCPv6 Server Router(config)# ipv6 unicast-routing Router Advertisement (RA) Message Part of ICMPv6 (Internet Control Message Protocol for IPv6) RA messages are sent by an “IPv6 router” An IPv6 router (ipv6 unicast-routing command): Forwards IPv6 Packets Enables IPv6 static and dynamic routing Sends ICMPv6 Router Advertisements Note: Routers can be configured with IPv6 addresses without being an IPv6 router.

Router Advertisement: 3 Options Option 1 and 2: Stateless Address Autoconfiguration DHCPv6 Server does not maintain state of addresses Option 3: Stateful Address Configuration Address received from DHCPv6 Server DHCPv6 Router(config)# ipv6 unicast-routing DHCPv6 Server Option 1: SLAAC – No DHCPv6 (Default on Cisco routers) “I’m everything you need (Prefix, Prefix-length, Default Gateway)” Option 2: SLAAC + Stateless DHCPv6 for DNS address “Here is my information but you need to get other information such as DNS addresses from a DHCPv6 server.” (DNS can be in RA) Option 3: All addressing except default gateway use DHCPv6 “I can’t help you. Ask a DHCPv6 server for all your information.” RA Option 1 technically isn’t everything as there’s no DNS server or domain name info (RFC 6106). Need both the router to support the sending of the info and the end system to know what to do w/ it. For option 3, you still need to control the SLAAC process w/ the RA’s (e.g. how the prefix in the RA should be used) otherwise the end system will end up a DHCP and SLAAC address

Global Unicast Address Manual Dynamic Chapter 8 Static IPv6 unnumbered Stateless Stateful SLAAC Chapter 9 DHCPv6 Chapter 11 Static + EUI 64 SLAAC + DHCPv6 Chapter 10 Three methods of IPv6 Address Allocation Method 1: Stateless Address Autoconfiguration (SLAAC) Method 2: SLAAC and a stateless DHCPv6 server Method 3: Stateful DHCPv6 server DHCPv6-PD Chapter 11

Client Configuration

R1(config)# ipv6 unicast-routing 2001:db8:cafe:1::/64 R1 G0/0 GUA ::1 LLA fe80::1 I need an RA message to know how to obtain my addressing information dynamically. WinPC LLA fe80::d0f8:9ff6:4201:7086 1 Here is my suggestion on how to get your GUA address and other information. ICMPv6 Router Solicitation Message Source IPv6 Address: fe80::d0f8:9ff6:4201:7086 (LLA) Destination IPv6 Address: ff02::2 (All IPv6 Routers) 2 ICMPv6 Router Advertisement Message Source IPv6 Address: fe80::1 (LLA) Destination IPv6 Address: ff02::1 (All IPv6 devices)

Router Advertisement Flags RA Address Allocation Method A Flag (SLAAC) Default: On O Flag (Stateless DHCPv6) Default: Off M Flag (Stateful DHCPv6) Method 1: SLAAC (default) 1 (on) 0 (off) Method 2: SLAAC and stateless DHCPv6 Method 3: Stateful DHCPv6 N/A RA message contains three flags to tell a device how to obtain or create its global unicast address: Address Autoconfiguration flag (A flag): When set to 1 (on), this flag tells the receiving host to use SLAAC to create its global unicast address. Other Configuration flag (O flag): When set to 1 (on), this flag tells the host to get other addressing information, other than its global unicast address, from a stateless DHCPv6 server. Managed Address Configuration flag (M flag): When set to 1 (on), this flag tells the host to use a stateful DHCPv6 server for its global unicast address and all other addressing information.

Changing the defaults (more later) The Address Autoconfiguration flag (A flag) has a default setting of 1. To set the A flag to 0, use the following syntax: Router(config)# interface interface-type/interface-number Router(config-if)# ipv6 nd prefix prefix/prefix-length no-autconfig The Other Configuration flag (O flag) has a default setting of 0. To set to the O flag to 1, use the following syntax: Router(config-if)# ipv6 nd other-config-flag The Managed Address Configuration flag (M flag) has a default setting of 0. To set the M flag to 1, use the following syntax: Router(config-if)# ipv6 nd managed-config-flag

Method 1: SLAAC Only 2001:db8:cafe:1::/64 R1 WinPC 1 ICMPv6 RS Message R1(config)# ipv6 unicast-routing 2001:db8:cafe:1::/64 GUA ::1 G0/0 LLA fe80::1 R1 WinPC LLA fe80::d0f8:9ff6:4201:7086 1 ICMPv6 RS Message ICMPv6 RA Message Method 1: SLAAC Only A Flag = 1 (On) O Flag = 0 (Off) M Flag = 0 (Off) 2 3 Use RA message to create GUA address and for all other information.

Method 2: SLAAC with Stateless DHCPv6 R1(config)# ipv6 unicast-routing 2001:db8:cafe:1::/64 GUA ::1 G0/0 LLA fe80::1 R1 R1(config)# interface g 0/0 R1(config-if)# ipv6 nd other-config-flag WinPC LLA fe80::d0f8:9ff6:4201:7086 Stateless DHCPv6 Server 1 ICMPv6 RS Message ICMPv6 RA Message Method 2: SLAAC and Stateless DHCPv6 A Flag = 1 (On) O Flag = 1 (On) M Flag = 0 (Off) 2 3 Use RA message to create GUA address and for other information Get additional information from stateless DHCPv6 server. 4

Method 3: Stateful DHCPv6 R1(config)# ipv6 unicast-routing 2001:db8:cafe:1::/64 GUA ::1 G0/0 LLA fe80::1 R1 R1(config)# interface g 0/0 R1(config-if)# ipv6 nd prefix 2001:db8:cafe:1::/64 no-autoconfig R1(config-if)# ipv6 nd managed-config-flag WinPC LLA fe80::d0f8:9ff6:4201:7086 Stateful DHCPv6 Server 1 ICMPv6 RS Message 2 ICMPv6 RA Message Method 3: Stateful DHCPv6 A Flag = 0 (Off) O Flag = 0 (Off) M Flag = 1 (On) 3 Only use the source IPv6 address of the RA message for the default gateway address. A global unicast address and all other information is available from a stateful DHCPv6 server. 4

Server Relay Agent Client :1 G0/1 :1 2001:DB8:CAFE:2/64 RELAY-FORWARD DHCPv6 DHCPv6 Server 2001:DB8:CAFE:9::55 Three DHCPv6 terms are identical to their counterparts in DHCPv4: DHCPv6 client: A DHCPv6 client initiates the process by sending a request to obtain its configuration parameters from one or more DHCPv6 servers. DHCPv6 server: Responds to the DHCPv6 requests from DHCPv6 clients. DHCPv6 relay agent: An intermediary device—typically a router—that receives the client’s request and forwards it to one or more DHCPv6 servers on another network.

Other terminology to be discuss in later chapters DUID (DHCP Unique Identifier): Every DHCPv6 participant, client, and server has a DUID that uniquely identifies the device. Each DHCPv6 server and client has exactly one DUID. IA (Identity Association): An IA is a collection of addresses assigned to a client. A client has at least one IA assigned for each interface using the services of DHCPv6. Each IA has an IAID (Identity Association Identifier) that is used to uniquely identify the ID and is assigned by the client. IAID (Identity Association Identifier): Each IA has an IAID that is chosen by the client and is unique among all IAIDs belonging to that client. The IAID identifies a specific interface on the device. Each interface on the DHCPv6 client or server is identified using an IAID.

DUID (DHCP Unique Identifier) Every DHCPv6 participant has one DUID that uniquely identifies the device IAID (Identity Association Identifier) Identifies a specific interface on the device IAID IA (Identity Association) collection of addresses assigned to a client IAID IAID