ICMPv6协议中各种Type的详细取值范围及其含义
在ICMPv6中的Type字段定义中,0-127为错误消息(Error messages),而128-255为信息消息(Informational messages),其中每种Type定义一种类型及其含义分类,而部分Type中由根据Code值指定该类别下更详细的错误或信息分类。针对ICMPv6协议属于IPv6协议的一部分,因此该部分对IPv6的ND邻居发现协议进行了很详细的分类,ND邻居发现协议由ICMPv6来实现,因此ND消息的各种Type以及各种选项options也在此部分定义。
以下为各种定义的取值范围及其含义:
ICMPv6协议中的Type取值范围及其含义:
TypeName Reference
------------------------------------------------------------
1Destination Unreachable
2Packet Too Big
3Time Exceeded
4Parameter Problem
100Private experimentation
101Private experimentation
102-126 Unassigned
127Reserved for expansion of ICMPv6 error messages
128Echo Request
129Echo Reply
130Multicast Listener Query
131Multicast Listener Report
132Multicast Listener Done
133Router Solicitation
134Router Advertisement
135Neighbor Solicitation
136Neighbor Advertisement
137Redirect Message
138Router Renumbering
139ICMP Node Information Query
140ICMP Node Information Response
141Inverse Neighbor Discovery Solicitation Message
142Inverse Neighbor Discovery Advertisement Message
143Version 2 Multicast Listener Report
144Home Agent Address Discovery Request Message
145Home Agent Address Discovery Reply Message
146Mobile Prefix Solicitation
147Mobile Prefix Advertisement
148Certification Path Solicitation Message
149Certification Path Advertisement Message
150ICMP messages utilized by experimental
mobility protocols such as Seamoby
151Multicast Router Advertisement
152Multicast Router Solicitation
153Multicast Router Termination
154FMIPv6 Messages
155-199 Unassigned
200Private experimentation
201Private experimentation
255Reserved for expansion of ICMPv6 informational
messages
ICMPv6协议中Code取值范围及其含义:
Type Name Reference
---- ------------------------- ---------
1 Destination Unreachable
Code 0 - no route to destination
1 - communication with destination
administratively prohibited
2 - beyond scope of source address
3 - address unreachable
4 - port unreachable
5 - source address failed ingress/egress policy
6 - reject route to destination
2 Packet Too Big
Code 0
3 Time Exceeded
Code 0 - hop limit exceeded in transit
1 - fragment reassembly time exceeded
4 Parameter Problem
Code 0 - erroneous header field encountered
1 - unrecognized Next Header type encountered
2 - unrecognized IPv6 option encountered
128 Echo Request
Code 0
129 Echo Reply
Code 0
130 Multicast Listener Query
Code 0
131 Multicast Listener Report
Code 0
132 Multicast Listener Done
Code 0
133 Router Solicitation
Code 0
134 Router Advertisement
Code 0
135 Neighbor Solicitation
Code 0
136 Neighbor Advertisement
Code 0
137 Redirect Message
Code 0
138 Router Renumbering
Code 0 - Router Renumbering Command
1 - Router Renumbering Result
255 - Sequence Number Reset
139 ICMP Node Information Query
Code 0 - The Data field contains an
IPv6 address which is the Subject
of this Query.
1 - The Data field contains a name
which is the Subject of this Query,
or is empty, as in the case of a NOOP.
2 - The Data field contains an
IPv4 address which is the Subject
of this Query.
140 ICMP Node Information Response
Code 0 - A successful reply.The Reply
Data field may or may not be empty.
1 - The Responder refuses to supply
the answer.The Reply Data field
will be empty.
2 - The Qtype of the Query is unknown
to the Responder.The Reply Data
field will be empty.
141 Inverse Neighbor Discovery
Solicitation Message
Code 0
142 Inverse Neighbor Discovery
Advertisement Message
Code 0
144 Home Agent Address Discovery
Request Message
Code 0
145 Home Agent Address Discovery
Reply Message
Code 0
146 Mobile Prefix Solicitation
Code 0
147 Mobile Prefix Advertisement
Code 0
IPv6 ND邻居发现协议中Options取值范围及其含义:
Type Description Reference
-----------------------------------------------------
1 Source Link-layer Address
2 Target Link-layer Address
3 Prefix Information
4 Redirected Header
5 MTU
6 NBMA Shortcut Limit Option
7 Advertisement Interval Option
8 Home Agent Information Option
9 Source Address List
10 Target Address List
11 CGA option
12 RSA Signature option
13 Timestamp option
14 Nonce option
15 Trust Anchor option
16 Certificate option
17 IP Address/Prefix Option
18 New Router Prefix Information Option
19 Link-layer Address Option
20 Neighbor Advertisement Acknowledgment
Option
21-22 Unassigned
23 MAP Option
24 Route Information Option
25 Recursive DNS Server Option
26 RA Flags Extension Option
27 Handover Key Request Option
28 Handover Key Reply Option
29 Handover Assist Information Option
30 Mobile Node Identifier Option
31 DNS Search List Option
32-137Unassigned
138 CARD Request option
139 CARD Reply option
140-252 Unassigned
253 RFC3692-style Experiment 1 (*)
254 RFC3692-style Experiment 2 (*)
IPv6 ND邻居发现协议中RA路由通告协议Flags取值范围及其含义:
RA Option BitDescription Reference
-------------------------------------------------------------
0 M - Managed Address Configuration Flag
1 O - Other Configuration Flag
2 H - Mobile IPv6 Home Agent Flag
3 Prf - Router Selection Preferences
4 Prf - Router Selection Preferences
5 P - Neighbor Discovery Proxy Flag
6-53 R - Reserved; Available for assignment
54-55 Private Experimentation
IPv6 ND安全邻居发现协议(SeND)中Trust Anchor option选项 (Type 15) Name Type取值范围及其含义:
Value Description Reference
-------------------------------------------------------
0 Reserved
1 DER Encoded X.501 Name
2 FQDN
3 SHA-1 Subject Key Identifier (SKI)
4 SHA-224 Subject Key Identifier (SKI)
5 SHA-256 Subject Key Identifier (SKI)
6 SHA-384 Subject Key Identifier (SKI)
7 SHA-512 Subject Key Identifier (SKI)
8-252 Unassigned
253-254Reserved for Experimental Use
255 Reserved
IPv6 ND安全邻居发现协议(SeND)中Certificate option 证书选项 (Type 16) 中Cert Type取值范围及其含义:
ValueDescription Reference
----------------------------------------- ---------
1 X.509v3 Certificate
该数据由IANA维护,最新的数据可通过:http://www.iana.org/assignments/icmpv6-parameters 查看。
页:
[1]