Neighbor Discovery for IPv6 Mangesh Kaushikkar. Overview Introduction Terminology Protocol Overview Message Formats Conceptual Model of a Host.

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

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.
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.
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
Media Access Control (MAC) addresses in the network access layer ▫ Associated w/ network interface card (NIC) ▫ 48 bits or 64 bits IP addresses for the.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
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
 As defined in RFC 826 ARP consists of the following messages ■ ARP Request ■ ARP Reply.
MOBILITY SUPPORT IN IPv6
Neighbor Discovery for IP Version 6
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
1 CCNA 2 v3.1 Module 8. 2 TCP/IP Suite Error and Control Messages CCNA 2 Module 8.
Guide to TCP/IP Fourth Edition
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.
Guide to TCP/IP, Third Edition
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
IPv6 Address autoconfiguration stateless & stateful.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
TCOM 515 IP Routing Lab Lecture 1. Class information Instructor: Wei Wu –Lecture and Lab session 2 – Instructor:
IPv6 Mobility Milo Liu SW2 R&D ZyXEL Communications, Inc.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 8 TCP/IP Suite Error and Control Messages.
IPv6 Associated Protocols 1. Copy …Rights This slide set is the ownership of the 6DISS project via its partners The Powerpoint version of this material.
Slide: 1 Neighbor Discovery. Slide: 2 Neighbor Discovery Overview Set of messages and processes that determine relationships between neighboring nodes.
© 2002, Cisco Systems, Inc. All rights reserved..
CCNA 2 Week 8 TCP/IP Suite Error Control Messages.
1 CMPT 471 Networking II IGMP (IPv4) and MLD (IPv6) © Janice Regan,
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.
© Jörg Liebeherr (modified by M. Veeraraghavan) 1 ICMP: A helper protocol to IP The Internet Control Message Protocol (ICMP) is the protocol used for error.
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
資 管 Lee Lesson 6 IPv4: ARP, RARP IPv6: Neighbor Discovery.
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
Engineering Workshops Purposes of Neighbor Solicitation.
Error and Control An IP datagram travels from node to node on the way to its destination Each router operates autonomously Failures or problems may occur.
Advanced Roaming & Mobility Scenarios in IPv6 Rafal Lukawiecki Strategic Consultant & Director Project Botticelli Ltd in.
Understanding IPv6 Slide: 1 Lesson 12 IPv6 Mobility.
Introduction to Mobile IPv6
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
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.
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.
RFC 4191 Router Preferences and More-Specific Routes
IPv6 Host IP Addressing Julian CPE SW1 ZyXEL March 14, 2008.
BAI513 - Protocols IP Version 6 Operation BAIST – Network Management.
Engineering Workshops Stateless Autoconfiguration.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
IP: Addressing, ARP, Routing
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
Net 323: NETWORK Protocols
Chapter 15. Internet Protocol
Fred Kuhns Applied Research Laboratory
Presentation transcript:

Neighbor Discovery for IPv6 Mangesh Kaushikkar

Overview Introduction Terminology Protocol Overview Message Formats Conceptual Model of a Host

Introduction To determine the link-layer addresses for neighbors known to reside on attached links. To find neighboring routers that are willing to forward packets. To actively keep track of which neighbors are reachable and which are not. To detect changed link-layer addresses.

Terminology node : a device that implements IP. link : a communication medium over which nodes can communicate at the link layer. neighbors : nodes attached to the same link. reachability : whether packets sent to a neighbor are reaching the IP layer on the neighboring machine and are being processed properly by the receiving IP layer.

Terminology link MTU : maximum packet size in octets, that can be conveyed in one piece over a link. proxy : a router that responds to Neighbor Discovery query messages on behalf of another node.

Terminology ( Link Types) multicast : a link that supports a native mechanism at the link layer for sending packets to all neighbors. point-to-point : a link that connects exactly two interfaces. non-broadcast multi-access (NBMA) : a link to which more than two interfaces can attach, but that does not support a native form of multicast or broadcast.

Terminology ( Link Types) shared media : a link that allows direct communication among a number of nodes, but attached nodes are configured in such a way that they do not have complete prefix information for all on-link destinations. variable MTU : a link that does not have a well- defined MTU.

Terminology (Addresses) all-nodes multicast address : the link-local scope address to reach all nodes. all-routers multicast address : the link-local scope address to reach all routers. link-local address : a unicast address having link-only scope that can be used to reach neighbors.

Terminology (Addresses) solicited-node multicast address - a link-local scope multicast address that is computed as a function of the solicited target's address. It is formed by taking the low-order 32 bits of the target IP address and appending those bits to the 96-bit prefix FF02:0:0:0:0:1 to produce a multicast address within the range FF02::1:0:0 to FF02::1:FFFF:FFFF.

Protocol Overview Router Discovery: How hosts locate routers that reside on an attached link. Prefix Discovery: How hosts discover the set of address prefixes that define which destinations are on-link for an attached link.

Protocol Overview Parameter Discovery: How a node learns such link parameters as the link MTU or the hop limit value to place in outgoing packets. Address Auto-configuration: How nodes automatically configure an address for an interface.

Protocol Overview Address resolution: How nodes determine the link-layer address of a neighbor given only the destination's IP address. Neighbor Unreachability Detection: How nodes determine that a neighbor is no longer reachable.

Protocol Overview Duplicate Address Detection: How a node determines that an address it wishes to use is not already in use by another node. Redirect: How a router informs a host of a better first-hop node to reach a particular destination.

Protocol Overview Neighbor Discovery defines five different ICMP packet types: Router Solicitation: When an interface becomes enabled, hosts may send out Router Solicitations that request routers to generate Router Advertisements immediately rather than at their next scheduled time.

Protocol Overview ICMP packet Types Router Advertisement: Routers advertise their presence either periodically, or in response to a Router Solicitation message. Neighbor Solicitation: Sent by a node to determine the link-layer address of a neighbor, or to verify that a neighbor is still reachable via a cached link-layer address.

Protocol Overview Neighbor Advertisement : A response to a Neighbor Solicitation message. Redirect : Used by routers to inform hosts of a better first hop for a destination.

Protocol Overview Networ k Host Router Router Advertisement Packet

Protocol Overview Router advertisement contains: 1. list of prefixes used for on-link determination and/or autonomous address configuration. 2. flags associated with the prefixes specify the intended uses of a particular prefix. 3. Internet parameters such as the hop limit that hosts should use in outgoing packets.

Protocol Overview Address Resolution Initiato rNode Target Node Multicasts Neighbor Solicitation Unicasts Neighbor Advertisement

Neighbor Discovery also handles Link-layer address change - A node that knows its link- layer address has changed can multicast a few Neighbor Advertisement packets to all nodes to quickly update cached link-layer addresses that have become invalid. Inbound load balancing : allowing routers to omit the source link-layer address from Router Advertisement packets, thereby forcing to use Neighbor Solicitation messages to learn link-layer addresses of routers.

Comparison with IPv4 Router advertisements carry link-layer addresses; no additional packet exchange is needed to resolve the router's link-layer address. Router advertisements carry prefixes for a link. Router advertisements enable Address Auto- configuration.

Comparison contd. Routers can advertise an MTU for hosts to use on the link, ensuring that all nodes use the same MTU value on links lacking a well- defined MTU. Neighbor Discovery detects half-link failures (using Neighbor Unreachability Detection) and avoids sending traffic to neighbors with which two-way connectivity is absent.

Comparison contd. Unlike in IPv4 Router Discovery the Router Advertisement messages do not contain a preference field.

Message Formats Router Solicitation Message Format Hop limit : 255 Options: could be valid link-layer address Type : 133 Code : 0 Reserved TypeCodeChecksum Options..

Router Advertisement Message Format TypeCodeChecksum Cur Hop LimitmoReservedRouter Lifetime Reachable Time Retrans timer Options..

Parameters Type : 134 Code : 0 Cur Hop Limit : 8-bit unsigned integer. M : 1-bit "Managed address configuration" flag. When set, hosts use the administered (stateful) protocol for address autoconfiguration in addition to any addresses autoconfigured using stateless address autoconfiguration. O : 1-bit "Other stateful configuration" flag. When set, hosts use the administered (stateful) protocol for autoconfiguration of other information. Router Lifetime : 16-bit unsigned integer. Max value is 18.2 hours. When 0, router is not a default router. Reachable Time : 32-bit unsigned integer. The time, in milliseconds, that a node assumes a neighbor is reachable after having received a reachability confirmation.

Neighbor Solicitation Message Format TypeCodeChecksum Reserved Target Address Options..

Neighbor Advertisement Message Format R : Router Flag. When set, indicates that sender is a router. S : Solicited Flag. When set, indicates that advertisement was sent in response to Neighbor Solicitation from destination address. O : Override flag. Indicates that the advertisement should override an existing cache entry and update the cached link-layer address. TypeCodeChecksum RSOReserved Target Address Options..

Redirect Message Format TypeCodeChecksum Reserved Target Address Destination Address Options..

Conceptual Data Structures Neighbor Cache - A set of entries about individual neighbors to which traffic has been sent recently. Destination Cache - A set of entries about destinations to which traffic has been sent recently. Prefix List - A list of the prefixes that define a set of addresses that are on-link. Default Router List - A list of routers to which packets may be sent.

Conceptual Sending Algorithm When sending a packet to a destination, a node uses a combination of the Destination Cache, the Prefix List, and the Default Router List to determine the IP address of the appropriate next hop. Once the IP address of the next hop is known, the Neighbor Cache is consulted for link-layer information about that neighbor.

References RFC 1970 at

Thank You