Outlook on IEEE ZigBee Implications IP Requirements IPv6 over Low Power WPAN (IEEE ) Conclusions. KRnet /21

Similar documents
6LoWPAN (IPv6 based Low Power WPAN)

Interworking between USN and IP Networks Ki-Hyung Kim Ajou University, Korea

CHAPTER 3. 6LoWPAN 3.1 INTRODUCTION

Mobile Communications

IPv6 Stack. 6LoWPAN makes this possible. IPv6 over Low-Power wireless Area Networks (IEEE )

Outline. Introduction. The Internet Architecture and Protocols Link Layer Technologies Introduction to 6LoWPAN The 6LoWPAN Format Bootstrapping

Intel Corp J. Hui D. Culler Arch Rock Corp September Transmission of IPv6 Packets over IEEE Networks

Proposed Node and Network Models for M2M Internet

Message acknowledgement and an optional beacon. Channel Access is via Carrier Sense Multiple Access with

TinyOS meets IP -- finally

Guide to Wireless Communications, 3 rd Edition. Objectives

Introduction to Linux-wpan and Potential Collaboration. Stefan Schmidt Samsung Open Source Group

WPAN/WBANs: ZigBee. Dmitri A. Moltchanov kurssit/elt-53306/

Politecnico di Milano Advanced Network Technologies Laboratory. 6LowPAN

An Industry view of IPv6 Advantages

Lesson 4 RPL and 6LoWPAN Protocols. Chapter-4 L04: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Implementation and Evaluation of the Enhanced Header Compression (IPHC) for 6LoWPAN

Network protocol for Internet of Things based on 6LoWPAN

Integration of Wireless Sensor Network Services into other Home and Industrial networks

Wireless communication standards: What makes them unattractive for WSN:

Zigbee protocol stack overview

ZigBee/ David Sanchez Sanchez.

Communication In Smart Grid -Part3

Implementation of SNMP Protocol with ContikiOS [Kur10] for WSN430 targets

Introduction to IEEE and IPv6 over (6LowPAN)

How to develop and validate a scalable mesh routing solution for IEEE sensor networks Altran Benelux

A cluster based interference mitigation scheme for performance enhancement in IEEE

Linux-wpan: IEEE and 6LoWPAN in Linux

Packetization Layer Path Maximum Transmission Unit Discovery (PLPMTU) For IPsec Tunnels

System Architecture Challenges in the Home M2M Network

Wireless Sensor Networks for Spacecraft DAMON PARSY, CEO OF BEANAIR

Networked Embedded Systems: 6LoWPAN

Wireless Embedded InterNetworking Foundations of Ubiquitous Sensor Networks 6LoWPAN David E. Culler University of California, Berkeley June 2008

Design Considerations for Low Power Internet Protocols. Hudson Ayers Paul Crews, Hubert Teo, Conor McAvity, Amit Levy, Philip Levis

Communication and Networking in the IoT

QUALITY OF SERVICE EVALUATION IN IEEE NETWORKS *Shivi Johri, **Mrs. Neelu Trivedi

Topics. Introduction Architecture Node Types Network Topologies Traffic Modes Frame Format Applications Conclusion

KW41Z IEEE and BLE Coexistence Performance

Wireless Personal Area Networks (WPANs) Wireless PAN

Chapter 5 OSI Network Layer

Davide Quaglia Assistant CS depart University of Verona, Italy

Seminar: Mobile Systems. Krzysztof Dabkowski Supervisor: Fabio Hecht

CIP over 6LoWPAN. Technical Track. Prepared by Dayin Xu, Paul Brooks, Yi Yu, David Brandt Presented by Paul Brooks.

Principles of Wireless Sensor Networks

Networked Embedded Systems: 6LoWPAN

Principles of Wireless Sensor Networks. Medium Access Control and IEEE

Compression of IPsec AH and ESP Headers for Constrained Environments dra%-raza-6lo-ipsec-04

EL2745 Principles of Wireless Sensor Networks

Communications Options for Wireless Sensor Networks. Marco Zennaro and Antoine Bagula ICTP and UWC Italy and South Africa

Internet Protocol version 6

Politecnico di Milano Advanced Network Technologies Laboratory. 6LowPAN

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

Internet of Things: Latest Technology Development and Applications

LOGICAL ADDRESSING. Faisal Karim Shaikh.

IPv6 Protocol. Does it solve all the security problems of IPv4? Franjo Majstor EMEA Consulting Engineer Cisco Systems, Inc.

Module 1: Wireless Sensor Networks

IPv6, IPv4 and Coexistence Updates for IPPM's Active Metric Framework (Title updated formerly referred to as IPv6 update) draft-ietf-ippm-2330-ipv6-02

ZigBee Technology: Wireless Control that Simply Works

ZigBee IP update IETF 87 Berlin. Robert Cragie

IPv6 Next generation IP

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

ZIGBEE. Erkan Ünal CSE 401 SPECIAL TOPICS IN COMPUTER NETWORKS

Network Layer/IP Protocols

Unit 4: Network Technologies

Getting Started with IPv6 in Low-Power Wireless Personal Area Networks (6LoWPAN)

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

IoT Roadmap in the IETF. Ines Robles

Unit 5 - IPv4/ IPv6 Transition Mechanism(8hr) BCT IV/ II Elective - Networking with IPv6

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

WIRELESS SENSOR NETWORK

Mapping of Address and Port Using Translation

Simulation Based Performance Analysis of DSDV, OLSR and DSR Routing Algorithm in Wireless Personal Area Network Using NS-2

Fuzzy Duty Cycle Adaption Algorithm for IEEE Star Topology Networks

Evaluation of 6LoWPAN Implementations

Aeronautical Systems Center

WIRELESS-NETWORK TECHNOLOGIES/PROTOCOLS

Chapter 2 PROTOCOL ARCHITECTURE

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Chapter 4 Network Layer: The Data Plane

Internet Protocol, Version 6

Low-Rate Wireless Personal Area Networks IEEE Fernando Solano Warsaw University of Technology

Outline. TWR Module. Different Wireless Protocols. Section 7. Wireless Communication. Wireless Communication with

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

Wireless Sensor Networks

IPv6 over IEEE 구현시나리오

WP-PD Wirepas Mesh Overview

Wireless Sensor Networks

Harvesting IOT data. (Using IP networks) Ericsson 2014

Lecture 3. The Network Layer (cont d) Network Layer 1-1

CHAPTER 4 CROSS LAYER INTERACTION

Introduction to IPv6 - II

Linux-based 6LoWPAN border router

EE 610 Part 2: Encapsulation and network utilities

Volume 1, Number 1, 2015 Pages Jordan Journal of Electrical Engineering ISSN (Print): , ISSN (Online):

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Ubiquitous Sensor Network KIM, YONG-WOON ETRI

Request for Comments: 2004 Category: Standards Track October Minimal Encapsulation within IP. Status of This Memo

Chapter 7. Local Area Network Communications Protocols

Transcription:

IPv6 over WPAN Soohong Daniel Park soohong.park@samsung.com Mobile Convergence Laboratory, Digital Media R&D Center, SAMSUNG Electronics.

Contents Outlook on IEEE 802.15.4 ZigBee Implications IP Requirements IPv6 over Low Power WPAN (IEEE 802.15.4) Conclusions KRnet 2006 2/21

IEEE 802.15.4 MAC Overview Star and peer-to-peer topologies Employs 64-bit IEEE & 16-bit short addresses Ultimate network size can reach 2 64 nodes (more than we ll probably need Using local addressing, simple networks of more than 65,000 (2^16) nodes can be conf igured, with reduced address overhead Three devices specified Network Coordinator Full Function Device (FFD) Reduced Function Device (RFD) Simple frame structure Reliable delivery of data Association/disassociation AES-128 security CSMA-CA channel access Optional superframe structure with beacons GTS mechanism KRnet 2006 3/21

IEEE 802.15.4 Device Types Three device types Network Coordinator Maintains overall network knowledge; most sophisticated of the three types; most memory and computing power Full Function Device Carries full 802.15.4 functionality and all features specified by the standard Additional memory, computing power make it ideal for a network router function Could also be used in network edge devices (where the network touches the real world) Reduced Function Device Carriers limited (as specified by the standard) functionality to control cost and complexity General usage will be in network edge devices All of these devices can be no more complicated than the transceiver, a simple 8- bit MCU and a pair of AAA batteries! KRnet 2006 4/21

ZigBee Internet KRnet 2006 5/21

ZigBee + IPv6 Stack Profile Nature of the IPv6 Stack Profile The IPv6 stack profile is new and not an extension of any existing stack profile. It provides a seamless way to incorporate IP into ZigBee networks such that the IP services are distributed throughout the network rather than concentrated within a single gateway/device. Goals Provide seamless connectivity between ZigBee and Internet devices and services. Allow for use of existing Internet data types and structures Allow for reuse of existing network software Allow use of existing Internet tools and services KRnet 2006 6/21

Why IP Most of the IP based technologies already exist, well known and proven to be working. The pervasive nature of IP networks allows use of existing infrastructure. Intellectual property conditions for IP networking technology is either more favourable or at least better understood than proprietary and newer solutions. KRnet 2006 7/21

Why IP New Radio Barriers Risk Mitigation to deployment New CSMA/CA MAC only CSMS/CA MAC plus GTS/Beaconing AODV New Network and IP AODV plus Cluster Tree New Sockets API and Zigbee SNMPAPI plus ZDOs New Application Vs. GTS: Guaranteed Time Slot ZDO: ZigBee Device Object KRnet 2006 8/21

Why IPv6 More suitable for higher density Statelessness mandated No NAT necessary Possibility of adding innovative techniques such as location aware addressing IEEE 64 bit address subsumed into IPv6 address KRnet 2006 9/21

6LoWPAN WG (IPv6 over Low Power WPAN) 1 st BOF @ IETF-61 Intel, Invensys, Sun Microsystems - Survey on IPv6 adoption over IEEE 802.15.4 - Technical solution (Sub-IP concept) Phase I 1 st WG @ IETF-62 draft-ietf-6lowpan-problems-00 draft-ietf-6lowpan-format-00 2 nd WG @ IETF-63 General discussion 3 rd WG @ IETF-64 Security considerations Phase II 4 th WG @ IETF-65 Ready to the RFC Rechartering: IPv6 Bootstrapping, ND Optimization, Stateful Header Compression, Transport/Application analysis, Mesh routing, Security analysis KRnet 2006 10/21

Problems and Motivations of 6LoWPAN No method exists to make IP run over IEEE 802.15.4 networks Worst case.15.4 PDU 81 octets, IPv6 MTU requirements 1280 octets Stacking IP and above layers as is may not fit within one 802.15.4 frame IPv6 40 octets, TCP 20 octets, UDP 8 octets + other layers (security, routing, etc) leaving few bytes for data Not all adhoc routing protocols may be immediately suitable for LoWPAN DSR may not fit within a packet, AODV needs more memory, etc Current service discovery methods bulky for LoWPAN Primarily XML based that needs computing, more memory, etc Limited configuration and management necessary Security for multi hop needs to be considered KRnet 2006 11/21

Challenges of LoWPAN Analysis Impact Addressing Routing Security Network management Low power (1-2 years lifetime on batteries) Storage limitations, low overhead Periodic sleep aware routing, low overhead Simplicity (CPU usage), low overhead Periodic sleep aware management, low overhead Low cost (<$10/unit) Stateless address generation Small or no routing tables Ease of Use, simple bootstrapping Space constraints Low bandwidth (<300kbps) Compressed addresses Low routing overhead Low packet overhead Low network overhead High density (<2-4? units/sq ft) Large address space IPv6 Scalable and routable to *a node* Robust Easy to use and scalable IP network interaction Address routable from IP world Seamless IP routing Work end to end from IP network Compatible with SNMP, etc KRnet 2006 12/21

6LoWPAN Goals Protocol data units may be as small as 81 bytes, far below IP and above In all cases, reuse existing protocols before creating new ones Address mismatch between MTU sizes of LoWPAN s and IPv6 Support stateless auto configuration of IPv6 addressing (location aware?) Specify header compression (use of existing and/or new techniques eg. header reconstruction, header short circuiting, etc) Define security mechanisms, security configuration and bootstrapping Specify network management (SNMP?) Specify routing suitable for LoWPAN networks (MANET?, topology aware, Below L3 or above L3?, etc) Specify methods to enable and disable IPv6 over LoWPAN. Specify hooks within routing layer to enable in network processing Specify light weight discovery mechanisms Specify any changes needed for L3 + layers Specify implementation considerations and BKM s of an IPv6 stack done rechartering Next phase KRnet 2006 13/21

IPv6 Packet Transmission Transmission of IPv6 Packets over IEEE 802.15.4 WPAN Networks Defines basic packet formats and sub-ip adaptation layer for transmission over 6lowpan Includes framing, adaptation, header compression, address generation, and packet delivery in mesh topology ZigBee ZDOs Application Layer ZigBee ZDOs ZigBee Applications Transport Layer 6LoWPAN (Phase II) ZigBee Applications IPv6/UDP Transport IPv6 ZigBee Network Layer ZigBee Network Layer Adaptation Layer 6LoWPAN (Phase I) 802.15.4 MAC 802.15.4 MAC 802.15.4 MAC 802.15.4 PHY 802.15.4 PHY 802.15.4 PHY ZigBee Stack ZigBee+IPv6 Stack 6LoWPAN Stack KRnet 2006 14/21

6LoWPAN Header Format Tenets Define a *shim* layer below IP Fragmentation/Reassembly to satisfy IPv6 MTU of 1280 bytes Routing including mesh Header compression mechanisms Header reconstruction for intra PAN communication Header short circuiting Header configuration to enable/disable IPv6 Define a IPv6 LoWPAN Profile Address IPv6 node requirements Define L2/L3 interface mechanism Appropriate security services Routing considerations Network management with SNMP Implementation considerations Miscellaneous (may be subsequent drafts) Hooks from L3 for in network processing (especially critical for WSN) Transport layer (UDP / TCP) Security configuration Light weight discovery mechanisms More? Adaptation Data Link IPv6 packet KRnet 2006 15/21

Frame Format and Adaptation Layer 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 LF prot_type M rsv Payload (or Mesh Delivery Hdr)... LoWPAN unfragmented encapsulation header format 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 LF prot_type M datagram_size datagram_tag Payload (or Mesh Delivery Hdr)... LoWPAN first fragment encapsulation header format 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 LF datagram_offset M datagram_size datagram_tag Payload (or Mesh Delivery Hdr)... LF proto_type M rsv datagram_tag datagram_size datagram_offset : Link Fragmentation : 1-IPv6 / 2-HC : Mesh : reserved : same value for IP frag : size of the entire IP : frag. offset LF Position +-------------------------------------------+ 00 Unfragmented (Figure 1) 01 First Fragment (Figure 2) 10 Last Fragment (Figure 3) 11 Interior Fragment (Figure 3) +-------------------------------------------+ Link Fragment Bit Pattern LoWPAN subsequent fragment(s) encapsulation header format 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 O F Hops Left Originator Address, followed by......final Destination Address O : Originator Address, either 64bit (1) or 16bit (0) F : Final Destination Address, either 64bit (1) or 16bit (0) Mesh Delivery Field KRnet 2006 16/21

6LoWPAN Header Compression Most common IPv6 header: IP version = IPv6 IPv6 source and destination both are link local Length inferred from IEEE 802.15.4 header Traffic Class and Flow Label both are 0 Next Header = UDP, ICMP or TCP Only need to carry Hop Limit (8bits) This common case is highly compressible (HC1) 2 octets (HC1 and Hop Limit) instead of 40 0 7 15 UDP header compression Source Port Destination Port Length Header s checksum (not compressed, carried in full) 4 octets instead of 8 Note: TCP, ICMP HC2 formats TBD HC1 Hop Limit HC2 KRnet 2006 17/21

Encoding of IPv6 Header Fields for HC IPv6 source address (bits 0 and 1): 00: PI, II 01: PI, IC 10: PC, II 11: PC, IC IPv6 destination address (bits 2 and 3): 00: PI, II 01: PI, IC 10: PC, II 11: PC, IC Traffic Class and Flow Label (bit 4): 0: not compressed, full 8 bits for TC and 20 bits for FL are sent 1: Traffic Class and Flow Label are zero Next Header (bits 5 and 6): 00: not compressed, full 8 bits are sent 01: UDP 10: ICMP (further study) 11: TCP (further study) HC2 encoding(bit 7): 0: No more header compression bits 1: HC1 encoding immediately followed by more header compression bits per HC2 encoding format Version Traffic Class Flow Label Payload Length Next Header Hop Limit + + + Source Address + + + + + + Destination Address + + + TCP, UDP, ICMP... PI: Prefix carried in-line PC: Prefix compressed (link-local prefix assumed) II: Interface identifier carried in-line IC: Interface identifier elided (to be derived from the corresponding link-layer address. If applied to the destination interface identifier when routing in a mesh, the corresponding link-layer address is that found in the Final Destination field. KRnet 2006 18/21

Encoding of IPv6 Header Fields for HC 0 7 8 15 16 23 24 31 +--------+--------+--------+--------+ Source Destination Port Port +--------+--------+--------+--------+ Length Checksum +--------+--------+--------+--------+ data octets... +----------------... 0 7 15 23 HC1 Hop Limit HC2 (sr)short_port+(dt)short_port+checksum The "HC2 encoding" for UDP is shown below (starting with bit 0 and ending at bit 7): UDP source port (bit 0): 0: Not compressed, carried "in-line" 1: Compressed to 4 bits. The actual 16-bit source port is obtained by calculating: P + short_port value. (P is a predetermined port number with value TBD. The short_port is expressed as a 4-bit value which is carried in-line ) UDP destination port (bit 1): 0: Not compressed, carried "in-line" 1: Compressed to 4 bits. The actual 16-bit destination port is obtained by calculating: P + short_port value. Length (bit 2): 0: not compressed, carried "in-line" 1: compressed, length computed from IPv6 header length information (similar to how the length of the header is calculated in TCP Reserved (bit 3 through 7) KRnet 2006 19/21

Encoding of IPv6 Header Fields for HC Non-compressed IPv6 Fields Hop Limit (8-bit): always follow the encoding fields (HC1) Source address prefix (64-bit) and/or Interface identifier (64-bit) Destination address prefix (64-bit) and/or Interface identifier (64-bit) Traffic Class (8-bit) Flow Label (20-bit) Next Header (8-bit) TCP, UDP, ICMP... Non-compressed and partially compressed UDP fields Source port (partially compressed: P + short_port (4-bit)) Destination port (partially compressed: P + short_port(4-bit)) Length (compressed) Checksum (16-bit) KRnet 2006 20/21

Conclusion IPv6 adaptation is newly defined by 6LoWPAN WG Simple IPv6 connectivity amongst IEEE 802.15.4 nodes Mesh routing amongst FFDs IPv6 input toward ZigBee To capture the market requirements for IPv6 support within the ZigBee Standard 6LoWPAN s phase II IPv6 ND Optimization and bootstrapping Transport/Application analysis (TCP/UDP/SNMP ) Security analysis Mesh routing (AODV, DYMO, etc ) Stateful Header Compression (ROHC, etc ) Coexistence with Home Devices 802.11 & 802.15.4 interference analysis Home Gateway & Sensor nodes (IPv6 LoWPAN) IPv6 KRnet 2006 21/21