SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
SFSCon 2021
The Rise of IPv6 in IoT
Stefan Schmidt <stefan.schmidt@huawei.com>
Principal Solutions Architect, Huawei OSTC
Scope
2
●
Only a glimpse at history and current state of technology in a lightning talk
●
Focus for IPv6 enabling in MCU based systems, IPv6 on Linux is a given :-)
●
Low-power and low-rate wireless systems
History
3
●
Initially only home-grown network protocols, TCP/IP was deemed to wasteful
●
Interoperability only through proxy applications, or not at all
●
Focus on vertical stacks and isolated sub-networks (no end-to-end)
●
IP stacks for microcontroller, e.g. µIP, has been in development for a long time (2003)
●
Focused on getting the network stack fit in memory, instead of an optimized frame size
●
IEEE 802.15.4 standard released in 2003 as kick-off to explore IP on low-rate and low-power wireless
●
IETF started from 2007 onwards to specify IPv6 encapsulation and header compression mechanisms
●
6lowpan started with IEEE 802.15.4 and was adopted for many more down the road: Bluetooth, NFC,
PLC, etc
●
Key factors are eliding the IPv6 address fields by re-using the L2 addresses and other header
compression techniques
6lowpaninanutshell
4
Encapsulation:
●
The 6LoWPAN adaptation layer sits between data-link and original network layer
●
IPv6 allows for a maximum packet size of 1280 bytes
●
Impossible to handle in the 127 byte MTU of IEEE 802.15.4
●
Therefore 6lowpan brings back a fragmentation scheme
●
But fragmentation can still lead to bad performance in loosy networks, best to avoid
Header Compression:
●
Removing information found elsewhere in the frame/packet
●
Reduce size by giving up some flexibility
●
A few iterations: HC1 & HC2, IPHC, NHC and GHC
HeaderSizeProblem
5
●
Worst-case scenario calculations
●
Maximum frame size in IEEE 802.15.4: 127 byte
●
Reduced by the max. frame header (25 byte): 102 byte
●
Reduced by highest link-layer security (21 byte): 81 byte
●
Reduced by standard IPv6 header (40 byte): 41 byte
●
Reduced by standard UDP header (8 byte): 33 byte
●
This leaves only 33 byte for actual payload
●
The rest of the space is used by headers
Frame header (25) Llsec (21) IPv6 header (40) UDP Payload (33)
127 Byte
6lowpanHeaderCompression
6
●
IP Header Compression (IPHC) is a core part of 6lowpan
●
Defining some default values in IPv6 header
●
E.g. version = 6, traffic class & flow-label = 0, hop-limit only well-known values (1, 64 or 255)
●
Remove the payload length (available in 6lowpan fragment header or data-link header)
Biggest saving is re-usage of the L2 address for IPv6
●
Eliding the IPv6 prefix (global known by network, link-local defined by compression)
●
Using the EUI-64 L2 address
HeaderSizeSolution
7
●
Calculations with plain 6lowpan usage for optimal case
●
IPv6 with link-local and UDP on top
●
IPHC with NHC for UDP
●
The 48 byte IPv6 + UDP header could in the best cases be reduced to 6 bytes
●
Double initial payload
Frame header (25) Llsec (21) IPHC Payload (75)
127 Byte
Dispatch (1) LOWPAN_IPHC (1) LOWPAN_NHC (1) UDP Ports (1)
UDP ports (1) UDP check-sum (2)
6lowpanMiscTips
8
●
Design application protocols and payload to fit into frames and avoid fragmentation
●
Enable reliability features in phy and mac layers (IEEE 802.15.4 allows ack/retransmit)
●
One lost frame in a bigger packet can have a serious performance impact
●
UDP with DTLS to avoid 3 way handshake latencies for TLS connections
●
IETF also specifies RFC’s for routing (RPL) and application protocol (CoAP) to fit with
6lowpan
Deployments
9
●
Trend to move to established IP/TCP. Known, and proven technology
●
Bigger developer base and existing applications
●
We already see IPv6-only datacenters with translation at the edge
●
Allows IPv6 end-to-end connectivity (or device-to-cloud)
●
Already big deployment in isolated deployments, e.g. smart meters
●
Push towards smart-homes as well, slowed down due to heterogeneous environments
●
Likely to see IPv6-only subnet e.g. a Thread mesh network
IoTGatewayBlueprint
10
●
Oniro blueprint to design an IoT Gateway with
modern technology
●
Current demo with OpenThread and 6lowpan over IEEE 802.15.4
●
Demo video at Huawei booth here at SFSCon
●
Work in progress on Matter (former CHIP)
●
Zigbee now pushing with Matter and even renamed to CSA
●
Possible 6lowpan over BLE use cases
IoTGatewayBlueprint
11
CoAP
MQTT MQTT
WiFi
Bluetooth Low Energy
OpenThread
OpenThread
WiFi
JOIN ONIROPROJECT
Thank you!
Join us @
Huawei booth, SFSCon
oniroproject.org
12

Weitere ähnliche Inhalte

Was ist angesagt?

Hyper transport technology
Hyper transport technologyHyper transport technology
Hyper transport technology
Akhil Kumar
 
Wide area networks
Wide area networksWide area networks
Wide area networks
Muuluu
 
Chapter 3 1-network_design_with_internet_tools - Network Design
Chapter 3 1-network_design_with_internet_tools - Network DesignChapter 3 1-network_design_with_internet_tools - Network Design
Chapter 3 1-network_design_with_internet_tools - Network Design
nakomuri
 
10 gigabit ethernet technology
10 gigabit ethernet technology10 gigabit ethernet technology
10 gigabit ethernet technology
Likan Patra
 
12.) fabric (your next data center)
12.) fabric (your next data center)12.) fabric (your next data center)
12.) fabric (your next data center)
Jeff Green
 
project on OSPF
project on OSPFproject on OSPF
project on OSPF
Om Prakash
 

Was ist angesagt? (20)

Wireless repeaters
Wireless repeatersWireless repeaters
Wireless repeaters
 
Hyper transport technology
Hyper transport technologyHyper transport technology
Hyper transport technology
 
Network Access - CCNA 200-125 Training
Network Access - CCNA 200-125 TrainingNetwork Access - CCNA 200-125 Training
Network Access - CCNA 200-125 Training
 
IPv6 implementation for end users
IPv6 implementation for end usersIPv6 implementation for end users
IPv6 implementation for end users
 
Communication protocols
Communication protocolsCommunication protocols
Communication protocols
 
Wide area networks
Wide area networksWide area networks
Wide area networks
 
Routing In Fat Trees
Routing In Fat TreesRouting In Fat Trees
Routing In Fat Trees
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
Link2015 Tri-State Provisioning Bandwidth & Logical Circuits with Fiber Manager
Link2015 Tri-State Provisioning Bandwidth & Logical Circuits with Fiber ManagerLink2015 Tri-State Provisioning Bandwidth & Logical Circuits with Fiber Manager
Link2015 Tri-State Provisioning Bandwidth & Logical Circuits with Fiber Manager
 
Wireless LAN Deployment Best Practices
Wireless LAN Deployment Best PracticesWireless LAN Deployment Best Practices
Wireless LAN Deployment Best Practices
 
Chapter 3 1-network_design_with_internet_tools - Network Design
Chapter 3 1-network_design_with_internet_tools - Network DesignChapter 3 1-network_design_with_internet_tools - Network Design
Chapter 3 1-network_design_with_internet_tools - Network Design
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
10 gigabit ethernet technology
10 gigabit ethernet technology10 gigabit ethernet technology
10 gigabit ethernet technology
 
Edge Device Multi-unicasting for Video Streaming
Edge Device Multi-unicasting for Video StreamingEdge Device Multi-unicasting for Video Streaming
Edge Device Multi-unicasting for Video Streaming
 
12.) fabric (your next data center)
12.) fabric (your next data center)12.) fabric (your next data center)
12.) fabric (your next data center)
 
WSN protocol 802.15.4 together with cc2420 seminars
WSN protocol 802.15.4 together with cc2420 seminars WSN protocol 802.15.4 together with cc2420 seminars
WSN protocol 802.15.4 together with cc2420 seminars
 
Node-H - Small Cell Solutions
Node-H - Small Cell SolutionsNode-H - Small Cell Solutions
Node-H - Small Cell Solutions
 
Presentation on router
Presentation on routerPresentation on router
Presentation on router
 
project on OSPF
project on OSPFproject on OSPF
project on OSPF
 
Routing Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRPRouting Protocols and Concepts: Ch9 - EIGRP
Routing Protocols and Concepts: Ch9 - EIGRP
 

Ähnlich wie SFScon 21 - Stefan Schmidt - The Rise of IPv6 in IoT Protocols

Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linaro
 

Ähnlich wie SFScon 21 - Stefan Schmidt - The Rise of IPv6 in IoT Protocols (20)

6LoWPAN: An open IoT Networking Protocol
6LoWPAN: An open IoT Networking Protocol6LoWPAN: An open IoT Networking Protocol
6LoWPAN: An open IoT Networking Protocol
 
6LoWPAN: An Open IoT Networking Protocol
6LoWPAN: An Open IoT Networking Protocol6LoWPAN: An Open IoT Networking Protocol
6LoWPAN: An Open IoT Networking Protocol
 
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
 
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
 
Lithe: Lightweight Secure CoAP for the Internet of Things
Lithe: Lightweight Secure CoAP for the Internet of ThingsLithe: Lightweight Secure CoAP for the Internet of Things
Lithe: Lightweight Secure CoAP for the Internet of Things
 
Run Your Own 6LoWPAN Based IoT Network
Run Your Own 6LoWPAN Based IoT NetworkRun Your Own 6LoWPAN Based IoT Network
Run Your Own 6LoWPAN Based IoT Network
 
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
 
100G Networking Berlin.pdf
100G Networking Berlin.pdf100G Networking Berlin.pdf
100G Networking Berlin.pdf
 
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
Linux-wpan: IEEE 802.15.4 and 6LoWPAN in the Linux Kernel - BUD17-120
 
PCIe Gen 3.0 Presentation @ 4th FPGA Camp
PCIe Gen 3.0 Presentation @ 4th FPGA CampPCIe Gen 3.0 Presentation @ 4th FPGA Camp
PCIe Gen 3.0 Presentation @ 4th FPGA Camp
 
100 M pps on PC.
100 M pps on PC.100 M pps on PC.
100 M pps on PC.
 
L6 6 lowpan
L6 6 lowpanL6 6 lowpan
L6 6 lowpan
 
6 open capi_meetup_in_japan_final
6 open capi_meetup_in_japan_final6 open capi_meetup_in_japan_final
6 open capi_meetup_in_japan_final
 
FD.io Vector Packet Processing (VPP)
FD.io Vector Packet Processing (VPP)FD.io Vector Packet Processing (VPP)
FD.io Vector Packet Processing (VPP)
 
FD.IO Vector Packet Processing
FD.IO Vector Packet ProcessingFD.IO Vector Packet Processing
FD.IO Vector Packet Processing
 
Cilium - Fast IPv6 Container Networking with BPF and XDP
Cilium - Fast IPv6 Container Networking with BPF and XDPCilium - Fast IPv6 Container Networking with BPF and XDP
Cilium - Fast IPv6 Container Networking with BPF and XDP
 
RouterOS v6
RouterOS v6RouterOS v6
RouterOS v6
 
Introduction to Internet of Things
Introduction to Internet of ThingsIntroduction to Internet of Things
Introduction to Internet of Things
 
Lustre, RoCE, and MAN
Lustre, RoCE, and MANLustre, RoCE, and MAN
Lustre, RoCE, and MAN
 
An FPGA for high end Open Networking
An FPGA for high end Open NetworkingAn FPGA for high end Open Networking
An FPGA for high end Open Networking
 

Mehr von South Tyrol Free Software Conference

SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
South Tyrol Free Software Conference
 
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
South Tyrol Free Software Conference
 
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
South Tyrol Free Software Conference
 
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelinesSFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
South Tyrol Free Software Conference
 
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
South Tyrol Free Software Conference
 
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis MapsSFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
South Tyrol Free Software Conference
 

Mehr von South Tyrol Free Software Conference (20)

SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
SFSCON23 - Rufai Omowunmi Balogun - SMODEX – a Python package for understandi...
 
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
SFSCON23 - Roberto Innocenti - From the design to reality is here the Communi...
 
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data HubSFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
SFSCON23 - Martin Rabanser - Real-time aeroplane tracking and the Open Data Hub
 
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
SFSCON23 - Marianna d'Atri Enrico Zanardo - How can Blockchain technologies i...
 
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
SFSCON23 - Lucas Lasota - The Future of Connectivity, Open Internet and Human...
 
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
SFSCON23 - Giovanni Giannotta - Intelligent Decision Support System for trace...
 
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelinesSFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
SFSCON23 - Elena Maines - Embracing CI/CD workflows for building ETL pipelines
 
SFSCON23 - Christian Busse - Free Software and Open Science
SFSCON23 - Christian Busse - Free Software and Open ScienceSFSCON23 - Christian Busse - Free Software and Open Science
SFSCON23 - Christian Busse - Free Software and Open Science
 
SFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
SFSCON23 - Charles H. Schulz - Why open digital infrastructure mattersSFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
SFSCON23 - Charles H. Schulz - Why open digital infrastructure matters
 
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portalSFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
SFSCON23 - Andrea Vianello - Achieving FAIRness with EDP-portal
 
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
SFSCON23 - Thomas Aichner - How IoT and AI are revolutionizing Mass Customiza...
 
SFSCON23 - Stefan Mutschlechner - Smart Werke Meran
SFSCON23 - Stefan Mutschlechner - Smart Werke MeranSFSCON23 - Stefan Mutschlechner - Smart Werke Meran
SFSCON23 - Stefan Mutschlechner - Smart Werke Meran
 
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
SFSCON23 - Mirko Boehm - European regulators cast their eyes on maturing OSS ...
 
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free softwareSFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
SFSCON23 - Marco Pavanelli - Monitoring the fleet of Sasa with free software
 
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
SFSCON23 - Marco Cortella - KNOWAGE and AICS for 2030 agenda SDG goals monito...
 
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changerSFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
SFSCON23 - Lina Ceballos - Interoperable Europe Act - A real game changer
 
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
SFSCON23 - Johannes Näder Linus Sehn - Let’s monitor implementation of Free S...
 
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation InternetSFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
SFSCON23 - Gabriel Ku Wei Bin - Why Do We Need A Next Generation Internet
 
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis MapsSFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
SFSCON23 - Edoardo Scepi - The Brand-New Version of IGis Maps
 
SFSCON23 - Davide Vernassa - Empowering Insights Unveiling the latest innova...
SFSCON23 - Davide Vernassa - Empowering Insights  Unveiling the latest innova...SFSCON23 - Davide Vernassa - Empowering Insights  Unveiling the latest innova...
SFSCON23 - Davide Vernassa - Empowering Insights Unveiling the latest innova...
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Kürzlich hochgeladen (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 

SFScon 21 - Stefan Schmidt - The Rise of IPv6 in IoT Protocols

  • 1. SFSCon 2021 The Rise of IPv6 in IoT Stefan Schmidt <stefan.schmidt@huawei.com> Principal Solutions Architect, Huawei OSTC
  • 2. Scope 2 ● Only a glimpse at history and current state of technology in a lightning talk ● Focus for IPv6 enabling in MCU based systems, IPv6 on Linux is a given :-) ● Low-power and low-rate wireless systems
  • 3. History 3 ● Initially only home-grown network protocols, TCP/IP was deemed to wasteful ● Interoperability only through proxy applications, or not at all ● Focus on vertical stacks and isolated sub-networks (no end-to-end) ● IP stacks for microcontroller, e.g. µIP, has been in development for a long time (2003) ● Focused on getting the network stack fit in memory, instead of an optimized frame size ● IEEE 802.15.4 standard released in 2003 as kick-off to explore IP on low-rate and low-power wireless ● IETF started from 2007 onwards to specify IPv6 encapsulation and header compression mechanisms ● 6lowpan started with IEEE 802.15.4 and was adopted for many more down the road: Bluetooth, NFC, PLC, etc ● Key factors are eliding the IPv6 address fields by re-using the L2 addresses and other header compression techniques
  • 4. 6lowpaninanutshell 4 Encapsulation: ● The 6LoWPAN adaptation layer sits between data-link and original network layer ● IPv6 allows for a maximum packet size of 1280 bytes ● Impossible to handle in the 127 byte MTU of IEEE 802.15.4 ● Therefore 6lowpan brings back a fragmentation scheme ● But fragmentation can still lead to bad performance in loosy networks, best to avoid Header Compression: ● Removing information found elsewhere in the frame/packet ● Reduce size by giving up some flexibility ● A few iterations: HC1 & HC2, IPHC, NHC and GHC
  • 5. HeaderSizeProblem 5 ● Worst-case scenario calculations ● Maximum frame size in IEEE 802.15.4: 127 byte ● Reduced by the max. frame header (25 byte): 102 byte ● Reduced by highest link-layer security (21 byte): 81 byte ● Reduced by standard IPv6 header (40 byte): 41 byte ● Reduced by standard UDP header (8 byte): 33 byte ● This leaves only 33 byte for actual payload ● The rest of the space is used by headers Frame header (25) Llsec (21) IPv6 header (40) UDP Payload (33) 127 Byte
  • 6. 6lowpanHeaderCompression 6 ● IP Header Compression (IPHC) is a core part of 6lowpan ● Defining some default values in IPv6 header ● E.g. version = 6, traffic class & flow-label = 0, hop-limit only well-known values (1, 64 or 255) ● Remove the payload length (available in 6lowpan fragment header or data-link header) Biggest saving is re-usage of the L2 address for IPv6 ● Eliding the IPv6 prefix (global known by network, link-local defined by compression) ● Using the EUI-64 L2 address
  • 7. HeaderSizeSolution 7 ● Calculations with plain 6lowpan usage for optimal case ● IPv6 with link-local and UDP on top ● IPHC with NHC for UDP ● The 48 byte IPv6 + UDP header could in the best cases be reduced to 6 bytes ● Double initial payload Frame header (25) Llsec (21) IPHC Payload (75) 127 Byte Dispatch (1) LOWPAN_IPHC (1) LOWPAN_NHC (1) UDP Ports (1) UDP ports (1) UDP check-sum (2)
  • 8. 6lowpanMiscTips 8 ● Design application protocols and payload to fit into frames and avoid fragmentation ● Enable reliability features in phy and mac layers (IEEE 802.15.4 allows ack/retransmit) ● One lost frame in a bigger packet can have a serious performance impact ● UDP with DTLS to avoid 3 way handshake latencies for TLS connections ● IETF also specifies RFC’s for routing (RPL) and application protocol (CoAP) to fit with 6lowpan
  • 9. Deployments 9 ● Trend to move to established IP/TCP. Known, and proven technology ● Bigger developer base and existing applications ● We already see IPv6-only datacenters with translation at the edge ● Allows IPv6 end-to-end connectivity (or device-to-cloud) ● Already big deployment in isolated deployments, e.g. smart meters ● Push towards smart-homes as well, slowed down due to heterogeneous environments ● Likely to see IPv6-only subnet e.g. a Thread mesh network
  • 10. IoTGatewayBlueprint 10 ● Oniro blueprint to design an IoT Gateway with modern technology ● Current demo with OpenThread and 6lowpan over IEEE 802.15.4 ● Demo video at Huawei booth here at SFSCon ● Work in progress on Matter (former CHIP) ● Zigbee now pushing with Matter and even renamed to CSA ● Possible 6lowpan over BLE use cases
  • 11. IoTGatewayBlueprint 11 CoAP MQTT MQTT WiFi Bluetooth Low Energy OpenThread OpenThread WiFi
  • 12. JOIN ONIROPROJECT Thank you! Join us @ Huawei booth, SFSCon oniroproject.org 12