跳到主要内容

20. IANA 考虑 (IANA Considerations)

20.1. RPL 控制消息 (RPL Control Message)

RPL 控制消息是一个 ICMP 信息消息类型, 用于携带 DODAG 信息对象 (DODAG Information Object), DODAG 信息请求 (DODAG Information Solicitation) 和目的地通告对象 (Destination Advertisement Object), 以支持 RPL 运行.

IANA 已定义 ICMPv6 Type Number Registry. RPL 控制消息的 type 值为 155.

20.2. RPL Control Codes 新注册表 (New Registry for RPL Control Codes)

IANA 已为 ICMPv6 RPL 控制消息的 Code 字段创建注册表 RPL Control Codes.

新 code 只能通过 IETF Review 分配. 每个 code 通过以下属性跟踪:

  • Code

  • Description

  • Defining RFC

当前定义了以下 code:

Code描述参考
0x00DODAG Information Solicitation本文档
0x01DODAG Information Object本文档
0x02Destination Advertisement Object本文档
0x03Destination Advertisement Object Acknowledgment本文档
0x80Secure DODAG Information Solicitation本文档
0x81Secure DODAG Information Object本文档
0x82Secure Destination Advertisement Object本文档
0x83Secure Destination Advertisement Object Acknowledgment本文档
0x8AConsistency Check本文档

20.3. Mode of Operation (MOP) 新注册表 (New Registry for the Mode of Operation (MOP))

IANA 已为 DIO Base 中包含的 3 位 Mode of Operation (MOP) 创建注册表.

新值只能通过 IETF Review 分配. 每个值通过以下属性跟踪:

  • Mode of Operation Value

  • Capability description

  • Defining RFC

当前定义了四个值:

MOP value描述参考
0RPL 不维护 Downward 路由本文档
1Non-Storing 运行模式本文档
2无组播支持的 Storing 运行模式本文档
3支持组播的 Storing 运行模式本文档

该范围的其余部分, 十进制 4 到 7, 当前未分配.

20.4. RPL 控制消息选项 (RPL Control Message Options)

IANA 已为 RPL Control Message Options 创建注册表.

新值只能通过 IETF Review 分配. 每个值通过以下属性跟踪:

  • Value

  • Meaning

  • Defining RFC

Value含义参考
0x00Pad1本文档
0x01PadN本文档
0x02DAG Metric Container本文档
0x03Routing Information本文档
0x04DODAG Configuration本文档
0x05RPL Target本文档
0x06Transit Information本文档
0x07Solicited Information本文档
0x08Prefix Information本文档
0x09Target Descriptor本文档

20.5. Objective Code Point (OCP) 注册表 (Objective Code Point (OCP) Registry)

IANA 已创建注册表, 用于管理 Objective Code Point (OCP) 字段的代码空间.

本规范未定义任何 OCP.

新 code 只能通过 IETF Review 分配. 每个 code 通过以下属性跟踪:

  • Code

  • Description

  • Defining RFC

20.6. Security Section Algorithm 新注册表 (New Registry for the Security Section Algorithm)

IANA 已为 Security 部分中 8 位 Algorithm 字段的值创建注册表.

新值只能通过 IETF Review 分配. 每个值通过以下属性跟踪:

  • Value

  • Encryption/MAC

  • Signature

  • Defining RFC

当前定义了以下值:

ValueEncryption/MACSignature参考
0CCM with AES-128RSA with SHA-256本文档

20.7. Security Section Flags 新注册表 (New Registry for the Security Section Flags)

IANA 已为 8 位 Security Section Flags 字段创建注册表.

新 bit number 只能通过 IETF Review 分配. 每个位通过以下属性跟踪:

  • Bit number (从最高有效位作为 bit 0 开始计数)

  • Capability description

  • Defining RFC

Security Section Flags 字段当前未定义任何位.

20.8. 每个 KIM 的 Security Level 新注册表 (New Registry for Per-KIM Security Levels)

IANA 已为每个已分配 KIM 值的 3 位 Security Level (LVL) 字段创建一个注册表.

对于给定 KIM 值, 新 level 只能通过 IETF Review 分配. 每个 level 通过以下属性跟踪:

  • Level

  • KIM value

  • Description

  • Defining RFC

当前为每个 KIM 值定义了以下 level:

LevelKIM value描述参考
00见图 11本文档
10见图 11本文档
20见图 11本文档
30见图 11本文档
01见图 11本文档
11见图 11本文档
21见图 11本文档
31见图 11本文档
02见图 11本文档
12见图 11本文档
22见图 11本文档
32见图 11本文档
03见图 11本文档
13见图 11本文档
23见图 11本文档
33见图 11本文档

20.9. DODAG 信息请求 (DIS) Flags 新注册表 (New Registry for DODAG Informational Solicitation (DIS) Flags)

IANA 已为 DIS (DODAG Informational Solicitation) Flags 字段创建注册表.

新 bit number 只能通过 IETF Review 分配. 每个位通过以下属性跟踪:

  • Bit number (从最高有效位作为 bit 0 开始计数)

  • Capability description

  • Defining RFC

DIS (DODAG Informational Solicitation) Flags 字段当前未定义任何位.

20.10. DODAG Information Object (DIO) Flags 新注册表 (New Registry for the DODAG Information Object (DIO) Flags)

IANA 已为 8 位 DODAG Information Object (DIO) Flags 字段创建注册表.

新 bit number 只能通过 IETF Review 分配. 每个位通过以下属性跟踪:

  • Bit number (从最高有效位作为 bit 0 开始计数)

  • Capability description

  • Defining RFC

DIS (DODAG Informational Solicitation) Flags 当前未定义任何位.

20.11. Destination Advertisement Object (DAO) Flags 新注册表 (New Registry for the Destination Advertisement Object (DAO) Flags)

IANA 已为 8 位 Destination Advertisement Object (DAO) Flags 字段创建注册表.

新 bit number 只能通过 IETF Review 分配. 每个位通过以下属性跟踪:

  • Bit number (从最高有效位作为 bit 0 开始计数)

  • Capability description

  • Defining RFC

当前定义了以下位:

Bit number描述参考
0DAO-ACK request (K)本文档
1DODAGID field is present (D)本文档

20.12. Destination Advertisement Object (DAO) Acknowledgement Flags 新注册表 (New Registry for the Destination Advertisement Object (DAO) Acknowledgement Flags)

IANA 已为 8 位 Destination Advertisement Object (DAO) Acknowledgement Flags 字段创建注册表.

新 bit number 只能通过 IETF Review 分配. 每个位通过以下属性跟踪:

  • Bit number (从最高有效位作为 bit 0 开始计数)

  • Capability description

  • Defining RFC

当前定义了以下位:

Bit number描述参考
0DODAGID field is present (D)本文档

20.13. Consistency Check (CC) Flags 新注册表 (New Registry for the Consistency Check (CC) Flags)

IANA 已为 8 位 Consistency Check (CC) Flags 字段创建注册表.

新 bit number 只能通过 IETF Review 分配. 每个位通过以下属性跟踪:

  • Bit number (从最高有效位作为 bit 0 开始计数)

  • Capability description

  • Defining RFC

当前定义了以下位:

Bit number描述参考
0CC Response (R)本文档

20.14. DODAG Configuration Option Flags 新注册表 (New Registry for the DODAG Configuration Option Flags)

IANA 已为 8 位 DODAG Configuration Option Flags 字段创建注册表.

新 bit number 只能通过 IETF Review 分配. 每个位通过以下属性跟踪:

  • Bit number (从最高有效位作为 bit 0 开始计数)

  • Capability description

  • Defining RFC

当前定义了以下位:

Bit number描述参考
4Authentication Enabled (A)本文档
5-7Path Control Size (PCS)本文档

20.15. RPL Target Option Flags 新注册表 (New Registry for the RPL Target Option Flags)

IANA 已为 8 位 RPL Target Option Flags 字段创建注册表.

新 bit number 只能通过 IETF Review 分配. 每个位通过以下属性跟踪:

  • Bit number (从最高有效位作为 bit 0 开始计数)

  • Capability description

  • Defining RFC

RPL Target Option Flags 当前未定义任何位.

20.16. Transit Information Option Flags 新注册表 (New Registry for the Transit Information Option Flags)

IANA 已为 8 位 Transit Information Option (TIO) Flags 字段创建注册表.

新 bit number 只能通过 IETF Review 分配. 每个位通过以下属性跟踪:

  • Bit number (从最高有效位作为 bit 0 开始计数)

  • Capability description

  • Defining RFC

当前定义了以下位:

Bit number描述参考
0External (E)本文档

20.17. Solicited Information Option Flags 新注册表 (New Registry for the Solicited Information Option Flags)

IANA 已为 8 位 Solicited Information Option (SIO) Flags 字段创建注册表.

新 bit number 只能通过 IETF Review 分配. 每个位通过以下属性跟踪:

  • Bit number (从最高有效位作为 bit 0 开始计数)

  • Capability description

  • Defining RFC

当前定义了以下位:

Bit number描述参考
0Version Predicate match (V)本文档
1InstanceID Predicate match (I)本文档
2DODAGID Predicate match (D)本文档

20.18. ICMPv6: Source Routing Header 错误 (Error in Source Routing Header)

在某些情况下, 当消息无法按其源路由头部指定的方式交付时, RPL 将返回 ICMPv6 错误消息. 此 ICMPv6 错误消息是 "Error in Source Routing Header".

IANA 已为 ICMPv6 Message Type 定义 ICMPv6 "Code" Fields Registry. ICMPv6 Message Type 1 描述 "Destination Unreachable" code. "Error in Source Routing Header" code 已从 ICMPv6 Message Type 1 的 ICMPv6 Code Fields Registry 分配, code 值为 7.

分配新 IPv6 组播地址的规则在 [RFC3307] 中定义. 本规范要求为 RPL 节点分配一个新的链路本地作用域永久组播地址, 称为 all-RPL-nodes, 其值为 ff02::1a.