© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-1 IPv6 Operations Defining and Configuring Neighbor Discovery.

Slides:



Advertisements
Similar presentations
IPv6 State-less Auto-configuration. IPv6 Stateless Autoconfiguration2 Stateless Autoconfiguration Overview One of the most useful aspects of IPv6 is its.
Advertisements

IPv6 Addressing Dr. Whai-En Chen Associate Professor and Director
11: IPv6 Routing Table and Static Routes
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.
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.
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.
IPv6 Network Security.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
5: Link-Local Addresses Rick Graziani Cabrillo College
6: IPv6 Multicast Addresses
Host Autoconfiguration ALTTC, Ghaziabad. IPv4 Address and IPv6 equivalents ALTTC, Ghaziabad.
資 管 Lee Lesson 12 IPv6 Mobility. 資 管 Lee Lesson Objectives Components of IPv6 mobility IPv6 mobility messages and options IPv6 mobility data structures.
IPv6: Neighbor Discovery
LOGO IPv6 Application Analysis Xi Chen
1 IPv6 CONCEPTS Presenter: Yaoyu, Zhang
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.
Lesson 6 Neighbor Discovery.
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
ICMPv6 PMTU for IPv6 NDP for IPv6
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.
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.
© 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.
IPv6 Mobility Milo Liu SW2 R&D ZyXEL Communications, Inc.
Slide: 1 Neighbor Discovery. Slide: 2 Neighbor Discovery Overview Set of messages and processes that determine relationships between neighboring nodes.
Chapter 22 Next Generation IP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
IPv6 Routing Milo Liu SW2 R&D ZyXEL Communications, Inc.
1 RFC Transmission of IPv6 Packets over IEEE Networks Speaker: Li-Wen Chen Date:
© 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.
Speaker: Yi-Lei Chang Advisor: Dr. Kai-Wei Ke 2012/05/15 IPv6-based wireless sensor network 1.
Module 6: IPv6 Fundamentals. Introduction to IPv6 Unicast IPv6 Addresses Configuring IPv6.
ICMPv6 Error Message Types Informational Message Types.
Attacking on IPv6 W.lilakiatsakun Ref: ipv6-attack-defense-33904http://
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.
BAI513 - Protocols IP Version 6 Operation BAIST – Network Management.
CHAPTER 10: DHCP Routing & Switching. Objectives 10.0 Introduction 10.1 Dynamic Host Configuration Protocol v Dynamic Host Configuration Protocol.
Engineering Workshops Stateless Autoconfiguration.
Instructor Materials Chapter 8: DHCP
IPv6/Hexadecimal Objectives:
IPv6 Overview Address space Address types IPv6 and Tunneling.
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Chapter 6 Exploring IPv6.
Ch.8 Dynamic IPv6 Address Allocation
Chapter 26 IPv6 Addressing
An Introduction to IPv6 By Jim Johnston.
Internet Protocol, Version 6 (IPv6)
Presentation transcript:

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-1 IPv6 Operations Defining and Configuring Neighbor Discovery

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-2 ICMPv6 ICMPv6 is similar to ICMPv4: Provides diagnostic and error messages Used for path MTU discovery ICMPv6 TypeICMPv6 Code ICMPv6 Data Checksum IPv6 Basic Header ICMPv6 Packet Next Header = 58 ICMPv6 Packet ICMPv6 Packet

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-3 MTU = 1300 Path MTU Discovery MTU = 1500 MTU = 1400 Packet with MTU = 1500 ICMP error: packet too big Use MTU = 1400 Packet with MTU = 1400 ICMP error: packet too big Use MTU = 1300 Packet with MTU = 1300 Path MTU = 1300 SourceDestination

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-4 Maximum Transmission Unit IPv4 –MTU >= 68 octets IPv6 –MTU >= 1280 octets –Path MTU used Frame HeaderFrame TrailerIPv6 Packet Minimum MTU = 1280 Octets Link-Layer Frame

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-5 IPv6 over Data Link Layers IPv6 is defined for most data link layers: Ethernet PPP FDDI Token Ring HDLC Nonbroadcast multiaccess ATM Frame Relay IEEE 1394

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-6 IPv6 over Ethernet IPv6 has a specific Ethernet protocol ID that is different from the protocol ID in IPv4. Destination Ethernet Address IPv6 Header and Payload0x86DD Source Ethernet Address

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0— X FC0F 17FC0F FFFE Modified EUI-64 Format A modified EUI-64 address is formed by inserting "FFFE" and “complementing” a bit identifying the uniqueness of the MAC address. where X = 1 = universally unique 0 = locally unique X = 1 Ethernet MAC Address (48 Bits) 64-Bit Version U/L Bit Modified EUI-64 Address FC0F 17FC0FFFFE FFFE

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-8 Neighbor Discovery Neighbor discovery: –Queries for duplicate address detection –Determines the link layer address of a neighbor on the same link –Finds neighbor routers on link Achieved by using ICMPv6 with IPv6 multicast

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-9 Solicited-Node Multicast Address Solicited-node address: Multicast address with a link-local scope Formed by a prefix and the rightmost 24 bits of every unicast and anycast address Prefix 0Lower 24 Interface ID FF Bits FF 24 Bits IPv6 Address Solicited-Node Multicast Address 0001

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-10 FF FF17FC0F 17FC0F FF Multicast Mapping over Ethernet IPv6 Solicited-Node Multicast Address Corresponding Ethernet Address Multicast Prefix for Ethernet Multicast 20010DB F 02C0 10FF FC0F IPv6 Address FE 17

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-11 Duplicate Address Detection ICMP type = 135 Src = 0 (::) Dst = solicited-node multicast of A Data = link-layer address of A Query = What is your link address? DAD uses neighbor solicitation to verify the existence of an address to be configured. BA

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-12 ICMP type = 136 Src = B Dst = A Data = link-layer address of B ICMP type = 135 Src = A Dst = solicited-node multicast of B Data = link-layer address of A Query = What is your link address? A and B can now exchange packets on this link. Neighbor Discovery: Neighbor Solicitation BA

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-13 Neighbor Discovery: Neighbor Solicitation (Cont.) Neighbor Advertisement Message R: router flag, indicates sender is a router S: solicited flag, indicates message sent in response to a neighbor solicitation O: override flag, indicates advertisement should override existing neighbor cache entry

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-14 Neighbor Discovery: Autoconfiguration Autoconfiguration Stateless –Uses neighbor discovery router advertisements Stateful –Uses DHCPv6 service

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-15 Routers send periodic router advertisements to the all-nodes multicast address. Router advertisement packet definitions: ICMP type = 134 Src = router link-local address Dst = all-nodes multicast address Data = options, prefix, lifetime, autoconfiguration flag Router Advertisement Neighbor Discovery: Router Advertisements Router Advertisement

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-16 Neighbor Discovery Parameters Router advertisements: Default router IPv6 network prefix Lifetime of advertisement Autoconfiguring IPv6 Hosts

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-17 Neighbor Discovery Parameters (Cont.) Router advertisements: Default router IPv6 network prefix Lifetime of advertisement Autoconfiguring IPv6 Hosts

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-18 Neighbor Discovery: Router Solicitations At boot time, nodes send router solicitations to promptly receive router advertisements. Router solicitation packet definitions: ICMP type = 133 Src = unspecified address Dst = all-routers multicast address Router Advertisement Router Solicitation

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-19 Stateless Autoconfiguration Router solicitations are sent by booting nodes to request router advertisement for configuring the interfaces. 1. Router Solicitation: ICMP type = 133 Src = :: Dst = all-routers multicast address Query = Please send router advertisement 2. Router advertisement 1. Router solicitation 2. Router Advertisement: ICMP type = 134 Src = router link-local address Dst = all-nodes multicast address Data = options, prefix, lifetime, autoconfiguration flag 2. Router advertisement

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-20 Router advertisement packet definitions: ICMP type = 134 Src = Router link-local address Dst = All-nodes multicast address Data = Two prefixes: Current prefix (to be deprecated) with short lifetime New prefix (to be used) with normal lifetime Renumbering Renumbering is achieved by modifying the router advertisement to announce the old prefix with a short lifetime and the new prefix. Router Advertisement

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-21 Value of Autoconfiguration IPv6 address autoconfiguration enables “plug-and-play.” Nodes may be deployed without a DHCPv6 server: –Mobile devices (phones, PDAs, autos) –Home electronics (TVs, DVRs, appliances) –Field telemetry (oil pipeline gauges) Autoconfiguration enables massive deployment (millions) of IPv6 nodes.

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-22 ipv6 nd prefix | default [ [ ] | [at ] [off-link] [no-autoconfig] ] router(config-if)# Used to modify prefix advertisement parameters on an interface from their default values. Cisco IOS Neighbor Discovery Command Syntax

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-23 LAN2: 2001:db8:c18:2::/64 LAN1: 2001:db8:c18:1::/64 Router Advertisement Ethernet1 Ethernet0 interface Ethernet0 ipv6 address 2001:db8:c18:1::2/64 ipv6 nd prefix 2001:db8:c18:1::/ interface Ethernet1 ipv6 address 2001:db8:c18:2::1/64 ipv6 nd prefix 2001:db8:c18:2::/ interface Ethernet0 ipv6 address 2001:db8:c18:1::1/64 ipv6 nd prefix 2001:db8:c18:1::/ Router2 Router1 Cisco IOS Command for Overriding the Neighbor Discovery Defaults Router Advertisement IPv6 Internet

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-24 LAN1: 2001:db8:c18:1::/64 LAN2: 2001:db8:c18:2::/64 Ethernet0 Ethernet1 Ethernet0 interface Ethernet0 ipv6 nd prefix 2001:db8:c18:1::/ interface Ethernet1 ipv6 nd prefix 2001:db8:c18:2::/ interface Ethernet0 ipv6 nd prefix 2001:db8:c18:1::/ Router2 Router1 Cisco IOS Command for Overriding the Neighbor Discovery Defaults (Cont.) Router Advertisement IPv6 Internet

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-25 LAN1: 2001:db8:c18:1::/64 LAN2: 2001:db8:c18:2::/64 Ethernet0 Ethernet1 Ethernet0 interface Ethernet0 ipv6 nd prefix 2001:db8:c18:1::/ ipv6 nd ra lifetime 100 interface Ethernet1 ipv6 nd prefix 2001:db8:c18:2::/ interface Ethernet0 ipv6 nd prefix 2001:db8:c18:1::/ Router2 Router1 Cisco IOS Neighbor Discovery Lifetimes Router Advertisement IPv6 Internet

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-26 Network Prefix: 2001:db8:c18:1::/64 interface Ethernet0 ipv6 nd prefix 2001:db8:c18:1::/ Host Configuration: Autoconfiguring IPv6 Hosts preferred address 2001:db8:c18:1:260:8ff:fede:8fbe Router Configuration before Renumbering: Router Advertisements Cisco IOS Network Prefix Renumbering Scenario

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-27 interface Ethernet0 ipv6 nd prefix 2001:db8:c18:1::/ ipv6 nd prefix 2001:db8:c18:2::/ New Network Prefix: 2001:db8:c18:2::/64 Deprecated Prefix: 2001:db8:c18:1::/64 Host Configuration: Autoconfiguring IPv6 Hosts deprecated address 2001:db8:c18:1:260:8ff:fede:8fbe preferred address 2001:db8:c18:2:260:8ff:fede:8fbe Router Configuration after Renumbering: Router Advertisements interface Ethernet0 ipv6 nd prefix 2001:db8:c18:1::/64 at Jul :59 Jul :59 ipv6 nd prefix 2001:sb8:c18:2::/ Cisco IOS Network Prefix Renumbering Scenario (Cont.) or:

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-28 Summary ICMP messages are used for many IPv6 functions, including path MTU discovery, neighbor discovery, and router discovery. ICMPv6 is an integral part of IPv6 but looks similar to a Layer 4 protocol, much like TCP or UDP. Path MTU is performed by nodes in an effort to determine the largest packet size they can send to a given destination. It is based on a process of sending large packets and listening for ICMPv6 error messages. Neighbor discovery is a critical process that allows neighbors to determine the link-layer address associated with a given IPv6 address. It also allows hosts to receive prefix information to configure a global-scope address and find the default router. Before a node can use an address, it must test it for uniqueness on the link. DAD is a process by which a node with a "tentative" address that it would like to use determines if that address is already in use. Autoconfiguration provides a type of network “plug-and-play,” easily supporting millions of transient nodes and enabling a network environment with support for mobile phones, field sensors, and home appliances. Cisco routers are IPv6-ready and are configured for IPv6 functions on a global and per-interface basis, depending on the function being enabled.

© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-29