LPWAN | T. Lagos, Ed. |
Internet-Draft | D. Dujovne |
Intended status: Informational | Universidad Diego Portales |
Expires: September 6, 2018 | March 5, 2018 |
LPWAN Static Context Header Compression (SCHC) for ICMPv6
draft-lagos-lpwan-icmpv6-static-context-hc-01
This document provides the implementation of the LPWAN static context header compression (SCHC) for the Internet Control Message Protocol version 6 (ICMPv6) on networks with star topology. SCHC is a header compression technique which uses RoHC concepts and the flexibility of 6LoWPAN to avoid fields that are known by all network devices and compress the remaining header fields. The ICMPv6 messages considered in this draft are Echo Request, Echo Reply and Neighbor Discovery.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on September 6, 2018.
Copyright (c) 2018 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
This document is an Internet Draft, so it is work-in-progress by nature. It contains the following work-in-progress elements:
LPWANs are networks where low power consumption, high delay and extremely small packets characterize the traffic. The nodes are tipically connected in a star topology, with a central gateway that connects the network to the Internet. Most IP-based networks require ICMP services to enable network configuration and testing, such as neighbor node detection and round trip time calculation. Because ICMPv6 has redundant information in header fields, SCHC can be deployed efficiently, especially for LPWA devices that are constrained by a small available bandwidth and power limitations.
This document describes ICMPv6 message compression using SCHC compression defined on [I-D.toutain-lpwan-ipv6-static-context-hc] to reduce to the minimum the required LPWAN packet size.
High coverage and low power communication technologies - LoRa networks - allow the construction of data capture systems with the goal of covering a large area with a low bandwidth. This technology is characterized by the transmission of short packets and their direct sequence spread spectrum - DSSS.
To maintain communications between the nodes and the outer is necessary the implementation of a neighbor discovery protocol. The internet layer will be composed by the ICMPv6 protocol.
The use of SCHC in LoRa messages is fundamental in the ICMPv6 comunication. This is because the IPv6 header consist in 40 Bytes and the ICMPv6 header in the worst esenario can be reach lenght over the 36 Bytes. For a LoRa escenario the field checksum of a ICMPv6 message will be avoided how is shown in the next chapters. This is because LoRa message posses CRC so it is not necesassary to send it.
The fields link layer and target address (only link local) in a ICMPv6 message are going be sended ones as they will be saved in the memory of the LoRa Gateway. For more datails see Section 9
Echo Request and Echo Reply are composed by the same fields:
For a SCHC compression it is necessary to identify which fields stay static to build the context.
The fields Code and checksum can be elided because Code is always zero and Checksum can be calculated after the decompression of the packet. In the case of Type, this field can be represented in the SCHC rule. The Identifier and Sequence fields will be sent after the SCHC rule.
Field | FP | DI | Match Opera. | Comp Decomp Action | Sent [bits] | |
---|---|---|---|---|---|---|
Type | 1 | Bi | equal | not sent | ||
Code | 1 | Bi | equal | not sent | ||
Checksum | 1 | Bi | ignore | compute-checksum | ||
Identifier | 1 | Bi | equal | sent | [16] | |
Sequence | 1 | Bi | ignore | sent | [16] |
The Router Solicitation packet header is composed by: RFC 4861, Router Solicitation should have a Link-Local Source Address and a Router Multicast Address which can be integrated after the packet decompression.
The most significant field is the MAC address of the network host. As mentioned on
Field | FP | DI | Match Opera. | Comp Decomp Action | Sent [bits] | |
---|---|---|---|---|---|---|
Type | 1 | Bi | equal | not sent | ||
Code | 1 | Bi | equal | not sent | ||
Checksum | 1 | Bi | ignore | compute-checksum | ||
Reserved | 1 | Bi | equal | not sent | ||
Option - type | 1 | Bi | equal | not sent | ||
Option - length | 1 | Bi | ignore | compute-length | ||
Option - link-layer | 1 | Bi | ignore | sent | [48] |
The Router Advertisement packet header is composed by:
The SCHC compression for Router Advertisement is designed to send the MAC address of the packet. Like the Echo message, the Type field can be represented in the SCHC rule.
The Current Hop Limit, Autoconfig Flags, Lifetime Router, Reachable Time, and Retransmission Timer fields can be deleted if the host knows these values. The MTU of this packet can be elided and the IPv6 prefix helps the SCHC compression of the global address, omitting the first 8 bytes of the address.
Field | FP | DI | Match Opera. | Comp Decomp Action | Sent [bits] | |
---|---|---|---|---|---|---|
Type | 1 | Bi | equal | not sent | ||
Code | 1 | Bi | equal | not sent | ||
Checksum | 1 | Bi | ignore | compute-checksum | ||
Current Hop Limit | 1 | Bi | ignore | not sent | ||
Autoconfig Flags | 1 | Bi | ignore | not sent | ||
Router Lifetime | 1 | Bi | ignore | not sent | ||
Reachable Time | 1 | Bi | ignore | not sent | ||
Retransmission Timer | 1 | Bi | ignore | not sent | ||
Option - type | 1 | Bi | equal | not sent | ||
Option - length | 1 | Bi | ignore | compute-length | ||
Option - link-layer | 1 | Bi | ignore | sent | [48] | |
Option - type | 1 | Bi | equal | not sent | ||
Option - length | 1 | Bi | ignore | not sent | ||
Option - reserved | 1 | Bi | equal | not sent | ||
Option - MTU | 1 | Bi | ignore | not sent | ||
Option - type | 1 | Bi | equal | not sent | ||
Option - length | 1 | Bi | equal | not sent | ||
Option - Flag | 1 | Bi | ignore | not sent | ||
Option - Valid lifetime | 1 | Bi | ignore | not sent | ||
Option - Preferred lifetime | 1 | Bi | ignore | not sent | ||
Option - reserved | 1 | Bi | equal | not sent | ||
Option - prefix | 1 | Bi | ignore | not sent |
The Neighbor Solicitation packet header is composed by:
For SCHC compression over Neighbor Solicitation, the MAC address and the Target Address are the minimal fields for the transmision. If the Target address has a Link-Local value, the last 8 Bytes of the address are sent, otherwise, the full 16 Bytes are sent. The type field can be represented in the SCHC rule.
Field | FP | DI | Match Opera. | Comp Decomp Action | Sent [bits] | |
---|---|---|---|---|---|---|
Type | 1 | Bi | equal | not sent | ||
Code | 1 | Bi | equal | not sent | ||
Checksum | 1 | Bi | ignore | compute-checksum | ||
Target Address | 1 | Bi | match- mapping | sent | link-local [64] global [128] | |
Option - type | 1 | Bi | equal | not sent | ||
Option - length | 1 | Bi | ignore | compute-length | ||
Option - link-layer | 1 | Bi | ignore | sent | [48] |
A Neighbor Advertisement is composed by:
For the compression of SCHC in Neighbor Advertisement, the MAC address is sent if it is a Multicast neighborhood request response. If the Target address has a Link-Local value, the last 8 Bytes of the address will be sent, otherwise, the full 16 Bytes will be transmitted. If the Flags field is known by the host, it can be deleted. The Type field can be represented in the SCHC rule.
Field | FP | DI | Match Opera. | Comp Decomp Action | Sent [bits] | |
---|---|---|---|---|---|---|
Type | 1 | Bi | equal | not sent | ||
Code | 1 | Bi | equal | not sent | ||
Checksum | 1 | Bi | ignore | compute-checksum | ||
Flags | 1 | Bi | equal | not sent | ||
Target Address | 1 | Bi | match- mapping | sent | link-local [64] global [128] | |
Option - type | 1 | Bi | equal | not sent | ||
Option - length | 1 | Bi | ignore | not sent | ||
Option - link-layer | 1 | Bi | ignore | not sent |
(TODO)
This work is partially supported by 16STIC-08 STIC-AmSud PEACH Research Project. We would also like to thank the Red Snapper project for their support.
[RFC2119] | Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997. |
[RFC4443] | Conta, A., Deering, S. and M. Gupta, "Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification", STD 89, RFC 4443, DOI 10.17487/RFC4443, March 2006. |
[RFC4861] | Narten, T., Nordmark, E., Simpson, W. and H. Soliman, "Neighbor Discovery for IP version 6 (IPv6)", RFC 4861, DOI 10.17487/RFC4861, September 2007. |
[I-D.toutain-lpwan-ipv6-static-context-hc] | Minaburo, A. and L. Toutain, "LPWAN Static Context Header Compression (SCHC) for IPv6 and UDP", Internet-Draft draft-toutain-lpwan-ipv6-static-context-hc-00, September 2016. |