Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.

Slides:



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

10: ICMPv6 Neighbor Discovery
DHCPv6.
ZyXEL Confidential Address Autoconfiguration Feng Zou SW2 ZyXEL Communications Corp. 04/11/2006.
IPv6 Introduction What is IPv6 Purpose of IPv6 (Why we need it)Purpose of IPv6 IPv6 Addressing Architecture IPv6 Header ICMP v6 Neighbor Discovery (ND)
Neighbor Discovery for IPv6 Mangesh Kaushikkar. Overview Introduction Terminology Protocol Overview Message Formats Conceptual Model of a Host.
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.
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
5: Link-Local Addresses Rick Graziani Cabrillo College
IPv6: Neighbor Discovery
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
LOGO IPv6 Application Analysis Xi Chen
Chapter 8b Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the structure of an IPv4 address.  Describe.
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada DHCPv6 and IPv6 Automatic Address Allocation.
Internet Command Message Protocol (ICMP) CS-431 Dick Steflik.
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.
ICMPv6 Presented by Dr.Apichan Kanjanavapastit. Introduction Another protocol that has been modified in version 6 of the TCP/IP protocol suite is ICMP.
1 CMPT 471 Networking II ICMPv6 © Janice Regan, 2012.
9: Introduction to ICMPv6 Rick Graziani Cabrillo College
Lesson 6 Neighbor Discovery.
ICMPv6 PMTU for IPv6 NDP for IPv6
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada Regional Cisco Networking Academy Conference.
CMPT 471 Networking II Address Resolution IPv6 Neighbor Discovery 1© Janice Regan, 2012.
بسم الله الرحمن الرحیم. 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.
1 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential. Cisco Networking Academy, US/Canada Regional Cisco Networking Academy Conference.
CCNA Introduction to Networking 5.0 Rick Graziani Cabrillo College
CS 6401 Internet Protocol Outline Introduction to Internet Protocol Header and address formats ICMP Tools.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv6 Introduction to Networks.
Chapter 8: IP Addressing
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 IPv6 Introduction to Networks & Routing and Switching Essentials.
Rick Graziani Cabrillo College Fall 2013.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 8 TCP/IP Suite Error and Control Messages.
Slide: 1 Neighbor Discovery. Slide: 2 Neighbor Discovery Overview Set of messages and processes that determine relationships between neighboring nodes.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
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.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
資 管 Lee Lesson 6 IPv4: ARP, RARP IPv6: Neighbor Discovery.
Engineering Workshops Purposes of Neighbor Solicitation.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v3.0—8-1 Implementing IPv6 Implementing Dynamic IPv6 Addresses.
Understanding IPv6 Slide: 1 Lesson 12 IPv6 Mobility.
IPv6 Internet Protocol Version Information management 2 Groep T Leuven – Information department 2/24 Internet Protocol Version 6 (IPv6)
Engineering Workshops 56 Allocation Schemes CIDR representation and IPv6 allocations.
© 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.
ICMPv6 Error Message Types Informational Message Types.
Neighbor Discovery. IPv6 Terminology Additional subnets Router Host Neighbors Host Intra-subnet router Switch LAN segment Link Subnet Network.
IPv6 Host IP Addressing Julian CPE SW1 ZyXEL March 14, 2008.
IPv6 (Internet Protocol V. 6)
Understanding IPv6 Slide: 1 Lesson 5 ICMPv6. Understanding IPv6 Slide: 2 Lesson Objectives Purpose of ICMPv6 and the structure of all ICMPv6 messages.
+ Lecture#4 IPV6 Addressing Asma AlOsaimi. + Topics IPv4 Issues IPv6 Address Representation IPv6 Types.
Cisco I Introduction to Networks Semester 1 Chapter 8 JEOPADY.
BAI513 - Protocols IP Version 6 Operation BAIST – Network Management.
1 IPv6: Address Architecture Dr. Rocky K. C. Chang 29 January, 2002.
Lecture#6:Connectivity Verification
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
Connectivity Verification
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Ch.8 Dynamic IPv6 Address Allocation
Lecture#7:Connectivity Verification
Ch.13 ICMPv6 Neighbor Discovery
Lecture#6:Connectivity Verification
Lecture#5 :IPV6 Adressing
Presentation transcript:

Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1

2 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Introduction to ICMPv6 Echo Request and Echo Reply Neighbor Discovery Neighbor Cache

Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 3

4 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Similar to ICMP for IPv4 More robust New features Improving upon similar functionality Both ICMP and ICMPv6 use types and codes Two types of ICMPv6 messages Error messages Informational messages

5 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada IPv6 routing is off by default in Cisco IOS R1(config)# ipv6 unicast-routing Global configuration mode to enable IPv6 Routing

6 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada ICMPv6 Next Header Value: 58 decimal or 3A hexadecimal IPv6 Header Next Header 58 ICMPv6 Header ICMPv6 Message Body IPv6 Data ICMPv6 General Message Format Type CodeChecksum Message Body

7 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Type = 0 to 127 (8 bit field with first bit off 0xxxxxxx)

8 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Type = 128 – 255 (8 bit field with first bit on 1xxxxxxx)

Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 9

10 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Type = 128 or 129Code = 0Checksum Data Identifier Sequence Number Echo Reply: Type = 128 Echo Request: Type = 129 Like IPv4, ICMPv6 Echo Request and Echo Reply are two ICMP messages used by ping

11 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada 2001:DB8:AAAA:1::100 FE80::50A5:8A35:A5bb:66E1 2001:DB8:AAAA:1::200 Fa0/0 2001:DB8:AAAA:1::1 FE80::1/64 R1 PC1 PC2 Ping

12 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada PC1> ping 2001:db8:aaaa:1::1 Pinging 2001:db8:aaaa:1::1 from 2001:db8:aaaa:1::100 with 32 bytes of data: Reply from 2001:db8:aaaa:1::1: time=1ms Ping statistics for 2001:db8:aaaa:1::1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 1ms, Average = 1ms

13 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Internet Protocol Version = Version: = Traffic class: 0x = Flowlabel: 0x Payload length: 40 Next header: ICMPv6 (0x3a) Hop limit: 128 Source: 2001:db8:aaaa:1::100 Destination: 2001:db8:aaaa:1::1 Internet Control Message Protocol v6 Type: 128 (Echo (ping) request) Code: 0 (Should always be zero) Checksum: 0x8f38 [correct] ID: 0x0001 Sequence: 0 Data (32 bytes)

14 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Internet Protocol Version = Version: = Traffic class: 0x = Flowlabel: 0x Payload length: 40 Next header: ICMPv6 (0x3a) Hop limit: 64 Source: 2001:db8:aaaa:1::1 Destination: 2001:db8:aaaa:1::100 Internet Control Message Protocol v6 Type: 129 (Echo (ping) reply) Code: 0 (Should always be zero) Checksum: 0x8e38 [correct] ID: 0x0001 Sequence: 0 Data (32 bytes)

15 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada R1# ping fe80::50a5:8a35:a5bb:66e1 Output Interface: fastethernet 0/0 % Invalid interface. Use full interface name without spaces (e.g. Serial0/1) R1# ping fe80::50a5:8a35:a5bb:66e1 Output Interface: fastethernet0/0 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FE80::50A5:8A35:A5BB:66E1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

16 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Internet Protocol Version = Version: = Traffic class: 0x = Flowlabel: 0x Payload length: 60 Next header: ICMPv6 (0x3a) Hop limit: 64 Source: fe80::1 Destination: fe80::50a5:8a35:a5bb:66e1 Internet Control Message Protocol v6 Type: 128 (Echo (ping) request) Code: 0 (Should always be zero) Checksum: 0x0444 [correct] ID: 0x0a24 Sequence: 0 Data (52 bytes)

17 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Internet Protocol Version = Version: = Traffic class: 0x = Flowlabel: 0x Payload length: 60 Next header: ICMPv6 (0x3a) Hop limit: 64 Source: fe80::50a5:8a35:a5bb:66e1 Destination: fe80::1 Internet Control Message Protocol v6 Type: 129 (Echo (ping) reply) Code: 0 (Should always be zero) Checksum: 0x0344 [correct] ID: 0x0a24 Sequence: 0 Data (52 bytes)

Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 18

19 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Neighbors with IPv6 Routers Hosts So Neighbor Discovery means host to host communication or router to host communication, a router can also be a host IPv6 designers wanted IPv6 to be plug and play at the user’s end Processes are called Neighbor Discovery Processes and are implemented using ICMPv6 messages

20 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Router Solicitation – Type 133 Router Advertisement – Type 134 Neighbor Solicitation – Type 135 Neighbor Advertisement – Type 136 Redirect Message – Type 137

21 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Communication between a host and router Router Solicitation Sent by host (remember a router can be a host) When host needs addressing and other configuration information important as part of SLAAC Router Advertisement Sent periodically (every 200 seconds on Cisco IOS) Sent in response to Router Solicitation Provides addressing and other configuration information important as part of SLAAC

22 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Used by a device to: Request Layer 2 address information from another device on the same network Provide this information to the requesting device Part of three important processes: Address Resolution Duplicate Address Detection (DAD) Neighbor Unreachability Detection (NUD)

23 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Terms ND or NDP – Neighbor Discovery Protocol SLAAC – Stateless Address Autoconfiguration DAD – Duplicate Address Detection Addresses FF02::1 All-nodes multicast FF02::2 All-routers multicast - Memory hint: routers are more important so thus the higher number

24 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada IPv6 routing is off by default in Cisco IOS R1(config)# ipv6 unicast-routing Global configuration mode to enable IPv6 Routing

25 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Stateless Address Auto Configuration can be explained using Neighbor Discovery Messages Prerequisites: 1. The host (PC1) boots up 2. IPv6 Configuration set to Auto Config 3. The host calculates the interface part of IPv6 address using modified EUI-64 (depending on the operating system) 4. PC1 then adds the link-local prefix FE80 to the interface address to get a link-local IPv6 address

26 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada R1 PC1

27 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada 1. Duplicate Address Detection (DAD) of Link-Local IPv6 Address 2. Router Solicitation 3. Router Advertisement 4. Duplicate Address Detection of Global Unicast IPv6 Address

28 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada PC1 must verify that the link-local address is unique The Duplicate Address Detection(DAD) Neighbor Discovery Process is implemented The following ICMPv6 Messages are used: 1)Neighbor Solicitation 2)Neighbor Advertisement Copy Cat

29 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Link-local address is in a tentative state until DAD is complete Source address will be :: (unspecified ) Destination address will be solicited-node multicast address of PC1 FF02::1:FF90:41B0 Target address field is the link-local address FE80::202:4AFF:FE90:41B0 PC1 sets a timer If no Neighbor Advertisement message is received then it transitions the address from tentative to assigned PC1 then sends a Neighbor Advertisement message indicating that its using the link-local address FE80::202:4AFF:FE90:41B0 to other nodes in the link If a device has the same link-local it responds with a Neighbor Advertisement Address is then suspended on PC1

30 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada PC1 sends Neighbor Solicitation to R1

31 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada PC1 Link-local All-nodes Multicast Last step in DAD Process R1 sends Neighbor Advertisement to PC1

32 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada PC1 now needs a global unicast IPv6 address to communicate outside of the link (network) PC1 needs to find a router on its link PC1 has to perform the Router Discovery Process PC1 sends a Router Solicitation Message Source address will be link-local address of PC1 FE80::202:4AFF:FE90:41B0 Destination address will be FF02::2 (All-routers multicast)

33 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada PC1 sends Router Solicitation to R1

34 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada R1 sends Router Advertisement if ipv6 unicast-routing is enabled on the router Source address is link-local address of the R1’s inferface FE80::1 Destination Address is FF02::1 (All Nodes Multicast) R1 sends the following information to PC1 1)Global Prefix and Prefix Length 2)Layer 2 Address of the interface sending Router Advertisement 3)Link MTU 4)Timers to check reachability 5)M and O flags

35 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada R1 sends Router Advertisement to PC1

36 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada

37 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada

38 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada PC1 has to check whether the global unicast is unique Perfoms Duplicate Address Detection Sends a Neighbor Solicitation message with global IPv6 unicast address as the Target Address Once process ends and address is confirmed unique PC1 sends a Neighbor Advertisement message to announce its global unicast IPv6 address

39 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada

40 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada

41 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada

Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 42

43 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada Neighbor Cache – Maps IPv6 addresses with Ethernet MAC addresses Similar to ARP Cache for IPv4 5 States (2 noticeable and 3 transitory): Reachable: Packets have recently been received providing confirmation that this device is reachable. Stale: A certain time period has elapsed since a packet has been received from this address. Transitory States: INCOMPLETE, DELAY, PROBE PC1 Neighbor Cache IPv6 Address MAC Address 2001:DB8:ACAD:1:: bd9.c644 Neighbor Cache IPv6 Address MAC Address 2001:DB8:ACAD:1:: bd9.c644 Neighbor Cache IPv :DB8:ACAD:1::10 MAC bd9.c644

44 © 2013 Cisco Systems, Inc. All rights reserved. Cisco confidential.Cisco Networking Academy, US/Canada R1# show ipv6 neighbors IPv6 Address Age Link-layer Addr State Interface FE80::50A5:8A35:A5BB:66E bd9.c644 STALE Fa0/0 2001:db8:aaaa:1:: bd9.c644 STALE Fa0/0 R1# ping 2001:db8:aaaa:1::100 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2001:DB8:AAAA:1::100, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms R1# show ipv6 neighbors IPv6 Address Age Link-layer Addr State Interface FE80::50A5:8A35:A5BB:66E bd9.c644 STALE Fa0/0 2001:DB8:AAAA:1:: bd9.c644 REACH Fa0/0

Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 45

Thank you.