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 | 描述 | 参考 |
|---|---|---|
| 0x00 | DODAG Information Solicitation | 本文档 |
| 0x01 | DODAG Information Object | 本文档 |
| 0x02 | Destination Advertisement Object | 本文档 |
| 0x03 | Destination Advertisement Object Acknowledgment | 本文档 |
| 0x80 | Secure DODAG Information Solicitation | 本文档 |
| 0x81 | Secure DODAG Information Object | 本文档 |
| 0x82 | Secure Destination Advertisement Object | 本文档 |
| 0x83 | Secure Destination Advertisement Object Acknowledgment | 本文档 |
| 0x8A | Consistency 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 | 描述 | 参考 |
|---|---|---|
| 0 | RPL 不维护 Downward 路由 | 本文档 |
| 1 | Non-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 | 含义 | 参考 |
|---|---|---|
| 0x00 | Pad1 | 本文档 |
| 0x01 | PadN | 本文档 |
| 0x02 | DAG Metric Container | 本文档 |
| 0x03 | Routing Information | 本文档 |
| 0x04 | DODAG Configuration | 本文档 |
| 0x05 | RPL Target | 本文档 |
| 0x06 | Transit Information | 本文档 |
| 0x07 | Solicited Information | 本文档 |
| 0x08 | Prefix Information | 本文档 |
| 0x09 | Target 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
当前定义了以下值:
| Value | Encryption/MAC | Signature | 参考 |
|---|---|---|---|
| 0 | CCM with AES-128 | RSA 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:
| Level | KIM value | 描述 | 参考 |
|---|---|---|---|
| 0 | 0 | 见图 11 | 本文档 |
| 1 | 0 | 见图 11 | 本文档 |
| 2 | 0 | 见图 11 | 本文档 |
| 3 | 0 | 见图 11 | 本文档 |
| 0 | 1 | 见图 11 | 本文档 |
| 1 | 1 | 见图 11 | 本文档 |
| 2 | 1 | 见图 11 | 本文档 |
| 3 | 1 | 见图 11 | 本文档 |
| 0 | 2 | 见图 11 | 本文档 |
| 1 | 2 | 见图 11 | 本文档 |
| 2 | 2 | 见图 11 | 本文档 |
| 3 | 2 | 见图 11 | 本文档 |
| 0 | 3 | 见图 11 | 本文档 |
| 1 | 3 | 见图 11 | 本文档 |
| 2 | 3 | 见图 11 | 本文档 |
| 3 | 3 | 见图 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 | 描述 | 参考 |
|---|---|---|
| 0 | DAO-ACK request (K) | 本文档 |
| 1 | DODAGID 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 | 描述 | 参考 |
|---|---|---|
| 0 | DODAGID 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 | 描述 | 参考 |
|---|---|---|
| 0 | CC 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 | 描述 | 参考 |
|---|---|---|
| 4 | Authentication Enabled (A) | 本文档 |
| 5-7 | Path 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 | 描述 | 参考 |
|---|---|---|
| 0 | External (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 | 描述 | 参考 |
|---|---|---|
| 0 | Version Predicate match (V) | 本文档 |
| 1 | InstanceID Predicate match (I) | 本文档 |
| 2 | DODAGID 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.
20.19. 链路本地作用域组播地址 (Link-Local Scope Multicast Address)
分配新 IPv6 组播地址的规则在 [RFC3307] 中定义. 本规范要求为 RPL 节点分配一个新的链路本地作用域永久组播地址, 称为 all-RPL-nodes, 其值为 ff02::1a.