A Compression Format for RPL Control Messages draft-goyal-roll-rpl-compression-00 Mukul Goyal University of Wisconsin Milwaukee.

Slides:



Advertisements
Similar presentations
IPv6 Addressing Details LAC NIC VII October 26, 2004 Wilfried
Advertisements

Identifying Defunct DAGs in RPL draft-goyal-roll-defunct-dags-00 Mukul Goyal University of Wisconsin Milwaukee.
Neighbor Discovery for IPv6 Mangesh Kaushikkar. Overview Introduction Terminology Protocol Overview Message Formats Conceptual Model of a Host.
CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
IPv6 Internet Protocol Version Information management 2 Groep T Leuven – Information department 2/24 Internet Protocol Version 6 (IPv6)
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
1 IPv6. 2 Problem: 32-bit address space will be completely allocated by Solution: Design a new IP with a larger address space, called the IP version.
IPv6 Victor T. Norman.
IPv6 Routing Protocol for Low- Power and Lossy Networks Speaker : Chih-Ching Chen Advisor : Dr. Ho-Ting Wu 2014/3/24 1.
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.0—2-1 IPv6 Operations Defining and Configuring Neighbor Discovery.
Chapter 22 IPv6 (Based on material from Markus Hidell, KTH)
1 Internet Protocol Version 6 (IPv6) What the caterpillar calls the end of the world, nature calls a butterfly. - Anonymous.
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
IP Version 6 (IPv6) Dr. Adil Yousif. Why IPv6?  Deficiency of IPv4  Address space exhaustion  New types of service  Integration  Multicast  Quality.
1 IPv6 Packet Format. 2 Objectives IPv6 vs IPv4 IPv6 Packet Format IPv6 fields IPv6 and data-link technologies.
IPv6 Header & Extensions Joe Zhao SW2 Great China R&D Center ZyXEL Communications, Inc.
Lesson 4 The IPv6 Header.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5-1 Internet Protocol (IP): Packet Format, Fragmentation, Options Shivkumar Kalyanaraman Rensselaer.
Reactive Discovery of Point-to-Point Routes in Low Power and Lossy Networks draft-ietf-roll-p2p-rpl-04 Mukul Goyal University of Wisconsin Milwaukee.
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
IP Protocol. The Internet Protocol (IP) is a network-layer (Layer 3) protocol that contains addressing information and some control information that enables.
Oct 19, 2004CS573: Network Protocols and Standards1 IP: Datagram and Addressing Network Protocols and Standards Autumn
Internet Command Message Protocol (ICMP) CS-431 Dick Steflik.
1 CMPT 471 Networking II ICMPv6 © Janice Regan, 2012.
IP/ICMP Translation Algorithm (IIT) Xing Li, Congxiao Bao, Fred Baker
IPv6 Fundamentals Chapter 2: IPv6 Protocol
Lesson 6 Neighbor Discovery.
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
CMPT 471 Networking II Address Resolution IPv6 Neighbor Discovery 1© Janice Regan, 2012.
IETF-76, Hiroshima, Nov 2009 ROLL Working Group Meeting IETF-76, Nov 2009, Hiroshima Routing Metrics used for Path Calculation in Low Power and Lossy Networks.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
ICMP : Internet Control Message Protocol. Introduction ICMP is often considered part of the IP layer. It communicates error messages and other conditions.
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
The Saigon CTT Semester 1 CHAPTER 10 Le Chi Trung.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
03/11/200871st IETF Meeting - 6LoWPAN WG1 Compression Format for IPv6 Datagrams in 6LoWPAN Networks Jonathan Hui 6LoWPAN WG Meeting 71 st IETF Meeting.
07/24/200769th IETF Meeting - 6LoWPAN WG1 IPv6 Header Compression for Global Addresses Jonathan Hui David Culler draft-hui-6lowpan-hc1g-00 – “Stateless.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
1 RFC Transmission of IPv6 Packets over IEEE Networks Speaker: Li-Wen Chen Date:
Slide #1IETF 82 – ROLL WG – November 2011 RPL adaptation for asymmetrical links IETF 82 status draft-thubert-roll-asymlink Pascal Thubert.
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
4: Network Layer4b-1 IPv6 r Initial motivation: 32-bit address space completely allocated by r Additional motivation: m header format helps speed.
The Saigon CTT Semester 1 CHAPTER 10 Wael Yousif.
RPL:IPv6 Routing Protocol for Low Power and Lossy Networks Speaker: Chung-Yi Chao Advisor: Dr. Kai-Wei Ke 2015/10/08 1.
CSC 600 Internetworking with TCP/IP Unit 5: IP, IP Routing, and ICMP (ch. 7, ch. 8, ch. 9, ch. 10) Dr. Cheer-Sun Yang Spring 2001.
IPv6 Internet Protocol Version Information management 2 Groep T Leuven – Information department 2/24 Internet Protocol Version 6 (IPv6)
Speaker: Yi-Lei Chang Advisor: Dr. Kai-Wei Ke 2012/05/15 IPv6-based wireless sensor network 1.
ICMPv6 Error Message Types Informational Message Types.
Neighbor Discovery. IPv6 Terminology Additional subnets Router Host Neighbors Host Intra-subnet router Switch LAN segment Link Subnet Network.
Internet Protocol Version 4 VersionHeader Length Type of Service Total Length IdentificationFragment Offset Time to LiveProtocolHeader Checksum Source.
IPv6 Host IP Addressing Julian CPE SW1 ZyXEL March 14, 2008.
Net7: IP 協定 Internet Protocol 授課教師:雲林科技大學 張慶龍 老師.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 IPv6: Address Architecture Dr. Rocky K. C. Chang 29 January, 2002.
Engineering Workshops Stateless Autoconfiguration.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
4: Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
The Direction Field in Routing Metric/Constraint Objects Used in RPL draft-goyal-roll-metrics-direction-00 Mukul Goyal University of Wisconsin Milwaukee.
Mukul Goyal University of Wisconsin Milwaukee
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
Next Generation: Internet Protocol, Version 6 (IPv6) RFC 2460
Compression Format for IPv6 Datagrams in 6LoWPAN Networks
Chapter 15. Internet Protocol
IPv4 Addressing By, Ishivinder Singh( ) Sharan Patil ( )
Presentation transcript:

A Compression Format for RPL Control Messages draft-goyal-roll-rpl-compression-00 Mukul Goyal University of Wisconsin Milwaukee

DIO Size: Example 1 Consider a multicast DIO consisting of – a Configuration Option – a Route Information Option – a Metric Container with one ETX metric object and one ETX constraint object. This message consists of : – 5 bytes for a typical IPv6 header, compressed as per [I-D.ietf-6lowpan-hc] :I-D.ietf-6lowpan-hc 2 byte LOWPAN_IPHC Base Encoding 1 byte Context Identifier Extension 1 byte Next Header 1 byte Group ID to identify all-RPL-nodes multicast address. – 4 bytes for ICMP Type, Code and Checksum fields; – 24 bytes for DIO Base Object; – 16 bytes for DODAG Configuration Option; – 24 byte Route Information Option; – 14 bytes for Metric Container consisting of: 2 bytes for Type and Option Length fields; 6 bytes for ETX metric object (4 bytes header + 2 bytes body); 6 bytes for ETX constraint object (4 bytes header + 2 bytes body). Thus, the total length of such a DIO is 87 bytes.

DIO Size: Example 2 Consider a multicast DIO consisting of – A Configuration Option – A Route Discovery Option – A Metric Container with one ETX metric object and one ETX constraint object This message consists of – 5 bytes of compressed IPv6 header – 4 bytes for ICMP Type, Code and Checksum fields – 24 bytes for DIO Base Object – 16 bytes for DODAG Configuration Option – 26 bytes for Route Discovery Option consisting of: 4 bytes for Type, Option Length and other fixed length fields; 2 bytes for the Target address field; 20 bytes for the Address vector (assuming ten 2-byte long elements). – 14 bytes for Metric Container consisting of: 2 bytes for Type and Option Length fields 6 bytes for ETX metric object (4 bytes header + 2 bytes body) 6 bytes for ETX constraint object (4 bytes header + 2 bytes body). The total length of such a DIO is 89 bytes.

Need for Compression With IEEE as the link layer, the link layer payload can be as small as 81 bytes. RPL DIO messages are susceptible to fragmentation. This document specifies a compression format for ICMPv6 RPL control messages – The document currently defines the compression format for DIO base object DODAG Configuration Option Some of the Routing Metric/Constraint objects.

RPL ICMPv6 Message Compression Various fields of a compressed ICMPv6 messages are: – Type: 155 – Code: Set the 7th bit in the Code of the corresponding uncompressed message. – Checksum: calculated in the same manner as for the uncompressed message. – Base: The Base object must be compressed in the manner specified in the document. – Option(s): Both compressed and uncompressed versions are allowed.

DIO Base Object

Compression Format for DIO Base Object C: This flag is set to 1 if the 3rd byte contains an 8-bit identifier of the "context" that provides values of all elided fields in the base object and the options. I: This flag is set to 1 if the RPLInstanceID field is present inline. Otherwise, the implicit value of the RPLInstanceID depends on the context if present. In the absence of the context, the implicit value of the RPLInstanceID depends on the value of the L flag. L: Meaningful only when the RPLInstanceID field is elided but no context is identified, the L flag is set to 1 if the elided RPLInstanceID is local and has implicit value 128. The L flag is set to 0 if the elided RPLInstanceID field is global and has implicit value 0. V: This flag is set to 1 if the Version Number is carried inline. Otherwise, the implicit value of the Version Number depends on the context if present. If no context is present, the implicit value is assumed to be zero.

Compression Format for DIO Base Object R: This flag indicates whether the Rank field in the DIO is shortened or not. This flag is set to 1 if the full 16-bit Rank is present inline in the compressed DIO. The flag is set to 0 if the 4-bit long Ra field contains the rank value. G: This flag indicates whether the byte containing the Grounded, Mode of Operation and DODAG Preference fields is elided or not. T: This flag is set to 1 if the DTSN field is carried inline. F: This flag indicates whether the Flags and Reserved fields in the DIO are elided or not. Ra: This field contains the 4-bit rank value if the R flag is set to 0. Compr: This field contains the number of prefix octets that are elided from the DODAGID field. Inline Fields: The context identifier, if present, occupies the 3rd byte. Any inline fields in the compressed DIO appear in the same order as in the uncompressed format.

Compressing the RPL Options Option Type: The Option Type value for a compressed RPL option is same as that of the uncompressed option with the most significant bit (MSB) set to 1. Option Length: The Option Length is 8 bits long as in case of an uncompressed RPL option.

DODAG Configuration Option

Compression Format for DODAG Configuration Option F: This flag indicates whether the byte consisting of the Flags, A and PCS fields, is elided or not. T1: This flag indicates whether the DIOIntervalDoublings and DIOIntervalMin fields are elided or not. T2: This flag indicates whether the DIORedundancyConstant field is elided or not. I1: This flag indicates whether the MaxRankIncrease field is elided or not. I2: This flag indicates whether the MinHopRankInc field is elided or not. O: This flag indicates whether the OCP field is elided or not. R: This flag indicates whether the Reserved byte is elided or not. L: This flag indicates whether the Default Lifetime and Lifetime Unit fields are elided or not. Inline fields: Any inline fields in the compressed DODAG Configuration option appear in the same order as in the uncompressed format. A compressed DODAG Configuration Option can be as small as 3 bytes, whereas an uncompressed DODAG Configuration Option is 16 bytes long.

Routing Metric/Constraint Object

Compression Format for Routing Metric/Constraint Object A compressed Metric Container Option MUST NOT contain uncompressed Routing Metric/ Constraint objects. A compressed Routing Metric/Constraint Object always has a fixed size. Thus, "recorded" metrics and sub-objects/TLV options within a metric object are not allowed.

Compression Format for Routing Metric/Constraint Object Type: The type of the routing metric/constraint object. C: This flag is set to one if the object represents a constraint. O/P: If the object represents a constraint, this flag is set to one if the constraint is optional. If the object represents a metric, this bit represents, along with P2 bit, a 2-bit "precedence" field. P2: This bit is relevant only when the object represents a metric. Along with the O/P bit, this bit forms a 2-bit "precendence" field to indicate the precedence of this metric relative to other metrics in the container. The precedence values range from 0 to 3, 0 being the highest precedence. A: This field is relevant only for metrics and indicates the manner in which the routing metric must be aggregated: – A=0x00: The routing metric is additive – A=0x01: The routing metric reports a maximum – A=0x02: The routing metric reports a minimum – A=0x03: The routing metric is multiplicative

Node State and Attributes Object

Compressed Node State and Attributes Object

Node Energy Object

Compressed Node Energy Object Note that the E-E field has been reduced from 8 bits to 4 bits.

Hop Count Object

Compressed Hop Count Object

Throughput Object The Throughput is encoded in 32 bits in unsigned integer format, expressed in bytes per second.

Compressed Throughput Object A 16-bit value expressed in units of kilo bytes per second.

Latency Object The Latency is encoded in 32 bits in unsigned integer format, expressed in microseconds.

Compressed Latency Object A 16-bit value expressed in units of milliseconds.

ETX Object The ETX * 128 is encoded using 16 bits in unsigned integer format, rounded off to the nearest whole number.

Compressed ETX Object

DIO Size: Example 1 Consider a multicast DIO consisting of – a Configuration Option – a Route Information Option – a Metric Container with one ETX metric object and one ETX constraint object. This message consists of : – 5 bytes for a typical IPv6 header, compressed as per [I-D.ietf-6lowpan-hc] :I-D.ietf-6lowpan-hc 2 byte LOWPAN_IPHC Base Encoding 1 byte Context Identifier Extension 1 byte Next Header 1 byte Group ID to identify all-RPL-nodes multicast address. – 4 bytes for ICMP Type, Code and Checksum fields; – 24 bytes for DIO Base Object; – 16 bytes for DODAG Configuration Option; – 24 byte Route Information Option; – 14 bytes for Metric Container consisting of: 2 bytes for Type and Option Length fields; 6 bytes for ETX metric object (4 bytes header + 2 bytes body); 6 bytes for ETX constraint object (4 bytes header + 2 bytes body). Thus, the total length of such a DIO is 87 bytes.

DIO Size With Compression: Example 1 The compressed message consists of : – 5 bytes of IPv6 header compressed as per [I-D.ietf-6lowpan-hc] – 4 bytes for ICMP Type, Code and Checksum fields – 4 bytes of compressed DIO Base Object consisting of 2 bytes of header and 2 bytes for DODAGID (the best case scenario) – 3 bytes of compressed DODAG Configuration Option, including 2 bytes for Type and Option Length fields – 24 bytes of Route Information Option – 8 bytes for Metric Container consisting of: 2 bytes for Type and Option Length fields 3 bytes for ETX metric object (1 byte header + 2 bytes body) 3 bytes for ETX constraint object (1 byte header + 2 bytes body). Thus, the total length of the compressed DIO is 48 bytes.

DIO Size: Example 2 Consider a multicast DIO consisting of – A Configuration Option – A Route Discovery Option – A Metric Container with one ETX metric object and one ETX constraint object This message consists of – 5 bytes of compressed IPv6 header – 4 bytes for ICMP Type, Code and Checksum fields – 24 bytes for DIO Base Object – 16 bytes for DODAG Configuration Option – 26 bytes for Route Discovery Option consisting of: 4 bytes for Type, Option Length and other fixed length fields; 2 bytes for the Target address field; 20 bytes for the Address vector (assuming ten 2-byte long elements). – 14 bytes for Metric Container consisting of: 2 bytes for Type and Option Length fields 6 bytes for ETX metric object (4 bytes header + 2 bytes body) 6 bytes for ETX constraint object (4 bytes header + 2 bytes body). The total length of such a DIO is 89 bytes.

DIO Size After Compression: Example 2 The message, when compressed, consists of: – 5 bytes of IPv6 header compressed as per [I-D.ietf-6lowpan-hc] – 4 bytes for ICMP Type, Code and Checksum fields – 4 bytes of compressed DIO Base Object consisting of 2 bytes of header and 2 bytes for DODAGID (the best case scenario) – 3 bytes of compressed DODAG Configuration Option, including 2 bytes for Type and Option Length fields – 26 bytes of Route Discovery Option – 8 bytes for Metric Container consisting of: 2 bytes for Type and Option Length fields 3 bytes for ETX metric object (1 byte header + 2 bytes body) 3 bytes for ETX constraint object (1 byte header + 2 bytes body). Thus, the total length of the compressed DIO is 50 bytes.