6lowpan
-
Upload
dwarakanath-tulasi -
Category
Technology
-
view
3.027 -
download
1
description
Transcript of 6lowpan
![Page 1: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/1.jpg)
6LoWPAN6LoWPAN(IPv6 over Low power Wireless Personal Area
Networks)
![Page 2: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/2.jpg)
Introduction Introduction
• IP based devices• web services• security• management• frame size
• issues• power & duty cycle• multi cast• topology• bandwidth• reliability
Internet of things
![Page 3: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/3.jpg)
Related TechnologiesRelated TechnologiesRFC 4944 ISA 100 IPSO
![Page 4: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/4.jpg)
ApplicationsApplications
Home building automationHealth care Industry Automation & LogisticsVehicular AutomationEnvironmental monitoring and many more
![Page 5: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/5.jpg)
Architecture Architecture
![Page 6: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/6.jpg)
Protocol stackProtocol stack
• UDP is preferred
![Page 7: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/7.jpg)
Link layersLink layers
Compatibility with existing technologies like 802.15.4, Sub-GHz Radio and Power- line communications.
Adaptation for IP Addressing of nodes (Locally & Globally)
![Page 8: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/8.jpg)
AddressingAddressingExtended Unique identifier(EUI-64) -- like
ZigbeeConfigurable short addressing(8-16 bits)Similar like IPv6 64 bits IID is used---
generally called Stateless Address Auto configuration (SAA)
![Page 9: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/9.jpg)
Forwarding and RoutingForwarding and Routing
1. IP Routing Model
2. LoWPAN Routing(L3 , Route over)
![Page 10: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/10.jpg)
Forwarding and Routing Forwarding and Routing (contd..)(contd..)
3(a). DLL mesh forwarding (L2, Mesh Under)
3(b). LoWPAN adaptation (L2, Mesh Under)
![Page 11: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/11.jpg)
Header CompressionHeader Compression Headers of IP is compressed(IPv6 headers occupy more
space) Router decompresses the header and transmits over
different link
MTU is not sufficient Need to achieve flow control Must be used when needed The throughput of network reduces
Fragmentation and ReassemblyFragmentation and Reassembly
![Page 12: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/12.jpg)
Data Packet of 802.15.4
802.15.4 IPv6 header Payload
802.15.4 Mesh Addr Frag IPv6 header Payload
802.15.4 Fragmentation IPv6 header Payload
128 bytes
Payload
decreases
Fragmentation Header
Mesh Header
![Page 13: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/13.jpg)
IP Header format (HC)
For IP , HC1 is used HC2 bit indicates further transport protocols UDP, TCP, ICMPv6
IPv6 Header
UDP
![Page 14: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/14.jpg)
RFC4944’s HC TF,FL into 2 bits Version, Payload Length,
Link Local Prefix UDP ports (61616-61631)
Uni Cast
Multi Cast
Global
![Page 15: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/15.jpg)
Improved HC (IPHC) TF,FL are
individually compressed
Hop limit compression
Removes prefixes for IPv6 addresses
Supports Multicast for ND, SLAAC
4 bit index represents 16 contexts (if CID is set)
U
M
G
![Page 16: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/16.jpg)
Networking IssuesNetworking Issues
Establishing a network (Commissioning)◦ new node joining◦ Network re-organizing
Uses ◦ Service Set ID (WLAN)◦ Security (Wireless Protected Access)
Prefix match -- Home network Neighbor Discovery
◦ DHCPv6 (Stateless Address Auto configuration)◦ Registration◦ Reg. collision◦ Multi-hop registration◦ Various operations (node, router, edge router)
Bootstrapping
![Page 17: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/17.jpg)
Networking Issues Networking Issues (contd..)(contd..)
Objectives◦ Confidentiality◦ Integrity◦ Availability
Layer2 mechanisms◦ As 802.15.4 implements AES(CCM, RFC 3610)◦ 13 byte key based on 8 byte MAC Id◦ 2^22= 7 weeks of key repetition
Layer3 mechanisms (Internet Key Exchange [RFC 2409])◦ Doesn’t suit for LoWPANs
Key Management (Enhanced L3)◦ Username & Password◦ Long, Short, Group, Pair wise keys
Security
![Page 18: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/18.jpg)
Other AspectsOther Aspects
Mobility◦ Roaming (macro)◦ Handover (micro)
Causes◦ Physical movement◦ Radio channel◦ Network performance◦ Sleep schedules◦ Node failure
Node & Network controlled (Wi-Fi, cellular systems)
Solutions for Mobility◦ Commissioning◦ Bootstrapping◦ Security◦ Updating DNS◦ Notifying upper layers
So far nodes are considered stationary
![Page 19: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/19.jpg)
Other Aspects Other Aspects (contd..)(contd..)
MIPv6 Proxy Home Agent
![Page 20: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/20.jpg)
Other Aspects Other Aspects (contd..)(contd..)
Proxy MIPv6 NEMO (NEtwork MObility)
![Page 21: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/21.jpg)
Application protocolsApplication protocols General IPv6
◦ HTTP, FTP, SIP, SNMP, RTP, SLP Need modifications SOAP, REST (Simple Object Access Protocol,
REpresenational State Transfer) Need Port Address
![Page 22: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/22.jpg)
Application protocols Application protocols (contd..)(contd..)
NetworkingHost IssuesCompressionSecurity
![Page 23: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/23.jpg)
Application protocols Application protocols (contd..)(contd..) Protocol paradigms
◦ End to End◦ Real Time Streaming / Session◦ Pub/ Sub
Common Protocols◦ Web service protocols◦ MQTT (MQTT-S)◦ ZIGBEE Compact Application Protocol◦ Service Discovery
SLP, UPnP, DPWS◦ Industry Specific (BACnet, oBIX, ANSI c12.19)
ZCAP, MQTT has own discovery features
![Page 24: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/24.jpg)
Implementing 6lowpanImplementing 6lowpan
Single Chip Two Chip
![Page 25: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/25.jpg)
Implementing 6lowpanImplementing 6lowpan (contd..)(contd..) Protocol Stacks
◦ ContikiOS & uIPv6◦ TinyOS & BLIP◦ Sensinode NanoStack◦ Jennic 6LoWPAN◦ Nivis ISA100 (Industrial Standard)
![Page 26: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/26.jpg)
Implementing 6lowpanImplementing 6lowpan (contd..)(contd..) ContikiOS
◦ C◦ MSP430, AVR, HC12,
Z60, etc..◦ 2kB RAM, 40kB ROM◦ LoWPAN Support◦ Multitasking◦ Event driven kernel◦ uIP stack◦ Thread based◦ COOJA Simulator◦ TMote
TinyOS◦ nesC◦ MSP430, AVR◦ 0.4kB RAM◦ LoWPAN Support◦ BLIP◦ TOS Simulator◦ FIFO◦ OS merges with
Program◦ TelosB, IMote etc..
![Page 27: 6lowpan](https://reader033.fdocuments.in/reader033/viewer/2022051616/554f82e5b4c905435d8b4aa1/html5/thumbnails/27.jpg)
Implementing 6lowpanImplementing 6lowpan (contd..)(contd..)
Application development
Hardware Interaction layer
Hardware Implementation Layer
nesC
TinyOS
H/W Platform
Contiki OS
TinyOS