Tiny COAP Sensors. Ericsson Research. draft-arkko-core-sleepy-sensors

Similar documents
Experiences in Setting Up Automatic Home Networking. Jari Arkko Ericsson Research

OSPFv3-Based Home Networking draft-arkko-homenet-prefix-assignment-02.txt. Jari Arkko, Ericsson Acee Lindem, Ericsson Benjamin Paterson, Cisco

IP over ETH over IEEE draft-riegel-16ng-ip-over-eth-over Max Riegel

Constrained Application Protocol (CoAP) Vilen Looga, M.Sc. Doctoral

TCP/IP and the OSI Model

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

IPv6 address configuration and local operation

An Improved CoAP Scheme for 6LoWPAN Networks

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

PUCPR. Internet Protocol. Edgard Jamhour E N G L I S H S E M E S T E R

IP Based Architecture for the Internet of Things. IPV6 and Related Standards for IoT Interoperability November 20, 2014

Network layer: Overview. Network Layer Functions

Constrained Application Protocol (CoAP) Vilen Looga, M.Sc. Doctoral

IPv6 over IEEE 구현시나리오

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

Ethernet. Network Fundamentals Chapter Cisco Systems, Inc. All rights reserved. Cisco Public 1

System Architecture Challenges in the Home M2M Network

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

DetNet. Flow Definition and Identification, Features and Mapping to/from TSN. DetNet TSN joint workshop IETF / IEEE 802, Bangkok

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

OSI Data Link & Network Layer

SJTU 2018 Fall Computer Networking. Wireless Communication

Characteristics of Traffic Type Changes and Their Architectural Implications

White Paper Networking with EclerNet Manager

Transporting Voice by Using IP

IETF Topics and Internet Evolution

Router 6000 R17 Training Programs. Catalog of Course Descriptions

Recent Advances in IPv6 Security. Fernando Gont

CSE 461 Midterm Winter 2018

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

IPv6 Prefix Delegation for Hosts. Fred L. Templin IETF100 v6ops Working Group November 16, 2017

IPv6 Neighbor Discovery

COMP211 Chapter 4 Network Layer: The Data Plane

n Describe sniffing concepts, including active and passive sniffing n Describe sniffing countermeasures n Describe signature analysis within Snort

Cloud Based IoT Application Provisioning (The Case of Wireless Sensor Applications)

COMS Introduction to Computers. Networking

Towards a Zero-Configuration Wireless Sensor Network Architecture for Smart Buildings

IP Multicast Addressing

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

OCF Specification Overview Core Technology Specification. OCF 2.0 Release June 2018

Initial results from an IPv6 Darknet

Internet 3.0: Ten Problems with Current Internet Architecture and Solutions for the Next Generation

MULTICAST AND IGMPv3. Announcements. Today s Lecture. Multicast (No Sharing) Unicast. I. HW5 will be online today CIDR, subnets, routing

Homework 4 assignment for ECE374 Posted: 04/06/15 Due: 04/13/15

IPv6 Security: Oxymoron or Oxycodone? NANOG 60 Atlanta Paul Ebersman IPv6

B.Sc. (Hons.) Computer Science with Network Security B.Eng. (Hons) Telecommunications B.Sc. (Hons) Business Information Systems

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

Introduction Mobility Support Handover Management Conclutions. Mobility in IPv6. Thomas Liske. Dresden University of Technology

internet technologies and standards

CSCI-1680 Network Layer:

Networking and Internetworking 1

Chapter 5.6 Network and Multiplayer

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

Internet of Things: Latest Technology Development and Applications

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

Connecting to the Network

Configuring IPv4. Finding Feature Information. This chapter contains the following sections:

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

Politecnico di Milano Advanced Network Technologies Laboratory. 6LowPAN

7th Slide Set Computer Networks

Tik Network Application Frameworks. IPv6. Pekka Nikander Professor (acting) / Chief Scientist HUT/TML / Ericsson Research NomadicLab

Vorlesung Kommunikationsnetze

Planning for Information Network

Network Security. Introduction to networks. Radboud University, The Netherlands. Autumn 2015

ETSF10 Internet Protocols Transport Layer Protocols

An Analysis of the Flow-Based Fast Handover Method for Mobile IPv6 Network. Jani Puttonen, Ari Viinikainen, Miska Sulander and Timo Hämäläinen

CS118 Discussion, Week 6. Taqi

IPv6 Neighbor Discovery

Chapter 4 Network Layer: The Data Plane

ICS 351: Today's plan. OSPF BGP Routing in general routing protocol comparison encapsulation network dynamics

An Analysis of The Fast Handovers for Mobile IPv6 Protocol

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

Techological Advantages of Mobile IPv6

On using Mobile IP Protocols

Lecture 4: The Transport Layer and UDP

IPv6 Protocol & Structure. npnog Dec, 2017 Chitwan, NEPAL

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11

ECE 435 Network Engineering Lecture 15

CSC 4900 Computer Networks: Network Layer

Recent Advances in IPv6 Security. Fernando Gont

IPv6 Specifications to Internet Standard

Outline. SC/CSE 3213 Winter Sebastian Magierowski York University. ICMP ARP DHCP NAT (not a control protocol) L9: Control Protocols

Introduction to routing in the Internet

A look at the ROUTE forward ROUTE ~ Real-time Object-delivery over Unidirectional Transport

CS 4390 Computer Networks. Transport Services and Protocols

Internet Protocol version 6

Communication stacks: Constrained Application Protocol

Network Security. Security of Mobile Internet Communications. Chapter 17. Network Security (WS 2002): 17 Mobile Internet Security 1 Dr.-Ing G.

Chapter 4 Network Layer: The Data Plane

IPv6 Security (Theory vs Practice) APRICOT 14 Manila, Philippines. Merike Kaeo

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

Objectives. Hexadecimal Numbering and Addressing. Ethernet / IEEE LAN Technology. Ethernet

Mobile IPv6 Overview

Support for Notifications in CCN ( draft-ravi-ccn-notification-00.txt ) IETF/ICN-RG -93, Prague

ILNP: a whirlwind tour

Introduction to IPv6. IPv6 addresses

Networks Fall This exam consists of 10 problems on the following 13 pages.

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

Getting Started with your MicroPnP Development and Evaluation Kit

Transcription:

Tiny COAP Sensors draft-arkko-core-sleepy-sensors Jari Arkko, Heidi-Maria Rissanen, Salvatore Loreto, Zoltan Turanyi, and Oscar Novo Ericsson Research

Legacy, Non-IP Technology Can we do the same on IP? YES we can!

Motivation The goal was to create IP(v6) based sensors with 1. Natural support for sleeping nodes 2. Build something so simple that it could be reimplemented later with gates (not CPUs) 3. Communication models that fit the problem at hand 4. Good design from user perspective IETF 2011-03-31 Page 3

Non-Goals This is NOT 1. A general purpose implementation of COAP or any other protocol; we only implement what is actually needed in the application context 2. An implementation for general purpose computers 3. RFC compliance exercise. It works. 'nuff said. IETF 2011-03-31 Page 4

Highlights from the Implementation Consists of 48 lines of assembler code Ethernet, IPv6, UDP, COAP, XML, and app Multicast, checksums, msg and device IDs Approaches theoretical minimum power usage No configuration needed Look for packets to ff02::fe00:1 in the IETF wired network! IETF 2011-03-31 Page 5

Making Small Implementions: Problem 1 Sleeping Nodes The device should ideally sleep as much as possible The fundamental issue is having to wait for responses Asking for an address from DHCP, waiting for a prefix from RA, waiting for DAD responses, waiting for COAP/HTTP requests, or waiting for COAP registrations The communication model is wrong! S Do this instead: 1. Sensors multicast their readings 2. A cache node collects the messages 3. Other nodes access the cache at any time S S S C U IETF 2011-03-31 Page 6

Power Savings Comparison Lets assume periodic messages once per minute. On a 10Mbit/s interface sending one message takes 100 us, i.e., ratio of sleep vs. awake is 600.000x A node that wakes up for one second every minute to listen has a ratio of only 60x 10.000x difference!!! Even if we assume that it takes ten times more to wake up and process the packet than the actual line speed is, we still get a 1.000x difference IETF 2011-03-31 Page 7

Making Small Implementions: Problem 2 Address Configuration How do we get an address without having to stay awake? The solution: 1. Use IPv6 link-local source addresses No need to wait for RAs or remember prefixes 2. Use MAC-address -based generation of these addresses 3. Do not employ DAD Not quite according to the RFC... but works better IETF 2011-03-31 Page 8

Making Small Implementions: Problem 3 Zero Configuration How do we avoid having to configure these tiny devices? The solution: 1. Sensor IDs are burned into the hardware at factory 2. Sensors use multicast, no need to know any specific destination addresses 3. All configuration that might be needed (e.g., sensor X is at room Y) happens at the gateway/cache node IETF 2011-03-31 Page 9

Draft Schema for HW Implementation IETF 2011-03-31 Page 10

Reflections on COAP There are areas where additional documention is needed How one should use multicast What data to include (URNs, payloads, options) How to configure COAP nodes in practical networks But there are also fundamental concerns The lightweight nature of COAP is more about small changes to syntax and behavior (TCP=>UDP) than about eliminating reasons behind complexity and power usage Like re-arranging the deck chairs on Titanic! COAP can (perhaps) be used in sleepy nodes, but it requires great care IETF 2011-03-31 Page 11

Communication Models: 1. Send-Only IETF 2011-03-31 Page 12

Communication Models: 1. Send-Only IETF 2011-03-31 Page 13

2. Send & Confirm IETF 2011-03-31 Page 14

2. Send & Confirm IETF 2011-03-31 Page 15

3. Server IETF 2011-03-31 Page 16

3. Server IETF 2011-03-31 Page 17

4. Observer IETF 2011-03-31 Page 18

4. Observer IETF 2011-03-31 Page 19

Suggested Changes to COAP Specs Multicast and Non-Confirmable requests: Specify better what the re-transmission rules should be for nonconfirmable requests Specify what the multicast transmission rules are with respect to congestion (random delays etc) Consider standardizing what destination addresses and target URIs to use Communication models Explain the implication of different models Change the observer model so that it becomes compatible with sleeping nodes IETF 2011-03-31 Page 20