ZyXEL Confidential ICMPv6 Feng Zhou SW2 ZyXEL Communications Corp. 03/27/2006.

Slides:



Advertisements
Similar presentations
Multicast Listener Discovery Jeffrey Zhou SW2 ZyXEL Communications, Inc 04/06/2006.
Advertisements

ZyXEL Confidential Address Autoconfiguration Feng Zou SW2 ZyXEL Communications Corp. 04/11/2006.
IPv4 & IPv6 Coexistence & Migration Joe Zhao SW2 Great China R&D Center ZyXEL Communications, Inc.
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
資 管 Lee Lesson 12 IPv6 Mobility. 資 管 Lee Lesson Objectives Components of IPv6 mobility IPv6 mobility messages and options IPv6 mobility data structures.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
LOGO IPv6 Application Analysis Xi Chen
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
1 IPv6 Packet Format. 2 Objectives IPv6 vs IPv4 IPv6 Packet Format IPv6 fields IPv6 and data-link technologies.
IPv6 Header & Extensions Joe Zhao SW2 Great China R&D Center ZyXEL Communications, Inc.
Internet Control Message Protocol (ICMP)
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
ICMP & ICMPv6 Referenced on RFC’s 792 and 2463 respectively. Frank Azevedo.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
1 CCNA 2 v3.1 Module 8. 2 TCP/IP Suite Error and Control Messages CCNA 2 Module 8.
Internet Command Message Protocol (ICMP) CS-431 Dick Steflik.
1 K. Salah Module 5.3: Internet Control Message Protocol Why need ICMP? IP and ICMP ICMP Message Format ICMP Error Reporting messages ICMP Query messages.
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 ICMP : Internet Control Message Protocol Computer Network System Sirak Kaewjamnong.
1 CMPT 471 Networking II ICMP © Janice Regan, 2012.
CS 6401 Internet Protocol Outline Introduction to Internet Protocol Header and address formats ICMP Tools.
4: Network Layer4a-1 IP datagram format ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier Internet checksum time.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Internet Control Message Protocol ICMP author -- J. Postel, September The purpose.
Guide to TCP/IP, Third Edition
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
Page 19/13/2015 Chapter 8 Some conditions that must be met for host to host communication over an internetwork: a default gateway must be properly configured.
Internet Control Message Protocol (ICMP). Objective l IP and ICMP l Why need ICMP? l ICMP Message Format l ICMP fields l Examples: »Ping »Traceroute.
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.
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.
1 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
IPv6 Routing Milo Liu SW2 R&D ZyXEL Communications, Inc.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
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.
1 Chapter 23 Internetworking Part 3 (Control Messages, Error Handling, ICMP)
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
Understanding IPv6 Slide: 1 Lesson 12 IPv6 Mobility.
IPv6 Introduction Joe zhao SW2 Great China R&D Center ZyXEL Communications, Inc.
1 Requirements for Internet Routers (Gateways) and Hosts Relates to Lab 3. (Supplement) Covers the compliance requirements of Internet routers and hosts.
1 Kyung Hee University Chapter 28 ICMPv6. 2 Kyung Hee University 28.1 Introduction  This new version, Internet Control Message Protocol version 6 ( ICMPv6.
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.
1 IPv6: Packet Structures Dr. Rocky K. C. Chang 29 January, 2002.
Understanding IPv6 Slide: 1 Lesson 5 ICMPv6. Understanding IPv6 Slide: 2 Lesson Objectives Purpose of ICMPv6 and the structure of all ICMPv6 messages.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
BAI513 - Protocols IP Version 6 Operation BAIST – Network Management.
Internet Control Message Protocol (ICMP)
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
Chapter 19 Network Layer Protocols
Chapter 9 ICMP.
The New Internet Protocol
COMPUTER NETWORKS CS610 Lecture-33 Hammad Khalid Khan.
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
Internet Control Message Protocol (ICMP)
The New Internet Protocol
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
Chapter 15. Internet Protocol
Fred Kuhns Applied Research Laboratory
32 bit destination IP address
Presentation transcript:

ZyXEL Confidential ICMPv6 Feng Zhou SW2 ZyXEL Communications Corp. 03/27/2006

ZyXEL Confidential Outline  Review ICMPv4  Overview of ICMPv6  ICMPv6 Error Messages  ICMPv6 Informational Messages  ICMPv4 vs. ICMPv6  Path MTU Discovery  Q&A

ZyXEL Confidential Review ICMPv4  ICMPv4 Header  protocol field in IPv4 header is 1 ||||||| ||||||||||||||| ||||||| …………… Type Code Chucksum Message Body

ZyXEL Confidential Overview of ICMPv6  Next Header = 58  Functions Reporting errors Diagnostic function for troubleshooting Additional information message –ND (Neighbor Discovery) –MLD (Multicast Listener Discovery)

ZyXEL Confidential Overview of ICMPv6  Types of ICMPv6 Messages Error Messages –Report forwarding or delivery errors by either a router or the destination host Informational Messages –Provide a simple diagnostic capability to aid in troubleshooting –MLD and ND

ZyXEL Confidential Overview of ICMPv6  ICMPv6 Header Type(8bits):Indicates the type of ICMPv6 message. Code(8bits):Differentiates among multiple messages within a given message type. Chucksum(16bits):Stores a checksum of the ICMPv6 message. Message Body:Contains ICMPv6 message-specific data. ||||||| ||||||||||||||| ||||||| …………… Type Code Chucksum Message Body

ZyXEL Confidential ICMPv6 Error Messages  Type: 0~127 (the first bit of Type field is 0)  Consist Destination Unreachable –The packet cannot be forwarded to the destination node or upper- layer protocol Packet Too Big –The packet cannot be forwarded because the link MTU on the forwarding interface of a router is smaller than the size of the IPv6 packet Time Exceeded –The Hop Limit field in the IPv6 header becomes zero after decrementing its value during the forwarding process Parameter Problem –There is an error in the IPv6 header or an extension header that prevents IPv6 from performing additional processing

ZyXEL Confidential ICMPv6 Error Messages  Rate limiting To conserve network bandwidth, ICMPv6 error messages are not sent for every error encountered, they are rate limiting Rate limiting can be based on either of the following: –A timer ● One error message per source or any source for every T ms. RFC 2463 suggests a value of 1000 ms –A percentage of bandwidth ● Error messages sent per interface is some percentage P of the link's bandwidth. RFC 2463 suggests a value of 2%

ZyXEL Confidential Destination Unreachable  Message Structure Portion of Discarded Packet: fit as much invoking packet as possible without exceeding the minimum IPv6 MTU ||||||| ||||||| ||||||| ||||||| ……………………… Type Code Chucksum Unused Portion of Discarded Packet =1 =0~4 ||||||| ||||||||||||||||| ||||||||

ZyXEL Confidential Destination Unreachable  Code Field Value CodeDescriptionExample 0 No Route to Destination No route matching the destination was found in the routing table 1 Communication with Destination Administratively Prohibited packet is discarded by a firewall 2 Beyond Scope of Source Address packet is forwarded using an interface that is not within the scoped zone of the source address 3 Address Unreachable an inability to resolve the destination's link-layer address 4Port UnreachablePacket received but no application

ZyXEL Confidential + Frame: Base frame properties + ETHERNET: EType = IPv6 IP6: Version = 6 (0x6) IP6: Traffic Class = 0 (0x0) IP6: Flow Label = 0 (0x0) IP6: Payload Length = 88 (0x58) IP6: Next Header = 58 (ICMP6) IP6: Hop Limit = 128 (0x80) IP6: Source Address = fec0::2:201:2ff:fe44:87d1 IP6: Destination Address = fec0::2:260:97ff:fe02:6e8f IP6: Payload: Number of data bytes remaining = 88 (0x0058) ICMP6: Destination Unreachable (No route) ICMP6: Type = 1 (Destination Unreachable) ICMP6: Code = 0 (No route) ICMP6: Checksum = 0xD498 ICMP6: Unused ICMP6: Data: Number of data bytes remaining = 80 (0x0050)

ZyXEL Confidential Packet Too Big  Message Structure MTU: stores the link MTU of the interface over which the packet was being forwarded ||||||| ||||||| ||||||| ||||||| ……………………… Type Code Chucksum MTU Portion of Discarded Packet =2 =0 ||||||| ||||||||||||||||| ||||||||

ZyXEL Confidential Time Exceeded  Message Structure  Code 0 (Hop Limit Exceeded in Transit) –Sent by a router when the Hop Limit field in the IPv6 header is decremented to 0, or this value of an arriving packet is 0 1 (Fragment Reassembly Time Exceeded) –Sent by a host when the fragmentation reassembly time of the destination host expires ||||||| ||||||| ||||||| ||||||| ……………………… Type Code Chucksum Unused Portion of Discarded Packet =3 =0 or 1 ||||||| ||||||||||||||||| ||||||||

ZyXEL Confidential Parameter Problem  Message Structure Pointer: indicates the byte offset (starting at 0) in the IPv6 packet at which the error was encountered ||||||| ||||||| ||||||| ||||||| ……………………… Type Code Chucksum Pointer Portion of Discarded Packet =4 =0~2 ||||||| ||||||||||||||||| ||||||||

ZyXEL Confidential Parameter Problem  Code Field Value  Unrecognized IPv6 Option Encountered message is used when both of the following are true: An option in a Hop-by-Hop Options header or a Destination Options header is not recognized. Within the option's Option Type field, the 2 high-order bits are set to either 10 (binary) or 11 (binary) CodeDescription 0Erroneous Header Field Encountered 1Unrecognized Next Header Type Encountered 2Unrecognized IPv6 Option Encountered

ZyXEL Confidential ICMPv6 Informational Messages  Type: 128~255 (the first bit of Type is 1)  Consist Echo Request –Sent to a destination to solicit an immediate Echo Reply message. The Echo Request/Echo Reply message facility provides a simple diagnostic function to aid in the troubleshooting of a variety of reach ability and routing problems Echo Reply –Sent in response to the receipt of an ICMPv6 Echo Request message

ZyXEL Confidential Echo Request  Message Structure The Identifier and Sequence Number fields are set by the sending host so that they can be used to match an incoming Echo Reply message with a sent Echo Request message ||||||| ||||||| ||||||| ||||||| ……………………… Type Code Chucksum Identifier Sequence Number Data =128 =0 ||||||| |||||||

ZyXEL Confidential Echo Reply  Message Structure  The Identifier, Sequence Number, and Data fields are set with the same values as those in the Echo Request message that prompted the Echo Reply ||||||| ||||||| ||||||| ||||||| ……………………… Type Code Chucksum Identifier Sequence Number Data =129 =0 ||||||| |||||||

ZyXEL Confidential ICMPv4 vs. ICMPv6 ICMPv4ICMPv6 Destination Unreachable-Network Unreachable (Type 3, Code 0) Destination Unreachable-No Route to Destination (Type 1, Code 0) Destination Unreachable-Host Unreachable (Type 3, Code 1) Destination Unreachable-Address Unreachable (Type 1, Code 3) Destination Unreachable-Protocol Unreachable (Type 3, Code 2) Parameter Problem-Unrecognized Next Header Type Encountered (Type 4, Code 1) Destination Unreachable-Port Unreachable (Type 3, Code 3)Destination Unreachable-Port Unreachable (Type 1, Code 4) Destination Unreachable-Fragmentation Needed and DF Set (Type 3, Code 4) Packet Too Big (Type 2, Code 0) Destination Unreachable-Communication with Destination Host Administratively Prohibited (Type 3, Code 10) Destination Unreachable-Communication with Destination Administratively Prohibited (Type 1, Code 1) Source Quench (Type 4, Code 0)This message is not present in IPv6 Redirect (Type 5, Code 0)Neighbor Discovery Redirect message (Type 137, Code 0) Time Exceeded-TTL Exceeded in Transit (Type 11, Code 0) Time Exceeded-Hop Limit Exceeded in Transit (Type 3, Code 0) Time Exceeded-Fragment Reassembly Time Exceeded (Type 11, Code 1) Time Exceeded-Fragment Reassembly Time Exceeded (Type 3, Code 1) Parameter Problem (Type 12, Code 0)Parameter Problem (Type 4, Code 0 or Code 2)

ZyXEL Confidential Path MTU Discovery  PMTU the smallest link MTU supported by any link in the path between a source and a destination  Link MTU the maximum-sized link-layer payload that can be sent on the link

ZyXEL Confidential Path MTU Discovery  PMTU Discovered Process 1. The sending node assumes that the destination PMTU is the link MTU of the interface on which the traffic is being forwarded 2. The sending node sends IPv6 packets at the assumed PMTU size 3. If a router on the path is unable to forward the packet, it sends an ICMPv6 Packet Too Big message back. The ICMPv6 Packet Too Big message contains the link MTU of the interface on which forwarding failed 4. The sending node sets the new assumed PMTU to the value of the MTU field in the ICMPv6 Packet Too Big message The sending node starts again at step 2 and repeats steps 2 through 4 until when either no Packet Too Big messages are received or an response or acknowledgment packet is received from the destination.

ZyXEL Confidential Changes in PMTU  Decreases in path MTU Immediately discovered through the receipt of ICMPv6 Packet Too Big messages  Increases in path MTU Detected by the sending node. The sending node can attempt to send a larger IPv6 packet after a minimum of 5 minutes (10mins are recommended) upon receiving an ICMPv6 Packet Too Big message

ZyXEL Confidential Path MTU Discovery Flowchart Set PMTU to Link MTU Send packet at PMTU Size Set PMTU to Link MTU Packet Too Big received N PMTU < Link MTU N Y PMTU timer expired? Y Y N

ZyXEL Confidential Q&A

ZyXEL Confidential DateSubjectLecturer Introduction to IPv6 IPv6 Addressing IPv6 Header & Extensions Neighbor Discovery Protocol Multicast Listener Discovery IPv6 Routing ICMPv6 Address Autoconfigurator Joe Zhao Milo Liu Joe Zhao Feng Zhou Billy Bian Jeffrey Zhou Feng Zhou Milo Liu 03/10 03/16 03/23 03/27 03/30 04/06 Training course arrangement

ZyXEL Confidential DateSubjectLecturer Setting Up an IPv6 Test Lab IPv6 Migration Mechanisms IPv6 Mobility Joe Zhou Milo Liu 04/13 04/20 Training course arrangement