RFC | IPv6 over OWC | July 2023 |
Choi, et al. | Expires 10 January 2024 | [Page] |
IEEE 802.15.7, "Short-Range Optical Wireless Communications" defines wireless communication using visible light. It defines how data is transmitted, modulated, and organized in order to enable reliable and efficient communication in various environments. The standard is designed to work alongside other wireless communication systems and supports both line-of-sight (LOS) and non-line-of-sight (NLOS) communications. This document describes how IPv6 is transmitted over short-range optical wireless communications (OWC) using IPv6 over Low-Power Wireless Personal Area Network (6LoWPAN) techniques.¶
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 10 January 2024.¶
Copyright (c) 2023 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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
The rapid growth of the Internet of Things (IoT) has led to a significant increase in the number of wireless communication technologies utilized for real-time data collection and monitoring in various industrial domains, such as manufacturing, agriculture, healthcare, transportation, and so on. This trend highlights the importance of wireless communication in facilitating real-time data exchange and analysis, ultimately contributing to enhanced operational efficiency and decision-making processes across different industrial sectors.¶
Optical Wireless Communications (OWC) is one of candidates for IoT wireless communication technologies, which are ustilized in various industirical domains. OWC is specified in the IEEE 802.15.7 [IEEE802.15.7]. OWC definded by IEEE 802.15.7 standard provides 6 characeristics, such as Visible Light Communication (VLC), Short-Range Communication, Line-of-Sight (LOS) and Non-Line-of-Sight (NLOS) Support, High and Low Data Rates, Energy Efficiency, and Secure Communication.¶
OWC has a capability to provide IPv6-based IoT networking as one of the low-power wireless personal network (LoWPANs). OWC supports various network topologies, including peer-to-peer and star configurations. With IPv6 over OWC, it is possible to extend the network topology to include mesh topology using a route-over mechanism. Furthermore, OWC needs 6LoWPAN technologies [RFC4944] [RFC6282] [RFC6775] because of low bit rates and limited frame size from the energy-constraint.¶
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 BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This specification requires readers to be familiar with all the terms and concepts that are discussed in "IPv6 over Low-Power Wireless Personal Area Networks (6LoWPANs): Overview, Assumptions, Problem Statement, and Goals" [RFC4919], "Transmission of IPv6 Packets over IEEE 802.15.4 Networks" [RFC4944], and "Neighbor Discovery Optimization for IPv6 over Low-Power Wireless Personal Area Networks (6LoWPANs) [RFC6775].¶
Optical Wireless Communication(OWC) utilizes intensity modulation of optical sources, such as Light Emitting Diodes(LEDs) and Laser Diodes(LDs), to transmit data at speeds faster than what the human eye can perceive. OWC combines lighting and data communications, finding applications in various domains including area lighting, signboards, streetlights, vehicles, traffic signals, displays, LED panels, and digital signage.¶
IEEE802.15.7 describes the use of OWC for optical wireless personal area networks (OWPANs) and covers topics such as network topologies, addressing, collision avoidance, acknowledgment, performance quality indication, dimming support, visibility support, colored status indication, and color stabilization.¶
MAC of OWC provides three types of topologies: peer-to-peer, star, and broadcast. In the star topology, the communication is established between devices and a single central controller, called the coordinator. In the peer-to-peer topology, one of the two devices in an association takes on the role of the coordinator. The other complicated topologies, such as mesh can be performed by using peer-to-peer on the higher layer (e.g., IPv6) with IPv6 over OWC.¶
IEEE 802.15.7 defines a protocol stack in terms of a number of layers and sublayers, depucted in Figure 1. The Physical Layer (PHY) in OWCs comprises the light transceiver and its associated low-level control mechanisms. It handles the transmission and reception of light signals, encoding and decoding data, and managing the physical characteristics of the communication channel. On top of the PHY, there is a Media Access Control (MAC) sublayer that facilitates access to the physical channel for various types of data transfers. The MAC sublayer controls how devices share the medium, manages access protocols, and ensures fair and efficient utilization of the optical wireless communication channel. The PHY and MAC sublayer form the data link layer in optical wireless communications, enabling the transmission and reception of data over the physical medium.¶
The upper layers, depicted in Figure 1, include the network layer responsible for network configuration, manipulation, and message routing, as well as the application layer which encompasses the intended functionality of the device. In order to access the MAC sublayer, a logical link control (LLC) layer can utilize the service-specific convergence sublayer (SSCS). The LLC layer provides a bridge between the upper layers and the MAC sublayer, facilitating the transfer of data and control information between the two layers. The upper layers, including the network layer and application layer, work in conjunction with the MAC sublayer and utilize the LLC layer and SSCS to enable efficient communication and functionality within the optical wireless communication system.¶
In order to send an IPv6 packet over OWC, the packet MUST be passed down to the LLC sublayer. For IPv6 addressing or address configuration, the LLC sublayer MUST provide related information, such as link-layer addresses, to its upper layer.¶
OWC devices have a unique 64-bit address. When a device associates with a coordinator node it is allowed to be allocated a short 16-bit address. Either address is allowed to be used for communication within the OWC data link network. Therefore, both of the 16-bit and 64-bit addresses can be used to generate an IPv6 Interface Identifier (IID).¶
Type | MTU | Data Rates |
---|---|---|
PHY1 | 1,023 bytes | 11.67 kbps ~ 266.6 kbps |
PHY2 | 65,535 bytes | 1.25 Mbps ~ 96 Mbps |
PHY3 | 65,535 bytes | 12 Mbps ~ 96 Mbps |
Table 1 summarizes the maximum packet size, which is represented by "aMaxPHYFrame-Size", and the data rate that can be supported for each OWC PHY type, as specified in the IEEE 802.15.7.¶
OWC technology has requirements owing to low power consumption and allowed protocol overhead. 6LoWPAN standards [RFC4944] [RFC6775] [RFC6282] provide useful functionality for reducing the overhead of IPv6 over OWC. This functionality consists of link-local IPv6 addresses and stateless IPv6 address autoconfiguration (see Sections 4.2 and 4.3), Neighbor Discovery (see Section 4.4), and header compression (see Section 4.5).¶
Figure 2 illustrates the IPv6-over-OWC protocol stack. Upper-layer protocols can be transport-layer protocols (e.g., TCP and UDP), application-layer protocols, and other protocols capable of running on top of IPv6.¶
The Adaptation Layer for IPv6 over OWC supports Neighbor Discovery, stateless address autoconfiguration, header compression, and fragmentation and reassembly, based on 6LoWPAN. Note that 6LoWPAN header compression [RFC6282] does not define header compression for TCP. The latter can still be supported by IPv6 over OWC, albeit without the performance optimization of header compression.¶
An OWC device performs stateless address autoconfiguration per [RFC4862]. A 64-bit IID for an OWC interface is formed by utilizing the 16-bit or 64-bit address (see Section 3.3). In the viewpoint of address configuration, such an IID should guarantee a stable IPv6 address during the course of a single connection because each data link connection is uniquely identified by OWC Data Link Layer.¶
Following the guidance of [RFC7136], IIDs of all unicast addresses for OWC devices are 64 bits long and constructed by using the generation algorithm of random identifiers (RIDs) that are stable [RFC7217].¶
The RID is an output created by the F() algorithm with input parameters. One of the parameters is Net_Iface, and the OWC 16-bit Link-Layer Address MUST be a source of the Net_Iface parameter. The 16-bit address can easily be targeted by attacks from a third party (e.g., address scanning). The F() algorithm with SHA-256 can provide secured and stable IIDs for OWC devices. In addition, an optional parameter, Network_ID, is used to increase the randomness of the generated IID with the OWC Link-Layer Address. The secret key SHOULD be at least 128 bits. It MUST be initialized to a pseudorandom number [RFC4086].¶
The IPv6 Link-Local Address for an OWC device is formed by appending the IID to the prefix fe80::/64, as depicted in Figure 3.¶
Neighbor Discovery Optimization for 6LoWPANs [RFC6775] describes the Neighbor Discovery approach in several 6LoWPAN topologies, such as mesh topology. IPv6 over OWC supports mesh topologies with route-over with OWC MAC peer-to-peer topology.¶
Header compression as defined in [RFC6282], which specifies the compression format for IPv6 datagrams on top of IEEE 802.15.4, is REQUIRED in this document as the basis for IPv6 header compression on top of OWC. All headers MUST be compressed according to the encoding formats described in [RFC6282].¶
Therefore, IPv6 header compression in [RFC6282] MUST be implemented. Further, implementations MUST also support Generic Header Compression (GHC) as described in [RFC7400].¶
If a 16-bit address is required as a short address, it MUST be formed by the 16-bit OWC Link Layer Address as shown in Figure 4.¶
For PHY1 of OWC, IPv6 over OWC MUST use [RFC4944] Fragmentation and Reassembly (FAR). However, for PHY2 and PHY3 of OWC, IPv6 over OWC MUST NOT use [RFC4944] FAR at the adaptation layer for the payloads as discussed in Section 3.4.¶
The address resolution procedure for mapping IPv6 non-multicast addresses into OWC Link-Layer Addresses follows the general description in Sections 4.6.1 and 7.2 of [RFC4861], unless otherwise specified.¶
The Source/Target Link-Layer Address option has the following form when the addresses are 16-bit OWC Link Layer Addresse.¶
The OWC Link Layer does not support multicast. Therefore, packets are always transmitted unicast between two OWC devices. Even in the case where a 6LBR is attached to multiple 6LNs, the 6LBR cannot multicast to all the connected 6LNs. If the 6LBR needs to send a multicast packet to all its 6LNs, it has to replicate the packet and unicast it on each link. However, this is not energy-efficient; the central node, which is battery-powered, must take particular care of power consumption. To further conserve power, the 6LBR MUST keep track of multicast listeners at OWC link-level granularity (not at subnet granularity), and it MUST NOT forward multicast packets to 6LNs that have not registered as listeners for multicast groups the packets belong to. In the opposite direction, a 6LN always has to send packets to or through the 6LBR. Hence, when a 6LN needs to transmit an IPv6 multicast packet, the 6LN will unicast the corresponding OWC packet to the 6LBR.¶
Figure 6 illustrates an example of an OWC device network connected to the Internet. Another OWC devices may run as 6LNs and 6LRs, and they communicate with the 6LBR, as long as both are within each other's range.¶
Two or more 6LNs may be connected with a 6LBR, but each connection uses a different IPv6 prefix. The 6LBR is acting as a router and forwarding packets between 6LNs and the Internet. Also, the 6LBR MUST ensure address collisions do not occur because the 6LNs are connected to the 6LBR like a start topology, so the 6LBR checks whether or not IPv6 addresses are duplicates, since 6LNs need to register their addresses with the 6LBR.¶
This document has no IANA actions.¶
[TBD]¶
We are grateful to the members of the IETF 6lo Working Group.¶