ICMPv6

Message Format

Type ICMPv6 msg type 此欄位內容決定其它欄位的格式

Code depend on Type field

Checksum ICMP訊息的檢驗值

Message Body 包含ICMPv6訊息特有的資料

ICMPv6 error messages用於報告 packet error in router or host 他們包含下列訊息:

  • Destination Unreachable (ICMPv6 Type 1)

  • Packet Too Big (ICMPv6 Type 2)

  • Time Exceeded (ICMPv6 Type 3)

  • Parameter Problem (ICMPv6 Type 4)

Destination Unreachable

  • 當中間router無法轉送封包到其目的或者目的節點無法將封包內容傳送給上層處理時,就會發出 ICMPv6 Destination Unreachable 訊息。

Type 1 Code 0~6

Unused 固定設為0 接收端忽略其內容 Message Body 原始封包內容, ICMPv6 message不超過1280 bytes的前提下, 盡可能包含整個原始封包內容

Packet Too Big

  • 當中間router遇到轉送link上的link MTU小於IPv6 packet size,由於該packet無法轉送,router就會發送ICMPv6 Packet Too Big message

Type 128 - Echo Request Type 129 - Echo Reply Type 130 - Multicast Listener Query Type 131 - Multicast Listener Report Type 132 - Multicast Listener Done Type 133 - Router Solicitation Type 134 - Router Advertisement Type 135 - Neighbor Solicitation Type 136 - Neighbor Advertisement Type 137 - Redirect Message Type 138 - Router Renumbering

Reference:

RFC 4443  ICMPv6 (ICMP for IPv6)

Last updated

Was this helpful?