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

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

Politecnico di Milano Advanced Network Technologies Laboratory. 6LowPAN

TinyOS meets IP -- finally

6LoWPAN (IPv6 based Low Power WPAN)

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

CHAPTER 3. 6LoWPAN 3.1 INTRODUCTION

Mobile Communications

Politecnico di Milano Advanced Network Technologies Laboratory. 6LowPAN

Networked Embedded Systems: 6LoWPAN

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

Networked Embedded Systems: 6LoWPAN

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

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

Communication and Networking in the IoT

Proposed Node and Network Models for M2M Internet

Linux-based 6LoWPAN border router

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

Wireless Sensor Networks

Wireless Sensor Networks

ETSI M2M Workshop. IPSO Alliance Standard Update. Patrick Wetterwald Cisco Smart Grid and IoT Product Marketing President, IPSO Alliance

TTCN-3 in the Internet of Things(IoT), Testing in lossy environments

Evaluation of 6LoWPAN Implementations

Module 1: Wireless Sensor Networks

An Industry view of IPv6 Advantages

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

ZigBee IP update IETF 87 Berlin. Robert Cragie

Network protocol for Internet of Things based on 6LoWPAN

Interoperability. Luca Mottola slides partly by Simon Duquennoy. Politecnico di Milano, Italy and Swedish Institute of Computer Science

Internet of Things: An Introduction

Internet of Things: Latest Technology Development and Applications

Linux-wpan: IEEE and 6LoWPAN in Linux

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

Internet based IoT connectivity Technologies

IoT Roadmap in the IETF. Ines Robles

Module 1: Wireless Sensor Networks

LXRS and LXRS+ Wireless Sensor Protocol

SJTU 2018 Fall Computer Networking. Wireless Communication

White Paper. 6LoWPAN Fundamentals. Introduction into the Internet of Things. Author Enrico Lehmann dresden elektronik ingenieurtechnik gmbh

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

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

draft-ietf-6lowpan-nd-07 Authors: Zach Shelby (ed.) Jonathan Hui Pascal Thubert Samita Chakrabarti Erik Nordmark Carsten Bormann

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

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

Routing over Low Power and Lossy Networks

Implementation of 6LoWPAN Border Router (6BR) in Internet of Things

Ubiquitous Sensor Network KIM, YONG-WOON ETRI

Principles of Wireless Sensor Networks

Implementation of Gradient Routing in WSNs

Network Layer/IP Protocols

Lesson 3. IPv4 and IPv6 Protocols. Chapter-4 L03: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

RF and network basics. Antonio Liñán Colina

Internet Protocols (chapter 18)

TCP/IP Protocol Suite

CHAPTER 2 WIRELESS SENSOR NETWORKS AND NEED OF TOPOLOGY CONTROL

cs144 Midterm Review Fall 2010

The Internet of Things. Thomas Watteyne Senior Networking Design Engineer Linear Technology, Dust Networks product group

System Architecture Challenges in the Home M2M Network

By Ambuj Varshney & Akshat Logar

Extending IP to Low-Power, Wireless Personal Area Networks

A study on Need of Adaptation Layer in 6LoWPAN Protocol Stack

Link Layer and Ethernet

ISA100.11a. Pengfei Ren.

Configuring IPv6 basics

Link Layer and Ethernet

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

ETSI Plugtests Guide V1.0.0 ( ) 6LoWPAN Plugtests; Berlin, Germany; July 2013

ECE 4450:427/527 - Computer Networks Spring 2017

Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

Chapter 12 Network Protocols

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

ET4254 Communications and Networking 1

Low Power and Low Latency MAC Protocol: Dynamic Control of Radio Duty Cycle

WSN NETWORK ARCHITECTURES AND PROTOCOL STACK

Chapter 09 Network Protocols

The Research of Long-Chain Wireless Sensor Network Based on 6LoWPAN

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS

Introduction to IPv6 - II

Introduction to IPv6. IPv6 addresses

MAC LAYER. Murat Demirbas SUNY Buffalo

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

CS263: Wireless Communications and Sensor Networks

The Value of Low Power

WIRELESS MESH NETWORKING: ZIGBEE VS. DIGIMESH WIRELESS MESH NETWORKING: ZIGBEE VS. DIGIMESH

IETF Update about IPv6

Mobile Routing : Computer Networking. Overview. How to Handle Mobile Nodes? Mobile IP Ad-hoc network routing Assigned reading

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

Set of IP routers. Set of IP routers. Set of IP routers. Set of IP routers

Embedded Web Services

The Open System Interconnect model

Computer Networks (Introduction to TCP/IP Protocols)

Chapter 5.6 Network and Multiplayer

Guide to Wireless Communications, 3 rd Edition. Objectives

L o g o. IPv6 in IoT. Network Information Center Institute of Network Technology BUPT. Website: niclab.bupt.edu.cn

Davide Quaglia Assistant CS depart University of Verona, Italy

Networking interview questions

Sensors The Next Tier of the Internet

19: Networking. Networking Hardware. Mark Handley

Computer Science 461 Midterm Exam March 14, :00-10:50am

Transcription:

Reference: 6LoWPAN: The Wireless Embedded Internet, Shelby & Bormann What is 6LoWPAN? 6LoWPAN makes this possible - Low-power RF + IPv6 = The Wireless Embedded Internet IPv6 over Low-Power wireless Area Networks (IEEE 802.15.4) Defined by IETF standards - RFC 4919, 4944 - draft-ietf-6lowpan-hc and -nd IPv6 Stack - draft-ietf-roll-rpl Stateless header compression Enables a standard socket API Minimal use of code and memory Direct end-to-end Internet integration - Multiple topology options

Low Power Network Protocols 802.15.4 802.15.1 802.11 802.3 Class WPAN WPAN WLAN LAN Lifetime (days) 100-1000+ 1-7 0.1-5 Powered Capacity 65535 7 30 1024 Bandwidth (kbps) Coverage Range (m) 20-250 720 11,000+ 100,000+ 1-75+ 1-10+ 1-100 185 (wired) Design Goals Low Power, Large Scale, Low Cost Cable Replacement Throughput Throughput

Protocol Stacks

Features of 6LowPAN Support for e.g. 64-bit and 16-bit 802.15.4 addressing Useful with low-power link layers such as IEEE 802.15.4, narrowband ISM and power-line communications Efficient header compression - IPv6 base and extension headers, UDP header Network auto-configuration using neighbor discovery Unicast, multicast t and broadcast support - Multicast is compressed and mapped to broadcast Fragmentation - 1280 byte IPv6 MTU -> 127 byte 802.15.4 frames Support for IP routing (e.g. IETF RPL) Support for use of link-layer layer mesh (e.g. 802.15.5) 5)

Benefits of Benefits of 6LoWPAN Technology The benefits of 6LoWPAN include: Open, long-lived, reliable standards Easy learning-curve Transparent Internet integration Network maintainability Global scalability End-to-end ddata flows

IPv6 over 802.15.4 Challenges Fragmentation - IPv6: Minimum MTU(Maximum Transmission Unit) is 1,280 bytes - IEEE 802.15.4: Maximum 127 bytes Head compression - IPv6: 40 bytes compressed IP Header - 802.15.4: effective link payload is 81 bytes Routing - IPv6: A link is a single broadcast domain - 802.15.4: a mesh of short-range range connections 21

Header Comparison Reference: 6LoWPAN: The Wireless Embedded Internet, Shelby & Bormann

IPv6 Addressing Example Reference: 6LoWPAN: The Wireless Embedded Internet, Shelby & Bormann

Route-over vs Mesh-under Routing in 6LoWPAN

6L WPAN R ti 6LoWPAN Routing Here we consider IP routing (Layer 3 routing) - Routing in 6LoWPAN - Single-interface routing - Simple LowPAN scenario - End-to-End data transmissions Reference: 6LoWPAN: The Wireless Embedded Internet, Shelby & Bormann

6LoWPAN Challenges UDP datagram, modbus, BacNET/IP,, HTML, XML,, ZCL transport header application payload Network packet 40 B + options cls flow len hops NH src IP dst IP Payload 16 B 16 B Link Layer frame 1280 Bytes MIN ctrl len src UID dst UID link payload 128 Bytes MAX Large IP Address & Header => 16 bit short address / 64 bit EUID Minimum Transfer Unit => Fragmentation Short range & Embedded => Multiple Hops chk

Fragmentation ti IPv6 requires underlying links to support Minimum Transmission Units (MTUs) of at least 1280 bytes The performance of large IPv6 packets fragmented over low-power wireless mesh networks is poor! - Lost fragments cause whole packet to be retransmitted - Low-bandwidth and delay of the wireless channel - 6LoWPAN application protocols should avoid fragmentation - Compression should be used on existing IP application protocols when used over 6LoWPAN if possible - IP datagram that are too large to fit in a 802.15.4 frame are fragmented into multiple frames - Self describing for reassembly

28 Routing in 6LoWPAN Based on which layer the routing decision i.e. the data-gram forwarding occurs we can divide routing protocols in 6LoWPAN into two categories: - Mesh Under Routing - No IP routing - Routing within the 6LoWPAN - Route Over Routing - Routing at the IP layer - Utilizing i network-layer capabilities defined by IP Routing at two different layers may be in conflict - IETF ROLL working group - Routing Over Low-Power and Lossy networks

Mesh-under Scheme In mesh-under scheme, routing and forwarding are performed at link layer based on 802.15.4 frame or the 6LoWPAN header. - Multiple link layer hops are used to complete a single IP hop To send a packet to a particular destination, - the EUI 64 bit address or the16 bit short address is used and sent it to a neighbor node to move the packet closer to the destination. All fragments of an IP packet can go through route paths and they are gathered at the destination. - All fragments are reached successfully - The adaptation layer of the destination node reassembles all fragments and creates an IP packet. - Any fragment missing in the forwarding process - The entire IP packet i.e. all fragments for this IP packet are retransmitted to the destination for recovery.

Route-over Scheme In route-over scheme all routing decisions are taken in the network layer where each node acts as an IP router. - The IP routing supports the forwarding of packets between these links. - The network layer takes decision using the additional encapsulated IP header. An IP packet is fragmented by the adaptation layer, fragments are sent to the next hop based on the routing table information. - The adaptation layer of the next hop checks received fragments. - All fragments are received successfully, the adaptation layer creates an IP packet from fragments and send it to the network layer. If there are one or more fragments missing then all fragments are retransmitted - If there are one or more fragments missing, then all fragments are retransmitted to one hop distance.

Where Should Routing Take Place? Historically, a number of interesting research initiatives on WSN - Work on Wireless Sensors Network focussed on algorithms. Most work assumed the use of MAC addresses - Layer 2 routing (mesh-under routing) Support of multiple PHY/MAC (heterogeneous networks) - IEEE 802.15.4, Low Power Wifi, Power Line Communications (PLC) Use IP to route - Supports multiple PHY/MAC - Moves from mesh-under (L2) to router-over(l3) over(l3)

Energy cost of IPv6 over IEEE 802.15.4 The Energy Consumption on 6LowPAN

Technical Challenges Energy consumption is a major issue (battery powered sensors/actuators) Limited processing power Very dynamic topologies - Link failure (LP RF) - Node failures (triggered or non triggered) - Node mobility (in some environments), Data processing usually required on the node itself Sometimes deployed in harsh environments (e.g. Industrial) Potentially deployed at very large scale Must be self-managed

Reference: http:// www.ti.com/lit/ds/symlink/cc2420.pdf Energy Profile of a Transmission i Datasheet Analysis A. Power up oscillator & radio (Based on TI CC2420) 20mA B. Configure radio C. Clear Channel Assessment, encrypt and load TX buffer D. Transmit packet 10mA C D E E. Switch to rcv mode, listen, receive ACK A B 5 ms 10 ms

E C ti Analysis A l i Energy Consumption * * Payload Energy for fixed payload Reference: David E. Culler, 6LowPAN, IPSO Alliance

The Energy Cost of 6LowPAN Energy cost of communication has five parts - Sleep - Transmission i - Receiving - Listening (ready to receive) - Overhearing (packets overhearing form others) The increase in header size to support IP over 802.15.4 results in a small increase in transmit and receive costs. The dominant cost is listening. - Can only receive if transmission happens when radio is on, listening. - Preamble sampling, low-power listening and related listen all the time, that will pay extra than transmission. - Use TDMA scheduling listen only when necessary. - A Ttransmission i pair must wait for transmission/listen i t slot. - Clocks must be synchronized. Increase delay to reduce energy consumption.

Conclusion 802.15.4 devices have great ability to work within the resource constraints of low-power, low-memory, low-bandwidth devices. 802.15.4 provides open-systems based interoperability among low-power devices. 6LowPAN provides interoperability between low-power devices and existing IP devices, using route-over o er routing techniques. es 6LoWPAN turns IEEE 802.15.4 into the next generation, All-IP networks.