ICMPv6 Type and Code

The Internet Control Message Protocol (ICMPv6) uses many messages identified by a type and code field (see RFC 4443). Error messages use message types 0 to 127. Informational messages use message types 128 to 255. The following table provides the type and code reference.

Table 1. ICMPv6 type and code details

Type

Name

Code

Reference

1

Destination Unreachable

0—no route to destination

1—communication with destination administratively prohibited

2—(not assigned)

3—address unreachable

4—port unreachable

RFC 4443

2

Packet Too Big

RFC 4443

3

Time Exceeded

0—hop limit exceeded in transit

1—fragment reassembly time exceeded

RFC 4443

4

Parameter Problem

0—erroneous header field encountered

1—unrecognized Next Header type encountered

2—unrecognized IPv6 option encountered

RFC 4443

128

Echo Request

RFC 4443

129

Echo Reply

RFC 4443

130

Multicast Listener Query

131

Multicast Listener Report

132

Multicast Listener Done

133

Router Solicitation

RFC 4861

134

Router Advertisement

RFC 4861

135

Neighbor Solicitation

RFC 4861

136

Neighbor Advertisement

RFC 4861

137

Redirect Message

RFC 4861

138

Router Renumbering

0—router renumbering command

1—router renumbering result 255—sequence number reset

139

ICMP Node Information Query

140

ICMP Node Information Response

141

Inverse neighbor discovery Solicitation Message

RFC 3122

142

Inverse neighbor discovery Advertisement Message

RFC 3122

143

Version 2 Multicast Listener Report

RFC 3810

144

Home Agent Address Discovery Request Message

RFC 3775

145

Home Agent Address Discovery Reply Message

RFC 3775

146

Mobile Prefix Solicitation

RFC 3775

147

Mobile Prefix Advertisement

RFC 3775