6lowpan final
TRANSCRIPT
![Page 1: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/1.jpg)
6LoWPAN Martin Abraham
![Page 2: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/2.jpg)
6LoWPAN IPv6 over Low Power Wireless Area Networks
Level 2/3 Protocol (OSI)
Enables usage of IPv6 by wireless embedded devices
Described in IETF RFC 4919, 4944
![Page 3: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/3.jpg)
Device characteristics Dedicated to specific task/ not general purpose like PC
Limited hardware resources:
Low processing power (microcontroller/ dsp)
Little memory Low power
Limited networks capabilities:
Short range Low bitrate Message-Size
![Page 4: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/4.jpg)
Usage scenarios Building automation
Industrial automation
Logistics
Enviromental Monitoring
Personal/ Health Monitoring
Etc.
![Page 5: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/5.jpg)
Personal Monitoring
![Page 6: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/6.jpg)
Industrial Automation
![Page 7: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/7.jpg)
Home Automation
![Page 8: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/8.jpg)
Protocol history 1980s: Cabled networking
- not everthing can be cabled - expensive
Mid 1990s: ~ 20 proprietary solutions (Z-Wave) - scalibility - no interoperability (vendor lock) - bound to specific data-link layer
2003+: ZigBee (IEEE 802.15.4 based) + first wireless standard - scalability (small scale isolated ad hoc networking) - bound to specific data-link layer - not long-lived (quick changes)
![Page 9: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/9.jpg)
Why IPv6? Long-lived technology (20 years+)
Ability to connect heterogeneous networks
Existing worldwide free-to-use infrastructure
Global scalability
2^128 Bit (16 Byte) Addressing = Enough for Internet of Things
Great number of tools (diagnostic, management etc.)
![Page 10: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/10.jpg)
IPv6 Problems Bandwidth and Energy efficiency
Standard protocol: IEEE 802.15.4 L1/L2 (low bandwidth: 250 kbps, low power: 1mW)
Fragmentation: IPv6 minimum frame size (MTU) = 1280 bytes IEEE 802.15.4 frame size (MTU) = 127 byte (higher bit error rate, failure proneness)
Header compression: IPv6 headers (40 bytes) reduce payload 53 byte payload in 127 byte 802.15.4 frame
![Page 11: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/11.jpg)
IPv6 Problems Mobility:
Node Mobility and Network Mobility
Review of Transport Layer Protocols: TCP inefficient for wireless embedded devices (wireless packet lost)
Handle offline devices: IP assumes devices are always on, but embedded devices may not (power and duty cycles)
Multicast support: IEEE 802.15.4 & other radios do not support Multicast (expensive)
![Page 12: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/12.jpg)
6LoWPAN
![Page 13: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/13.jpg)
Fragmentation Datagram = Basic transfer unit (header, payload)
3 fragmentation header
![Page 14: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/14.jpg)
Fragmentation Datagram-size: 11bit = 2047 > 1280byte (mininmal IP MTU)
Transmitted in every fragment. Destination can reserve memory on first arrival for the whole message
Datagram-tag: 16 bit Sufficient for limited link speed (min. 4 min for repeat)
Datagram-offset: 8 bit Offset addressed in 8byte units 2047bytes addressable by 8 bit
Longer messages? Fragmentation handled by standard ip fragmentation (L3) awsome!
![Page 15: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/15.jpg)
![Page 16: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/16.jpg)
Header compression
![Page 17: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/17.jpg)
Compress IPv6 headers HC1: IP header
HC2: UDP header
Reduce header size by omission
Omit headers that...
can be reconstructed from L2 layer headers (redundant)
contain information not needed or used in the context (unnessecary)
![Page 18: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/18.jpg)
IPv6 header (6LoWPAN header)
![Page 19: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/19.jpg)
HC1 – Compress IPv6 address IPv6 address: 64bit prefix | 64bit interface id
Remove IPv6 address-prefix:
All nodes in a PAN share single prefix
PAN ID maps to IPv6 prefix
Remove IPv6 Interface ID (IID) for local communication:
IID generated from EUID64 (L2)
![Page 20: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/20.jpg)
6LoWPAN Architecture
![Page 21: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/21.jpg)
Mobility Micro-Mobility:
stay in same ip-domain e.g. switch edge router inside extended 6LoWPAN network
Node-Mobility: Node moves physically between different 6LoWPAN networks e.g. attached to a parcel
Network-Mobility: Full 6LoWPAN networks switches backhaul link handled by edge router
![Page 22: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/22.jpg)
Communication/ Bootstrapping Handle offline devices:
Node-initiated communication (to deal with sleep cycles etc.)
Bootstrapping/ Multicast/ device constraints:
Roles: Router, Nodes, NEW: Edge Router (take load of devices)
Node Registration/ Node Confirmation replaces Multicast
Duplicate Address Detection done by Edge Router
![Page 23: 6lowpan final](https://reader034.vdocuments.mx/reader034/viewer/2022052505/55652ecfd8b42a313f8b45ac/html5/thumbnails/23.jpg)
Conclusion 6LoWPAN...
is an open standard
provides an adapter between IEEE 802.15.4 (L1/2) and IPv6 (L3)
enables interoperability between wireless embedded devices (and common Internet devices) using standard protocols
fosters standardization of communication in scope of wireless embedded devices
provides an important foundation for the Internet of Things (IoT)