Understanding IPv6 - Addressing & Subnetting Part 3

Slides:



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

10: ICMPv6 Neighbor Discovery
DHCPv6.
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-1 IPv6 Operations Defining and Configuring Neighbor Discovery.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: IP Addressing Introduction to Networks.
Implementing IPv6 Module B 8: Implementing IPv6
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—7-1 Address Space Management Transitioning to IPv6.
© 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.
Regional Cisco Networking Academy Conference 2014
© 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)
1 © 2012 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada ICMPv6 & Neighbor Discovery Protocol: Learn It.
© 2007 – 2010, Cisco Systems, Inc. All rights reserved. Cisco Public IPv6 Intro – Part 2 1 IPv6 Intro Part 2: Address Types and Application.
INTERNET PROTOCOL Version 6 I/II IPIAC 2013 Martin Pokorný.
1 Chapter Overview IP (v4) Address IPv6. 2 IPv4 Addresses Internet Protocol (IP) is the only network layer protocol with its own addressing system and.
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 :: :: ::
IPv6 – part I. FUNDAMENTALS AND PROTOCOLS / ICND 1.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: IP Addressing Introduction to Networks.
Help! I need to Understand IPv6 Addresses Rick Graziani Cabrillo College
IPv6 Address autoconfiguration stateless & stateful.
© 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.
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada Regional Cisco Networking Academy Conference.
Got IPv6? SLAAC and DHCPv6 Rick Graziani Cabrillo College
Rick Graziani Cabrillo College Fall 2013.
CCNP Network Route IPV-6 Part-II IPV-6 Routing: Configuring IPV-6: Let say we will configure the address on Router R1 R1# Conf t  R1(Conf t)# ipv6 address.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v3.0—8-1 Implementing IPv6 Implementing Dynamic IPv6 Addresses.
W&L Page 1 CCNA CCNA Training 3.5 Describe IPv6 addresses Jose Luis Flores / Amel Walkinshaw Aug, 2015.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
© 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)
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada Equipping Today’s Instructors for Tomorrow’s.
+ Lecture#4 IPV6 Addressing Asma AlOsaimi. + Topics IPv4 Issues IPv6 Address Representation IPv6 Types.
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.
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 8: DHCP
Instructor Materials Chapter 7: IP Addressing
IPv6/Hexadecimal Objectives:
IPv6 Addressing: Learn It
Internet ProtoCOL Version 6 I/II
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Ch.8 Dynamic IPv6 Address Allocation
Ch. 6 Link-Local Address CIS 116 IPv6 Fundamentals Rick Graziani
Help! I need to Understand IPv6 Addresses
Lecture#5 IPV6 Addressing
Chapter 7: IP Addressing
Lecture#5 :IPV6 Adressing
IPv4 Issues The Need for IPv6 IPv6 is designed to be the successor.
Presentation transcript:

Understanding IPv6 - Addressing & Subnetting Part 3

Agenda Stateless Address Autoconfiguration Stateless DHCP Global unicast address assignment Stateless Address Autoconfiguration Stateless DHCP Stateful DHCP Other types of addresses Link Local Address Multicast Address Solicited Node Multicast

Agenda Stateless Address Autoconfiguration Stateless DHCP Global unicast address assignment Stateless Address Autoconfiguration Stateless DHCP Stateful DHCP Other types of addresses Link Local Address Multicast Address Solicited Node Multicast

Stateless Autoconfiguration Global Unicast Address Assignment Global Unicast Manual Dynamic IPv6 Unnumbered Stateless Autoconfiguration IPv6 Address DHCPv6 Static EUI-64 IPv6 unnumbered is similar to the IPv4 unnumbered.

Stateless Autoconfig

Stateless Address Autoconfiguration (SLAAC) RouterA ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation 2 NDP Router Advertisement EUI-64 Stateless Address Autoconfiguration (SLAAC) is an automatic method for assigning global unicast addresses to interfaces. No need for DHCPv6 server

R1(config)# ipv6 unicast-routing DHCPv6 Server R1(config)# ipv6 unicast-routing NDP Router Solicitation “Need information from the router” NDP Router Advertisement Router Solicitation and Router Advertisement messages are about communications between a host and a router.

R1(config)# ipv6 unicast-routing DHCPv6 Server R1(config)# ipv6 unicast-routing NDP Router Solicitation “Need information from the router” NDP Router Advertisement Router Solicitation and Router Advertisement messages are about communications between a host and a router. Part of ICMPv6’s Neighbor Discovery Protocol

R1(config)# ipv6 unicast-routing DHCPv6 Server R1(config)# ipv6 unicast-routing NDP Router Solicitation “Need information from the router” NDP Router Advertisement Router Solicitation and Router Advertisement messages are about communications between a host and a router. Part of ICMPv6’s Neighbor Discovery Protocol Routers periodically send Router Advertisement messages or response to a Router Solicitation message from a host on the link.

RouterA ipv6 unicast-routing DHCPv6 Server The router’s Router Advertisement can determine how the host gets its dynamic address configuration.

RouterA ipv6 unicast-routing DHCPv6 Server RouterA(config)# ipv6 unicast-routing The router’s Router Advertisement can determine how the host gets its dynamic address configuration. ipv6 unicast-routing command enables router to send Router Advertisements.

Or in response to a Router Solicitation message. RouterA ipv6 unicast-routing DHCPv6 Server 1 NDP Router Solicitation “Need information from the router” Router Advertisements are sent periodically (Cisco default every 200 seconds) Or in response to a Router Solicitation message.

Or in response to a Router Solicitation message. RouterA ipv6 unicast-routing DHCPv6 Server 2 NDP Router Advertisement 1 NDP Router Solicitation “Need information from the router” Router Advertisements are sent periodically (Cisco default every 200 seconds) Or in response to a Router Solicitation message.

RouterA ipv6 unicast-routing DHCPv6 Server 2 NDP Router Advertisement “I’m everything you need (Prefix, Prefix-length, Default Gateway)” 1 NDP Router Solicitation “Need information from the router” The router’s Router Advertisement can determine how the host gets its dynamic address configuration.

RouterA ipv6 unicast-routing DHCPv6 Server 2 NDP Router Advertisement “I’m everything you need (Prefix, Prefix-length, Default Gateway)” Or “Here is my information but you need to get other information such as DNS addresses from a DHCPv6 server.” 1 NDP Router Solicitation “Need information from the router” The router’s Router Advertisement can determine how the host gets its dynamic address configuration.

RouterA ipv6 unicast-routing DHCPv6 Server 2 NDP Router Advertisement “I’m everything you need (Prefix, Prefix-length, Default Gateway)” Or “Here is my information but you need to get other information such as DNS addresses from a DHCPv6 server.” “I can’t help you. Ask a DHCPv6 server for all your information.” 1 NDP Router Solicitation “Need information from the router” The router’s Router Advertisement can determine how the host gets its dynamic address configuration.

RouterA EUI-64 NDP Router Solicitation ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation EUI-64

RouterA EUI-64 NDP Router Solicitation NDP Router Advertisement ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation 2 NDP Router Advertisement From: FE80::1 (Link-local address) EUI-64

RouterA EUI-64 NDP Router Solicitation NDP Router Advertisement ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation 2 NDP Router Advertisement From: FE80::1 (Link-local address) To: FF02::1 (All-hosts multicast) EUI-64

RouterA EUI-64 NDP Router Solicitation NDP Router Advertisement ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation 2 NDP Router Advertisement From: FE80::1 (Link-local address) To: FF02::1 (All-hosts multicast) Prefix: 2001:DB8:AAAA:1:: EUI-64

RouterA EUI-64 NDP Router Solicitation NDP Router Advertisement ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation 2 NDP Router Advertisement From: FE80::1 (Link-local address) To: FF02::1 (All-hosts multicast) Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64 EUI-64

RouterA EUI-64 NDP Router Solicitation NDP Router Advertisement ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation 2 NDP Router Advertisement From: FE80::1 (Link-local address) To: FF02::1 (All-hosts multicast) Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64 EUI-64 3 Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64

RouterA EUI-64 NDP Router Solicitation NDP Router Advertisement ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation 2 NDP Router Advertisement From: FE80::1 (Link-local address) To: FF02::1 (All-hosts multicast) Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64 EUI-64 3 Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64 EUI-64 Interface ID: 02-19-D2-FF-FE-8C-E0-4C

RouterA EUI-64 NDP Router Solicitation NDP Router Advertisement ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation 2 NDP Router Advertisement From: FE80::1 (Link-local address) To: FF02::1 (All-hosts multicast) Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64 EUI-64 3 Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64 EUI-64 Interface ID: 02-19-D2-FF-FE-8C-E0-4C Global Unicast Address: 2001:DB8:AAAA:1:0219:D2FF:FE8C:E04C

RouterA EUI-64 NDP Router Solicitation NDP Router Advertisement ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation 2 NDP Router Advertisement From: FE80::1 (Link-local address) To: FF02::1 (All-hosts multicast) Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64 EUI-64 3 Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64 EUI-64 Interface ID: 02-19-D2-FF-FE-8C-E0-4C Global Unicast Address: 2001:DB8:AAAA:1:0219:D2FF:FE8C:E04C Default Gateway: FE80::1

IPv6 Address. . . . . . : 2001:DB8:AAAA:1:0219:D2FF:FE8C:E04C RouterA ipv6 unicast-routing MAC: 00-19-D2-8C-E0-4C 1 NDP Router Solicitation 2 NDP Router Advertisement From: FE80::1 (Link-local address) To: FF02::1 (All-hosts multicast) Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64 EUI-64 3 Prefix: 2001:DB8:AAAA:1:: Prefix-length: /64 EUI-64 Interface ID: 02-19-D2-FF-FE-8C-E0-4C Global Unicast Address: 2001:DB8:AAAA:1:0219:D2FF:FE8C:E04C Default Gateway: FE80::1 PC1> ipconfig IPv6 Address. . . . . . : 2001:DB8:AAAA:1:0219:D2FF:FE8C:E04C Default Gateway . . . . : fe80::1

Windows and the Interface ID PC1> ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: IPv6 Address. . . . . . . . . : 2001:DB8:AAAA:1:0219:D2FF:FE8C:E04C Link-local IPv6 Address . . . : fe80::50a5:8a35:a5bb:66e1%11 Default Gateway . . . . . . . : fe80::1 Windows XP and Server 2003 use EUI-64. Windows Vista and newer do not use EUI-64; hosts create a random 64-bit Interface ID. The %value following the link-local address is a Windows Zone ID and not part of IPv6.

Live Demo Client ipv6 address autoconfig [default] / ipv6 nd autoconfig default-route debug ipv6 nd show ipv6 int br show ipv6 int show ipv6 route See Wireshark capture 1.

M and O bits M means = Managed O means = Other These bits are set in RA ( Router Advertisement) and sent to end devices M=0 and O=0 use SLAAC and use static config for DNS config M=0 and O=1 use SLAAC and use DHCPv6 server for DNS config This is called Stateless DHCP as DHCP server does not maintain any binding M=1 and O=0 use DHCPv6 server to get all the information This is called as Stateful DHCP as the server maintains all the bindings M=1 and O=1 Invalid

Stateless DHCP

NDP Router Advertisement ipv6 unicast-routing DHCPv6 Server DHCPv6 Server Stateless Addressing 1 NDP Router Solicitation NDP Router Advertisement “Here is my information but you need to get other information such as DNS addresses from a DHCPv6 server.” Or “I can’t help you. Ask a DHCPv6 server for all your information.” 2

“Stateless DHCPv6” RouterA Not always generated ipv6 unicast-routing “Stateless DHCPv6” DHCPv6 Server Address obtained via SLAAC 1 DHCPv6 Solicit Message “I need a DHCPv6 Server.” Not always generated 2 DHCPv6 Advertise Message “I’m a DHCPv6 Server.” 3 DHCPv6 Information Request Message “I need some other information. DHCPv6 Reply Message “Here is your other information.” 4

Live Demo Client ipv6 address autoconfig [default] / ipv6 nd autoconfig default-route sh ipv6 dhcp int f0/0 debug dhcp Server ipv6 dhcp pool DHCP ipv6 nd other-config-flag ipv6 dhcp server DHCP sh ipv6 dhcp pool debug ipv6 dhcp See Wireshark capture 2.

Stateful DHCPv6

“Stateful DHCPv6” RouterA DHCPv6 Addressing DHCPv6 Solicit Message ipv6 unicast-routing “Stateful DHCPv6” DHCPv6 Server DHCPv6 Addressing 1 DHCPv6 Solicit Message “I need a DHCPv6 Server.” 2 DHCPv6 Advertise Message “I’m a DHCPv6 Server.” 3 DHCPv6 Request Message “I need addressing information. DHCPv6 Reply Message “Here is your address and other information.” 4

Live Demo Client ipv6 address dhcp sh ipv6 dhcp int f0/0 debug dhcp Server ipv6 dhcp pool DHCP ipv6 nd managed-config-flag ipv6 dhcp server DHCP sh ipv6 dhcp pool debug ipv6 dhcp See Wireshark capture 3.

Agenda Stateless Address Autoconfiguration Stateless DHCP Global unicast address assignment Stateless Address Autoconfiguration Stateless DHCP Stateful DHCP Other types of addresses Link Local Address Multicast Address Solicited Node Multicast

IPv6 Address Types Note: There are no broadcast addresses in IPv6 IPv6 Addressing Unicast Multicast Anycast Assigned Solicited Node FF00::/8 FF02::1:FF00:0000/104 Unspecified Embedded IPv4 Global Unicast Link-Local Loopback Unique Local 2000::/3 3FFF::/3 FE80::/10 FEBF::/10 ::1/128 ::/128 FC00::/7 FDFF::/7 ::/80 Note: There are no broadcast addresses in IPv6

Link-local Unicast Address

Link-Local Unicast IPv6 Addressing Unicast Multicast Anycast Assigned Solicited Node FF00::/8 FF02::1:FF00:0000/104 Unspecified Embedded IPv4 Global Unicast Link-Local Loopback Unique Local 2000::/3 3FFF::/3 FE80::/10 FEBF::/10 ::1/128 ::/128 FC00::/7 FDFF::/7 ::/80

Link-local unicast Interface ID Range: FE80::/10 FEBF::/10 FE80::/10 10 bits Remaining 54 bits 64 bits /64 1111 1110 10xx xxxx Interface ID FE80::/10 EUI-64, Random or Manual Configuration Range: FE80::/10 FEBF::/10

Link-local unicast Interface ID Range: FE80::/10 FEBF::/10 FE80::/10 10 bits Remaining 54 bits 64 bits /64 1111 1110 10xx xxxx Interface ID FE80::/10 EUI-64, Random or Manual Configuration Range: FE80::/10 FEBF::/10

Link-local unicast Used to communicate with other devices on the link. 10 bits Remaining 54 bits 64 bits /64 1111 1110 10xx xxxx Interface ID FE80::/10 EUI-64, Random or Manual Configuration Used to communicate with other devices on the link.

Link-local unicast Used to communicate with other devices on the link. 10 bits Remaining 54 bits 64 bits /64 1111 1110 10xx xxxx Interface ID FE80::/10 EUI-64, Random or Manual Configuration Used to communicate with other devices on the link. Are NOT routable off the link.

Link-local unicast Used to communicate with other devices on the link. 10 bits Remaining 54 bits 64 bits /64 1111 1110 10xx xxxx Interface ID FE80::/10 EUI-64, Random or Manual Configuration Used to communicate with other devices on the link. Are NOT routable off the link. An IPv6 device must have at least a link-local address.

Link-local unicast Used to communicate with other devices on the link. 10 bits Remaining 54 bits 64 bits /64 1111 1110 10xx xxxx Interface ID FE80::/10 EUI-64, Random or Manual Configuration Used to communicate with other devices on the link. Are NOT routable off the link. An IPv6 device must have at least a link-local address. Used by: A host to communicate on the IPv6 network before it gets a global unicast address.

Link-local unicast Used to communicate with other devices on the link. 10 bits Remaining 54 bits 64 bits /64 1111 1110 10xx xxxx Interface ID FE80::/10 EUI-64, Random or Manual Configuration Used to communicate with other devices on the link. Are NOT routable off the link. An IPv6 device must have at least a link-local address. Used by: A host to communicate on the IPv6 network before it gets a global unicast address. A host as the default gateway address.

Link-local unicast Used to communicate with other devices on the link. 10 bits Remaining 54 bits 64 bits /64 1111 1110 10xx xxxx Interface ID FE80::/10 EUI-64, Random or Manual Configuration Used to communicate with other devices on the link. Are NOT routable off the link. An IPv6 device must have at least a link-local address. Used by: A host to communicate on the IPv6 network before it gets a global unicast address. A host as the default gateway address. Adjacent routers to exchange routing updates.

2001:0DB8:CAFE:A001::/64 Global Unicast: 2001:0DB8:CAFE:1::1/64 R1 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 Link-local address: ? Link-local address automatically created when (before) the global unicast address is. 2001:0DB8:CAFE:1::/64 Global Unicast: 2001:0DB8:CAFE:1::0100 PC-1 Link-local address: ?

2001:0DB8:CAFE:A001::/64 Global Unicast: 2001:0DB8:CAFE:1::1/64 R1 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 Link-local address: ? Link-local address automatically created when (before) the global unicast address is. FE80 + 64-bit Interface ID EUI-64 Format or Randomly generated 2001:0DB8:CAFE:1::/64 Global Unicast: 2001:0DB8:CAFE:1::0100 PC-1 Link-local address: ?

Link-local address can also be created statically. 2001:0DB8:CAFE:A001::/64 Global Unicast: 2001:0DB8:CAFE:1::1/64 R1 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 Link-local address: ? Link-local address automatically created when (before) the global unicast address is. FE80 + 64-bit Interface ID EUI-64 Format Randomly generated Link-local address can also be created statically. 2001:0DB8:CAFE:1::/64 Global Unicast: 2001:0DB8:CAFE:1::0100 PC-1 Link-local address: ?

show ipv6 interface brief command on router R1 R1# show ipv6 interface brief FastEthernet0/0 [up/up] FE80::203:6BFF:FEE9:D480 2001:DB8:CAFE:1::1 Serial0/0/0 [up/up] 2001:DB8:CAFE:A001::1 Serial0/0/1 [up/up] 2001:DB8:CAFE:A003::1 R1# Link-local unicast address Global unicast address Link-local address automatically created when (before) the global unicast address.

show ipv6 interface brief command on router R1 R1# show ipv6 interface brief FastEthernet0/0 [up/up] FE80::203:6BFF:FEE9:D480 2001:DB8:CAFE:1::1 Serial0/0/0 [up/up] 2001:DB8:CAFE:A001::1 Serial0/0/1 [up/up] 2001:DB8:CAFE:A003::1 R1# Link-local unicast address Global unicast address Link-local address automatically created when (before) the global unicast address. By default, IOS will use modified EUI-64 format.

R1# show interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up Hardware is AmdFE, address is 0003.6be9.d480 (bia 0003.6be9.d480) <output omitted for brevity> Ethernet MAC address

Modified EUI-64 Format 00 03 6B E9 D4 80 02 03 6B FF FE E9 D4 80 OUI 24 bits Device Identifier 24 bits Modified EUI-64 Format Hexadecimal 00 03 6B E9 D4 80 Step 1: Split the MAC address Binary 0000 0000 0000 0011 0110 1011 1110 1001 1101 0100 1000 0000 Step 2: Insert FFFE Binary 0000 0000 0000 0011 0110 1011 1111 1111 1111 1110 1110 1001 1101 0100 1000 0000 Step 3: Flip the U/L bit Binary 0000 0010 0000 0011 0110 1011 1111 1111 1111 1110 1110 1001 1101 0100 1000 0000 Modified EUI-64 Interface ID in Hexadecimal Notation Binary 02 03 6B FF FE E9 D4 80

R1# show interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up Hardware is AmdFE, address is 0003.6be9.d480 (bia 0003.6be9.d480) <output omitted for brevity> R1# show ipv6 interface fastethernet 0/0 IPv6 is enabled, link-local address is FE80::203:6BFF:FEE9:D480 Global unicast address(es): 2001:DB8:AAAA:1::1, subnet is 2001:DB8:AAAA:1::/64 Ethernet MAC address Link-local address using EUI-64 format

R1 R2 Global Unicast: 2001:0DB8:CAFE:1::0100 2001:0DB8:CAFE:A001::/64 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 FE80::203:6BFF:FEE9:D480 (EUI-64) Dynamic link-local addresses can be difficult to identify. 2001:0DB8:CAFE:1::/64 Global Unicast: 2001:0DB8:CAFE:1::0100 PC-1 FE80::50A5:8A35:A5BB:66E1

R1 R2 Global Unicast: 2001:0DB8:CAFE:1::0100 2001:0DB8:CAFE:A001::/64 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 FE80::203:6BFF:FEE9:D480 (EUI-64) Dynamic link-local addresses can be difficult to identify. Routers use link-local addresses for: Exchanging routing updates Default gateway address for hosts 2001:0DB8:CAFE:1::/64 Global Unicast: 2001:0DB8:CAFE:1::0100 PC-1 FE80::50A5:8A35:A5BB:66E1

R1 R2 Global Unicast: 2001:0DB8:CAFE:1::0100 2001:0DB8:CAFE:A001::/64 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 FE80::203:6BFF:FEE9:D480 (EUI-64) FE80::1 (Static) Dynamic link-local addresses can be difficult to identify. Routers use link-local addresses for: Exchanging routing updates Default gateway address for hosts Static link-local addresses are easier to remember and identify. 2001:0DB8:CAFE:1::/64 Global Unicast: 2001:0DB8:CAFE:1::0100 PC-1 FE80::50A5:8A35:A5BB:66E1

R1 R2 Global Unicast: 2001:0DB8:CAFE:1::0100 2001:0DB8:CAFE:A001::/64 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 FE80::203:6BFF:FEE9:D480 (EUI-64) FE80::1 (Static) Dynamic link-local addresses can be difficult to identify. Routers use link-local addresses for: Exchanging routing updates Default gateway address for hosts Static link-local addresses are easier to remember and identify. Link-local addresses only have to be unique on the link! 2001:0DB8:CAFE:1::/64 Global Unicast: 2001:0DB8:CAFE:1::0100 PC-1 FE80::50A5:8A35:A5BB:66E1

R1(config)# interface fastethernet 0/0 R1(config-if)# ipv6 address fe80::1 ? link-local Use link-local address R1(config)# Static Link-local Address

R1(config)# interface fastethernet 0/0 R1(config-if)# ipv6 address fe80::1 ? link-local Use link-local address R1(config-if)# ipv6 address fe80::1 link-local R1(config-if)# exit R1(config)# Static Link-local Address

R1(config)# interface fastethernet 0/0 R1(config-if)# ipv6 address fe80::1 ? link-local Use link-local address R1(config-if)# ipv6 address fe80::1 link-local R1(config-if)# exit R1(config)# interface serial 0/0/0 R1# Static Link-local Address

Static Link-local Address R1(config)# interface fastethernet 0/0 R1(config-if)# ipv6 address fe80::1 ? link-local Use link-local address R1(config-if)# ipv6 address fe80::1 link-local R1(config-if)# exit R1(config)# interface serial 0/0/0 R1# R1# show ipv6 interface brief FastEthernet0/0 [up/up] FE80::1 2001:DB8:CAFE:1::1 Serial0/0/0 [up/up] 2001:DB8:CAFE:A001::1 Static Link-local Address Same link-local unicast address (best practice)

R1# show running-config ! interface FastEthernet0/0 no ip address ipv6 address FE80::1 link-local ipv6 address 2001:DB8:CAFE:1::1/64 interface Serial0/0/0 ipv6 address 2001:DB8:CAFE:A001::1/64

R1 R2 Ping Link-local Address FE80::1 FE80::2 Global Unicast: 2001:0DB8:CAFE:1::1/64 R1 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 2001:0DB8:CAFE:A001::/64 FE80::1 R1# ping fe80::2

Must include exit-interface Ping Link-local Address FE80::1 FE80::2 Global Unicast: 2001:0DB8:CAFE:1::1/64 R1 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 2001:0DB8:CAFE:A001::/64 FE80::1 R1# ping fe80::2 Output Interface: ser 0/0/0 Must include exit-interface

Must include exit-interface Ping Link-local Address FE80::1 FE80::2 Global Unicast: 2001:0DB8:CAFE:1::1/64 R1 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 2001:0DB8:CAFE:A001::/64 FE80::1 R1# ping fe80::2 Output Interface: ser 0/0/0 % Invalid interface. Use full interface name without spaces (e.g. Serial0/1) Output Interface: serial0/0/0 Must include exit-interface

Must include exit-interface Ping Link-local Address FE80::1 FE80::2 Global Unicast: 2001:0DB8:CAFE:1::1/64 R1 Ser 0/0/0 .1 Ser 0/0/0 .2 R2 Fa0/0 2001:0DB8:CAFE:A001::/64 FE80::1 R1# ping fe80::2 Output Interface: ser 0/0/0 % Invalid interface. Use full interface name without spaces (e.g. Serial0/1) Output Interface: serial0/0/0 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FE80::2, timeout is 2 secs: !!!!! Must include exit-interface

ipv6 enable command Router(config)# interface fastethernet 0/1 Link-local addresses are automatically created whenever a global unicast address is configured, or when the ipv6 enable command is entered.

ipv6 enable command Router(config)# interface fastethernet 0/1 Router(config-if)# ipv6 enable Router(config-if)# end Router# Link-local addresses are automatically created whenever a global unicast address is configured, or when the ipv6 enable command is entered. The ipv6 enable command will:

ipv6 enable command Router(config)# interface fastethernet 0/1 Router(config-if)# ipv6 enable Router(config-if)# end Router# Link-local addresses are automatically created whenever a global unicast address is configured, or when the ipv6 enable command is entered. The ipv6 enable command will: Create a link-local address when there is no global unicast address

ipv6 enable command Router(config)# interface fastethernet 0/1 Router(config-if)# ipv6 enable Router(config-if)# end Router# show ipv6 interface brief FastEthernet0/1 [up/up] FE80::20C:30FF:FE10:92E1 Router# Link-local unicast address only Link-local addresses are automatically created whenever a global unicast address is configured, or when the ipv6 enable command is entered. The ipv6 enable command will: Create a link-local address when there is no global unicast address

ipv6 enable command Router(config)# interface fastethernet 0/1 Router(config-if)# ipv6 enable Router(config-if)# end Router# show ipv6 interface brief FastEthernet0/1 [up/up] FE80::20C:30FF:FE10:92E1 Router# Link-local unicast address only Link-local addresses are automatically created whenever a global unicast address is configured, or when the ipv6 enable command is entered. The ipv6 enable command will: Create a link-local address when there is no global unicast address Maintain the link-local address even when the global unicast address is removed.

Windows Link-local address PC1> ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : IPv6 Address. . . . . . . . . . . : 2001:db8:cafe:1::100 Link-local IPv6 Address . . . . . : fe80::50a5:8a35:a5bb:66e1%11 Default Gateway . . . . . . . . . : 2001:db8:cafe:1::1 Windows operating systems, Windows XP and Server 2003 use EUI-64. Windows Vista and newer do not use EUI-64 create a random 64-bit Interface ID. The %value following the link-local address is a Windows Zone ID and not part of IPv6.

MAC Link-local address Mymac$ ifconfig en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether c4:2c:03:2a:b5:a2 inet6 fe80::c62c:3ff:fe2a:b5a2 My MAC OS 10.6 uses EUI-64 but you check with your OS flavor and version. Many Linux flavors are moving to random Interface IDs

Multicast Addresses

Multicast Addresses Similar to IPv4 multicast – one-to-many addressing IPv6 Addressing Unicast Multicast Anycast Assigned Solicited Node FF00::/8 FF02::1:FF00:0000/104 Unspecified Embedded IPv4 Global Unicast Link-Local Loopback Unique Local 2000::/3 3FFF::/3 FE80::/10 FEBF::/10 ::1/128 ::/128 FC00::/7 FDFF::/7 ::/80 Similar to IPv4 multicast – one-to-many addressing

0 Permanent, well-known multicast address assigned by IANA 8 bits 4 bits 4 bits 112bits 1111 1111 Flag Scope Group ID FF00::/8 Flag 0 Permanent, well-known multicast address assigned by IANA 1 Non-permanently-assigned, “dynamically" assigned multicast address Scope (partial list) 0 Reserved 1 Interface-Local scope 2 Link-Local scope 5 Site-Local scope 8 Organization-Local scope

FF02 – “2” means link-local scope R1# show ipv6 interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::203:6BFF:FEE9:D480 Global unicast address(es): 2001:DB8:AAAA:1::1, subnet is 2001:DB8:AAAA:1::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:1 FF02::1:FFE9:D480 <output omitted for brevity> Member of these Multicast Groups All-nodes on this link (Assigned) FF02 – “2” means link-local scope

FF02 – “2” means link-local scope R1# show ipv6 interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::203:6BFF:FEE9:D480 Global unicast address(es): 2001:DB8:AAAA:1::1, subnet is 2001:DB8:AAAA:1::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:1 FF02::1:FFE9:D480 <output omitted for brevity> Member of these Multicast Groups All-nodes on this link (Assigned) All-routers on this link: IPv6 routing enabled (Assigned) FF02 – “2” means link-local scope

FF02 – “2” means link-local scope R1# show ipv6 interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::203:6BFF:FEE9:D480 Global unicast address(es): 2001:DB8:AAAA:1::1, subnet is 2001:DB8:AAAA:1::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:1 FF02::1:FFE9:D480 <output omitted for brevity> Member of these Multicast Groups All-nodes on this link (Assigned) All-routers on this link: IPv6 routing enabled (Assigned) Solicited-node multicast address for Global Address FF02 – “2” means link-local scope

FF02 – “2” means link-local scope What is Solicited node? (coming) R1# show ipv6 interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::203:6BFF:FEE9:D480 Global unicast address(es): 2001:DB8:AAAA:1::1, subnet is 2001:DB8:AAAA:1::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:1 FF02::1:FFE9:D480 <output omitted for brevity> Member of these Multicast Groups All-nodes on this link (Assigned) All-routers on this link: IPv6 routing enabled (Assigned) Solicited-node multicast address for Global Address Solicited-node multicast address for Link-local Unicast Address FF02 – “2” means link-local scope What is Solicited node? (coming)

Enabling IPv6 Routing R1(config)# interface fastethernet 0/0 R1(config-if)# ipv6 address 2001:0db8:cafe:0001::1/64 A router’s interfaces can be enabled for IPv6 (get an IPv6 address) like any other device on the network.

Enabling IPv6 Routing R1(config)# ipv6 unicast-routing R1# show ipv6 interface fastethernet 0/0 Joined group address(es): FF02::2 All-routers on this link (Assigned) A router’s interfaces can be enabled for IPv6 (get an IPv6 address) like any other device on the network. For the router to “act” as an IPv6 router it must be enabled with the ipv6 unicast-routing command.

Enabling IPv6 Routing R1(config)# ipv6 unicast-routing R1# show ipv6 interface fastethernet 0/0 Joined group address(es): FF02::2 All-routers on this link (Assigned) A router’s interfaces can be enabled for IPv6 (get an IPv6 address) like any other device on the network. For the router to “act” as an IPv6 router it must be enabled with the ipv6 unicast-routing command. This enables the router to: Send Router Advertisement messages

Enabling IPv6 Routing R1(config)# ipv6 unicast-routing R1# show ipv6 interface fastethernet 0/0 Joined group address(es): FF02::2 All-routers on this link (Assigned) A router’s interfaces can be enabled for IPv6 (get an IPv6 address) like any other device on the network. For the router to “act” as an IPv6 router it must be enabled with the ipv6 unicast-routing command. This enables the router to: Send Router Advertisement messages Enable the forwarding of IPv6 packets.

Enabling IPv6 Routing R1(config)# ipv6 unicast-routing R1# show ipv6 interface fastethernet 0/0 Joined group address(es): FF02::2 All-routers on this link (Assigned) A router’s interfaces can be enabled for IPv6 (get an IPv6 address) like any other device on the network. For the router to “act” as an IPv6 router it must be enabled with the ipv6 unicast-routing command. This enables the router to: Send Router Advertisement messages Enable the forwarding of IPv6 packets. Participate in IPv6 routing protocols: RIPng, EIGRP for IPv6, OSPFv3

Similar to IPv4 Multicast

Identify the following IPv6 Multicast addresses FF02::2 FF02::5 FF02::6 FF02::9 FF02::A All the routers within an link AllSPF Routers ( OSPFv3) AllDRs routers (OSPFv3) All RIP Routers All EIGRP Routers

Solicited Node Multicast

Devices listen for their unicast addresses. NIC: I will listen for my MAC address IP: I listen for my IP addresses (Global and Link-local) PC-2 IP: Global or Link-local MAC Global Unicast Address: Link-local Unicast Address: MAC Unicast Address: 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FE80::1111:2222:3333:4444 00-19-D2-8C-E0-4C Devices listen for their unicast addresses.

Devices listen for their unicast addresses. NIC: I will listen for my MAC address IP: I listen for my IP addresses (Global and Link-local) PC-2 IP: Global or Link-local MAC Global Unicast Address: Link-local Unicast Address: MAC Unicast Address: 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FE80::1111:2222:3333:4444 00-19-D2-8C-E0-4C Devices listen for their unicast addresses. Devices also listen for their multicast addresses…

Solicited-node multicast addresses for PC2 IP: I will also listen for my IP multicast addresses (Global and Link-local) PC-2 Global Unicast Address: Link-local Unicast Address: MAC Unicast Address: 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FE80::1111:2222:3333:4444 00-19-D2-8C-E0-4C

Solicited-node multicast addresses for PC2 IP: I will also listen for my IP multicast addresses (Global and Link-local) PC-2 Global Unicast Address: Solicited Node (Global): Link-local Unicast Address: MAC Unicast Address: 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FF02::1:FF00:200 FE80::1111:2222:3333:4444 00-19-D2-8C-E0-4C

Solicited-node multicast addresses for PC2 IP: I will also listen for my IP multicast addresses (Global and Link-local) PC-2 Global Unicast Address: Solicited Node (Global): Link-local Unicast Address: Solicited Node (Link-local): MAC Unicast Address: 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FF02::1:FF00:200 FE80::1111:2222:3333:4444 FF02::1:FF33:4444 00-19-D2-8C-E0-4C

Solicited-node multicast addresses for PC2 33-33-XX: is the OUI for IPv6 multicast NIC: I will also listen for my MAC multicast addresses IP: I will also listen for my IP multicast addresses (Global and Link-local) PC-2 Global Unicast Address: Solicited Node (Global): Link-local Unicast Address: Solicited Node (Link-local): MAC Unicast Address: Solicited Node (MAC): 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FF02::1:FF00:200 FE80::1111:2222:3333:4444 FF02::1:FF33:4444 00-19-D2-8C-E0-4C 33-33-FF-00-02-00 33-33-FF-33-44-44

Solicited-node multicast addresses for PC2 33-33-XX: is the OUI for IPv6 multicast NIC: I will also listen for my MAC multicast addresses IP: I will also listen for my IP multicast addresses (Global and Link-local) PC-2 Broadcasts Global Unicast Address: Solicited Node (Global): Link-local Unicast Address: Solicited Node (Link-local): MAC Unicast Address: Solicited Node (MAC): 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FF02::1:FF00:200 FE80::1111:2222:3333:4444 FF02::1:FF33:4444 00-19-D2-8C-E0-4C 33-33-FF-00-02-00 33-33-FF-33-44-44

Solicited-node multicast address Unicast/Anycast Address 128 bits Subnet ID Global Routing Prefix Interface ID Devices create a solicited node multicast address for their unicast (and anycast) addresses including: Global Unicast Address Link-local Address

Solicited-node multicast address Unicast/Anycast Address 128 bits Subnet ID Global Routing Prefix Interface ID Solicited-Node Multicast Address FF02 0000 0000 0000 0000 0001 FF 104 bits 24 bits FF02:0:0:0:0:1:FF00::/104 Uses the prefix: FF02:0:0:0:0:1:FF00::/104

Solicited-node multicast address Unicast/Anycast Address 104 bits 24 bits Subnet ID Global Routing Prefix Interface ID Copy Solicited-Node Multicast Address FF02 0000 0000 0000 0000 0001 FF 104 bits 24 bits FF02:0:0:0:0:1:FF00::/104 Uses the prefix: FF02:0:0:0:0:1:FF00::/104 + last 24 bits of Global or Link-local unicast address

Solicited-node multicast address Unicast/Anycast Address 104 bits 24 bits Subnet ID Global Routing Prefix Interface ID Copy Solicited-Node Multicast Address FF02 0000 0000 0000 0000 0001 FF 104 bits 24 bits FF02:0:0:0:0:1:FF00::/104 Used as a destination address when don’t know the unicast address. Address Resolution (“ARP”) and Duplicate Address Detection (“Gratuitous ARP”)

Solicited-node multicast address Unicast/Anycast Address 104 bits 24 bits Subnet ID Global Routing Prefix Interface ID Copy Solicited-Node Multicast Address FF02 0000 0000 0000 0000 0001 FF 104 bits 24 bits FF02:0:0:0:0:1:FF00::/104 Used as a destination address when don’t know the unicast address. Address Resolution (“ARP”) and Duplicate Address Detection (“Gratuitous ARP”) Same intent as a broadcast but more efficient.

Solicited-node multicast address Unicast/Anycast Address 104 bits 24 bits Subnet ID Global Routing Prefix Interface ID Copy Solicited-Node Multicast Address FF02 0000 0000 0000 0000 0001 FF 104 bits 24 bits FF02:0:0:0:0:1:FF00::/104 Used as a destination address when don’t know the unicast address. Address Resolution (“ARP”) and Duplicate Address Detection (“Gratuitous ARP”) Same intent as a broadcast but more efficient. Devices process packets with their solicited node multicast address as the destination address: IP and MAC.

R1# show ipv6 interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::203:6BFF:FEE9:D480 Global unicast address(es): 2001:DB8:AAAA:1::1, subnet is 2001:DB8:AAAA:1::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:1 FF02::1:FFE9:D480 <output omitted for brevity> Last 24 bits of Global Unicast Address Solicited-node multicast address for Global Unicast Address

R1# show ipv6 interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::203:6BFF:FEE9:D480 Global unicast address(es): 2001:DB8:AAAA:1::1, subnet is 2001:DB8:AAAA:1::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:1 FF02::1:FFE9:D480 <output omitted for brevity> Last 24 bits of Link-Local Unicast Address Solicited-node multicast address for Link-local Unicast Address

Router(config)# interface fastethenet 0/0 Router(config-if)# ipv6 address 2001:db8:cafe:1::/64 eui-64 Router# show ipv6 interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::21B:CFF:FEC2:82D8 No Virtual link-local address(es): Global unicast address(es): 2001:DB8:CAFE:1:21B:CFF:FEC2:82D8, subnet is 2001:DB8:CAFE:1::/64 [EUI] Joined group address(es): FF02::1 FF02::2 FF02::1:FFC2:82D8 Last 24 bits of both Unicast Addresses Solicited-node multicast address for Global and Link-local unicast addresses NOTE: If the Global and Link-local addresses used EUI-64 the last 24 bits would be the same and there would only be one solicited node address.

Solicited-node multicast addresses for PC2 33-33-XX: is the OUI for IPv6 multicast NIC: I will also listen for my MAC multicast addresses IP: I will also listen for my IP multicast addresses (Global and Link-local) PC-2 Global Unicast Address: Solicited Node (Global): Link-local Unicast Address: Solicited Node (Link-local): MAC Unicast Address: Solicited Node (MAC): 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FF02::1:FF00:200 FE80::1111:2222:3333:4444 FF02::1:FF33:4444 00-19-D2-8C-E0-4C 33-33-FF-00-02-00 33-33-FF-33-44-44

PC2’s Global Unicast Address Global Routing Prefix Subnet ID Interface ID 104 bits 2001:0DB8:AAAA 0001 0000:0000:00 00:0200

PC2’s Global Unicast Address Global Routing Prefix Subnet ID Interface ID 104 bits 24 bits 2001:0DB8:AAAA 0001 0000:0000:00 00:0200 Copy PC2’s IPv6 Solicited-Node Multicast Address FF02 0000 0000 0000 0000 0001 FF 00:0200

PC2’s Global Unicast Address Global Routing Prefix Subnet ID Interface ID 104 bits 24 bits 2001:0DB8:AAAA 0001 0000:0000:00 00:0200 Copy PC2’s IPv6 Solicited-Node Multicast Address FF02 0000 0000 0000 0000 0001 FF 00:0200 Copy Solicited-node Multicast address mapped to Ethernet destination MAC address 33-33 FF-00-02-00 PC2’s mapped solicited-node Ethernet multicast address : 33-33-FF-00-02-00

Why Solicited Node Addresses? At Layer 2 and 3 I am listening for a lot of addresses. PC-2 Global Unicast Address: Solicited Node (Global): MAC Unicast Address: Solicited Node (MAC): 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FF02::1:FF00:200 33-33-FF-00-02-00

Why Solicited Node Addresses? Broadcasts are sent to all devices. At Layer 2 and 3 I am listening for a lot of addresses. PC-2 Global Unicast Address: Solicited Node (Global): MAC Unicast Address: Solicited Node (MAC): 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FF02::1:FF00:200 33-33-FF-00-02-00

Why Solicited Node Addresses? Broadcasts are sent to all devices. Devices must process all broadcast at least to layer 3. At Layer 2 and 3 I am listening for a lot of addresses. PC-2 Global Unicast Address: Solicited Node (Global): MAC Unicast Address: Solicited Node (MAC): 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FF02::1:FF00:200 33-33-FF-00-02-00

Why Solicited Node Addresses? Broadcasts are sent to all devices. Devices must process all broadcast at least to layer 3. Solicited Node Multicasts are only processed by those devices with the matching last 24 bits (usually one device). At Layer 2 and 3 I am listening for a lot of addresses. PC-2 Global Unicast Address: Solicited Node (Global): MAC Unicast Address: Solicited Node (MAC): 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FF02::1:FF00:200 33-33-FF-00-02-00

Why Solicited Node Addresses? Broadcasts are sent to all devices. Devices must process all broadcast at least to layer 3. Solicited Node Multicasts are only processed by those devices with the matching last 24 bits (usually one device). If I know the IPv6 address but not the MAC address I can send it to a solicited node addresses instead of a broadcast to everyone… At Layer 2 and 3 I am listening for a lot of addresses. PC-2 Global Unicast Address: Solicited Node (Global): MAC Unicast Address: Solicited Node (MAC): 2001:0DB8:AAAA:0001:0000:0000:0000:0200 FF02::1:FF00:200 33-33-FF-00-02-00

Address Resolution NDP Neighbor Solicitation Message Destination: Solicited-node Multicast “Whoever has 2001:DB8:AAAA:1::200 send me your Ethernet MAC address” 2001:DB8:AAAA:1::200 FF02::1:FF00:200 PC-2 2001:DB8:AAAA:1::100 PC-1 MAC: 00-19-D2-8C-E0-4C 33-33-FF-00-02-00

I know the target IPv6 Address… Address Resolution NDP Neighbor Solicitation Message Destination: Solicited-node Multicast “Whoever has 2001:DB8:AAAA:1::200 send me your Ethernet MAC address” 2001:DB8:AAAA:1::200 FF02::1:FF00:200 PC-2 2001:DB8:AAAA:1::100 PC-1 MAC: 00-19-D2-8C-E0-4C 33-33-FF-00-02-00 Ethernet IPv6 Header ICMPv6 Target IPv6 2001:DB8:AAAA:1 ::200 I know the target IPv6 Address…

So, I can create a Solicited Node Multicast Address… Address Resolution NDP Neighbor Solicitation Message Destination: Solicited-node Multicast “Whoever has 2001:DB8:AAAA:1::200 send me your Ethernet MAC address” 2001:DB8:AAAA:1::200 FF02::1:FF00:200 PC-2 2001:DB8:AAAA:1::100 PC-1 MAC: 00-19-D2-8C-E0-4C 33-33-FF-00-02-00 Ethernet IPv6 Header ICMPv6 Destination IPv6 FF02::1FF00:200 Source IPv6 2001:DB8:AAAA:1 ::100 Target IPv6 2001:DB8:AAAA:1 ::200 So, I can create a Solicited Node Multicast Address…

So, I can create a Solicited Node MAC Address… Address Resolution NDP Neighbor Solicitation Message Destination: Solicited-node Multicast “Whoever has 2001:DB8:AAAA:1::200 send me your Ethernet MAC address” 2001:DB8:AAAA:1::200 FF02::1:FF00:200 PC-2 2001:DB8:AAAA:1::100 PC-1 MAC: 00-19-D2-8C-E0-4C 33-33-FF-00-02-00 Ethernet IPv6 Header ICMPv6 Dest. MAC 33-33-FF-00-02-00 Source MAC 00-12-34-56-78-9A Destination IPv6 FF02::1FF00:200 Source IPv6 2001:DB8:AAAA:1 ::100 Target IPv6 2001:DB8:AAAA:1 ::200 So, I can create a Solicited Node MAC Address…

Address Resolution NIC: That’s one of my solicited node MAC addresses. IPv6: That’s one of my solicited node addresses. NDP Neighbor Solicitation Message Destination: Solicited-node Multicast “Whoever has 2001:DB8:AAAA:1::200 send me your Ethernet MAC address” 2001:DB8:AAAA:1::200 FF02::1:FF00:200 PC-2 2001:DB8:AAAA:1::100 PC-1 MAC: 00-19-D2-8C-E0-4C 33-33-FF-00-02-00 Ethernet IPv6 Header ICMPv6 Dest. MAC 33-33-FF-00-02-00 Source MAC 00-12-34-56-78-9A Destination IPv6 FF02::1FF00:200 Source IPv6 2001:DB8:AAAA:1 ::100 Target IPv6 2001:DB8:AAAA:1 ::200

Address Resolution NIC: That’s one of my solicited node MAC addresses. IPv6: That’s one of my solicited node addresses. NDP Neighbor Solicitation Message Destination: Solicited-node Multicast “Whoever has 2001:DB8:AAAA:1::200 send me your Ethernet MAC address” 2001:DB8:AAAA:1::200 FF02::1:FF00:200 PC-2 2001:DB8:AAAA:1::100 PC-1 MAC: 00-19-D2-8C-E0-4C 33-33-FF-00-02-00 Ethernet IPv6 Header ICMPv6 Dest. MAC 33-33-FF-00-02-00 Source MAC 00-12-34-56-78-9A Destination IPv6 FF02::1FF00:200 Source IPv6 2001:DB8:AAAA:1 ::100 Target IPv6 2001:DB8:AAAA:1 ::200 Possible that multiple devices may have the same last 24 bits in their IPv6 address but only those devices would have to process up to the target.

PC-2 replies with it’s MAC address (Neighbor Advertisement Message) Address Resolution NIC: That’s one of my solicited node MAC addresses. IPv6: That’s one of my solicited node addresses. NDP Neighbor Solicitation Message Destination: Solicited-node Multicast “Whoever has 2001:DB8:AAAA:1::200 send me your Ethernet MAC address” 2001:DB8:AAAA:1::200 FF02::1:FF00:200 PC-2 2001:DB8:AAAA:1::100 PC-1 MAC: 00-19-D2-8C-E0-4C 33-33-FF-00-02-00 Ethernet IPv6 Header ICMPv6 Dest. MAC 33-33-FF-00-02-00 Source MAC 00-12-34-56-78-9A Destination IPv6 FF02::1FF00:200 Source IPv6 2001:DB8:AAAA:1 ::100 Target IPv6 2001:DB8:AAAA:1 ::200 PC-2 replies with it’s MAC address (Neighbor Advertisement Message) More in ICMPv6 presentation!

Use of solicited-node multicasts with addressing resolution and DAD Address Resolution NDP Neighbor Solicitation Message Destination: Solicited-node Multicast “Whoever has the IPv6 address 2001:DB8:AAAA:1::200 please send me your Ethernet MAC address” Similar to ARP in IPv4 Duplicate Address Detection (DAD) NDP Neighbor Solicitation Message Destination: Solicited-node Multicast “Before I use this address is anyone else on this link using this link-local address: FE80::50A5:8A35:A5BB:66E1?” Similar to gratuitous ARP in IPv4

Solicited Node Multicast Address Find out solicited Node Multicast Address for the following IPv6 address 2001:DB8:CAFE:1::100 3001::1 FE80::1 FF02::1:FF00:100 FF02::1:FF00:1

Live Demo sh ipv6 int f0/0 sh ipv6 neighbors See Wireshark capture 4a and 4b for comparison with IPv4 ARP and Gratuitous ARP operations.

To summarize…

Stateless Autoconfiguration Global Unicast Address Assignment Global Unicast Manual Dynamic IPv6 Unnumbered Stateless Autoconfiguration IPv6 Address DHCPv6 Static EUI-64

IPv6 Address Types Note: There are no broadcast addresses in IPv6 IPv6 Addressing Unicast Multicast Anycast Assigned Solicited Node FF00::/8 FF02::1:FF00:0000/104 Unspecified Embedded IPv4 Global Unicast Link-Local Loopback Unique Local 2000::/3 3FFF::/3 FE80::/10 FEBF::/10 ::1/128 ::/128 FC00::/7 FDFF::/7 ::/80 Note: There are no broadcast addresses in IPv6