Wireless Embedded Systems (0120442x) IPv6 over Low-Power Wireless Personal Area Networks (6LoWPAN) Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of.

Slides:



Advertisements
Similar presentations
Introduction to IPv6 Presented by: Minal Mishra. Agenda IP Network Addressing IP Network Addressing Classful IP addressing Classful IP addressing Techniques.
Advertisements

IPv6 The New Internet Protocol Integrated Network Services Almerindo Graziano.
Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
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. Major goals 1.support billions of hosts, even with inefficient address space allocation. 2.reduce the size of the routing tables. 3.simplify the.
IPv6 Victor T. Norman.
Low-Power Interoperability for the IPv6 Internet of Things Presenter - Bob Kinicki Low-Power Interoperability for the IPv6 Internet of Things Adam Dunkels,
6LoWPAN Extending IP to Low-Power WPAN 1 By: Shadi Janansefat CS441 Dr. Kemal Akkaya Fall 2011.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv4 - The Internet Protocol Version 4
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.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Chapter 09 Network Protocols.
07/24/200769th IETF Meeting - 6LoWPAN WG1 6LoWPAN Interoperability Jonathan Hui Zach Shelby David Culler.
6LoWPAN Ad Hoc On-Demand Distance Vector Routing (LOAD) Ki-Hyung Kim, S. Daniel Park, G. Montenegro, S. Yoo, and N. Kushalnagar IETF 6LoWPAN WG 66th, Montreal,
IP Version 6 (IPv6) Dr. Adil Yousif. Why IPv6?  Deficiency of IPv4  Address space exhaustion  New types of service  Integration  Multicast  Quality.
IP/ICMP Translation Algorithm (IIT) Xing Li, Congxiao Bao, Fred Baker
1 IPv6 Address Management Rajiv Kumar. 2 Lecture Overview Introduction to IP Address Management Rationale for IPv6 IPv6 Addressing IPv6 Policies & Procedures.
6LoWPAN Overview, Assumptions, Problem Statement & Goals (draft-kushalnagar-lowpan-goals-assumptions-00) Nandu Kushalnagar & Gabriel Montenegro.
Impact of the Internet of Things on Computer Networks James Byars December 12, 2013 IT422 – Computer Networks Professor Tim Johnson.
1Group 07 IPv6 2 1.ET/06/ ET/06/ ET/06/ EE/06/ EE/06/ EE/06/6473 Group 07 IPv6.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 8 Lessons 1 and 2 1 BSCI Module 8 Lessons 1 and 2 Introducing IPv6 and Defining.
Advisor: Quincy Wu Speaker: Kuan-Ta Lu Date: Aug. 19, 2010
1 Business Telecommunications Data and Computer Communications Chapter 15 Internetwork Protocols.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. IP version 6 Asst. Prof. Chaiporn Jaikaeo,
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.
Introduction to IPv6 Presented by:- ASHOK KUMAR MAHTO(09-026) & ROHIT KUMAR(09-034), BRANCH -ECE.
Topic of Presentation IPv6 Presented by: Mahwish Chaudhary Roll No 08TL01.
6LoWPAN (Introduction, Problem Statement & Goals) Nandakishore Kushalnagar Intel Corporation.
03/11/200871st IETF Meeting - 6LoWPAN WG1 Compression Format for IPv6 Datagrams in 6LoWPAN Networks Jonathan Hui 6LoWPAN WG Meeting 71 st IETF Meeting.
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
07/24/200769th IETF Meeting - 6LoWPAN WG1 IPv6 Header Compression for Global Addresses Jonathan Hui David Culler draft-hui-6lowpan-hc1g-00 – “Stateless.
CCNP Network Route IPV-6 Part-I IPV6 Addressing: IPV-4 is 32-BIT, IPV-6 is 128-BIT IPV-6 are divided into 8 groups. Each is 4 Hex characters. Each group.
1 RFC Transmission of IPv6 Packets over IEEE Networks Speaker: Li-Wen Chen Date:
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
Submission doc.: IEEE /1085r0 September 2015 Del Carpio (Ericsson)Slide 1 6LoWPAN over Date: Authors:
IPv4 to IPv6 Group A2 - Roland Hollis - EJ Chambers - Rachit Gupta.
CS 4396 Computer Networks Lab
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
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”
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
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.
Speaker: Yi-Lei Chang Advisor: Dr. Kai-Wei Ke 2012/05/15 IPv6-based wireless sensor network 1.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer NAT, IPv6.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
CSCI 465 D ata Communications and Networks Lecture 25 Martin van Bommel CSCI 465 Data Communications & Networks 1.
1 IPv6: Packet Structures Dr. Rocky K. C. Chang 29 January, 2002.
TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Understand IPv6 Part 2 LESSON 3.3_B Networking Fundamentals.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Next Generation: Internet Protocol, Version 6 (IPv6) RFC 2460
Compression Format for IPv6 Datagrams in 6LoWPAN Networks
27th September 2016 IPv6 27th September 2016
CS 457 – Lecture 10 Internetworking and IP
6LoWPAN Interoperability
Extending IP to Low-Power, Wireless Personal Area Networks
Guide to TCP/IP Fourth Edition
Net 323 D: Networks Protocols
ITIS 6167/8167: Network and Information Security
16EC Computer networks unit II Mr.M.Jagadesh
NET 323D: Networks Protocols
Computer Networks Protocols
Presentation transcript:

Wireless Embedded Systems (0120442x) IPv6 over Low-Power Wireless Personal Area Networks (6LoWPAN) Chaiporn Jaikaeo chaiporn.j@ku.ac.th Department of Computer Engineering Kasetsart University

Outline 6LoWPAN IPv6 overview Header compression tecniques Routing JenNet-IP The 6lo Working Group

6LoWPAN IPv6 over Low-power Wireless Personal Area Networks Nodes communicate using IPv6 packets An IPv6 packet is carried in the payload of IEEE 802.15.4 data frames

Example 6LoWPAN Systems

IPv6 Overview Larger address space compared to IPv6 Autoconfiguration 232 vs. 2128 Autoconfiguration Supporting both stateful (DHCPv6) and stateless operations Simplified headers Fixed header with optional daisy-chained headers Mandatory security

IPv6 Header Minimum header size = 40 bytes Header compression mechanism is needed Bit 4 8 12 16 20 24 28 Ver Traffic Class Flow Label 32 Payload Length Next Header Hop Limit 64 Source Address 96 128 160 192 Destination Address 224 256 288

Next header = 43 (routing) IPv6 Extended Headers More flexible than IPv4’s option fields Example 1: no extended header Example 2: with a routing header Next header = 6 (TCP) TCP hdr + payload Next header = 43 (routing) Next header = 6 (TCP) TCP hdr + payload

Prefix provided by service provider IPv6 Addressing Global unicast addresses Start with 001 Host ID usually incorporates MAC address 001 Prefix provided by service provider Subnet ID Host ID 48 16 64

IPv6 Address Scopes Global addresses Link-local addresses Globally routable Link-local addresses Only used within directly attached network Belonging to FE80::/10 subnet Interface ID 1111 1110 10 96 db c9 FF FE 00 16 fe 10 bits xxxxxxUx U = 0: not unique U = 1: unique 94 db c9 00 16 fe

IEEE 802.15.4 Revisited Allows 127 bytes MTU Good for buffering cost and low packet error rate Supports both 16-bit and 64-bit addresses Supports both star and mesh topologies Usually operates in an ad hoc fashion with unreliable links IEEE 802.15.4 networks are considered Low-power and Lossy Networks (LLN)

6LoWPAN Adaptation Layer Needs to make IEEE 802.15.4 comply with IPv6’s MTU size of 1280 bytes IEEE 802.15.4’s MTU is 127 bytes MAC header: ≤ 25 bytes Optional security header: ≤ 21 bytes Provides three main services Packet fragmentation and reassembly Header compression Link-layer forwarding

6LowPAN Header Stack

Header Dispatch Byte

Mesh Address Header (1) Used with mesh-under routing approach Only performed by FFDs

Mesh Address Header (2) Hop left field is decremented by one every hop Frame is discarded when hop left is 0 Address fields are unchanged 802.15.4 Header Mesh Header 802.15.4 Header Mesh Header B A A D Data D C A D Data Dst Src Orig Final Dst Src Orig Final Originator Final A B C D

Mesh-under vs. Route-over Routing Application Application Transport Transport Network (IPv6) Network (IPv6) Routing 6LoWPAN Adaptation 6LoWPAN Adaptation 802.15.4 MAC 802.15.4 MAC 802.15.4 PHY 802.15.4 PHY Mesh-under routing Route-over routing

Fragment Header Fragmentation is required when IPv6 payload size exceeds that of IEEE 802.15.4 payload limit All fragments are in units of 8 bytes (in 8-byte units)

IPv6 Header Compression Can be either stateless or stateful Independent of flows

HC1 Compression (1) Optimized for link-local addresses Based on the following observations Version is always 6 IPv6 address’s interface ID can be inferred from MAC address Packet length can be inferred from frame length TC and flow label are commonly 0 Next header is TCP, UDP, or ICMP Ver Traffic Class Flow Label Payload Length Next Header Hop Limit Source Address Destination Address

HC1 Compression (2)

HC2 Compression Compress UDP header Length field can be inferred from frame length Source and destination ports are shortened into 4 bits each Given that ports fall in the well-known range of 61616 – 61631

HC1 + HC2 Compression

IPHC Compression (1) HC1 and HC2 are only optimized for link-local addresses Globally routable addresses must be carried non-compressed IPHC will be the main compression technique for 6LoWPAN HC1 and HC2 will likely be deprecated

IPHC Compression (2) TF: Traffic class and flow label NH: Next header HLIM: Hop limit (0NC, 11,264,3255) CID: Context Identifier SAC/DAC: Src/Dst address (stateful or stateless) SAM/DAM: Src/Dst mode

IPHC’s Context Identifier Can be used to derive source and destination addresses Not specified how contexts are stored or maintained

RPL – Routing Protocol for Low-power and Lossy Networks

Low-power and Lossy Networks Abbr. LLN Packet drops and link failures are frequent Routing protocol should not over-react to failures Not only applied to wireless networks E.g., power-line communication Packet delivery ratio

Routing Requirements IETF formed a working group in 2008, called ROLL (Routing over Low-power and Lossy Networks) to make routing requirements Major requirements include Unicast/multicast/anycast Adaptive routing Contraint-based routing Traffic characteristics Scalability Auto-configuration and management Security

LLN Example

Different Objective Functions - Minimize low and fair quality links - Avoid non-encrypted links - Minimize latency - Avoid poor quality links and battery-powered node

RPL Protocol IPv6 Routing Protocol for Low-power and Lossy Networks Designed to be highly modular for flexibility Employing distance vector mechanism

RPL Operations DODAG (Destination Oriented Directed Acyclilc Graph) is created Based on the objective function LBR LBR 1 1 11 12 13 11 12 13 21 22 23 24 21 22 23 24 31 32 33 34 35 31 32 33 34 35 41 42 43 44 45 46 41 42 43 44 45 46

Multiple DODAGs (1) Provide alternate routes for different requirements

Multiple DODAGs (2) - High reliability (no battery-powered node) - Low latency

JenNet IP Jennic’s implementation of 6LoWPAN Supports tree topology Routing is performed over a tree

https://datatracker.ietf.org/wg/6lo/charter/ The 6lo Working Group Works on IPv6 over networks of constrained nodes, such as IEEE 802.15.4 ITU-T G.9959 Bluetooth LE https://datatracker.ietf.org/wg/6lo/charter/

References G. Montenegro, N. Kushalnagar, J. Hui, and D. Culler. Transmission of IPv6 Packets over IEEE 802.15.4 Networks, RFC 4494, September 2007. NXP Laboratories. JenNet-IP WPAN Stack User Guide (JN-UG-3080 v1.3). 2013. Jean-Philippe Vasseur and Adam Dunkels. Interconnecting Smart Objects with IP: The Next Internet. Morgan Kaufmann. 2010.