IPv6 over MS/TP Networks

Slides:



Advertisements
Similar presentations
Short MAC Header Date: Authors: John Doe, Some Company
Advertisements

1 May, 2007: American Registry for Internet Numbers (ARIN) “advises the Internet community that migration to IPv6 numbering resources is necessary for.
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. Features of IPv6 New header format Large address space More efficient routing IPsec header support required Simple automatic configuration New protocol.
Wireless Embedded Systems ( x) IPv6 over Low-Power Wireless Personal Area Networks (6LoWPAN) Chaiporn Jaikaeo Department of.
1 Internet Protocol Version 6 (IPv6) What the caterpillar calls the end of the world, nature calls a butterfly. - Anonymous.
IPv6 Network Security.
07/24/200769th IETF Meeting - 6LoWPAN WG1 6LoWPAN Interoperability Jonathan Hui Zach Shelby David Culler.
IP Version 6 (IPv6) Dr. Adil Yousif. Why IPv6?  Deficiency of IPv4  Address space exhaustion  New types of service  Integration  Multicast  Quality.
5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
Chapter 3 Review of Protocols And Packet Formats
IP Address 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
1 Chapter Overview IP (v4) Address IPv6. 2 IPv4 Addresses Internet Protocol (IP) is the only network layer protocol with its own addressing system and.
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
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 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:
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”
BAI513 - PROTOCOLS ARP BAIST – Network Management.
Speaker: Yi-Lei Chang Advisor: Dr. Kai-Wei Ke 2012/05/15 IPv6-based wireless sensor network 1.
Header Compression for Communication exceed 6LoWPAN
1 Transmission of IPv6 Packets over IEEE draft-shin-16ng-ipv6-transmission-00 draft-shin-ipv6-ieee Myung-Ki Shin, ETRI Hee-Jin Jang, Samsung.
6LoBAC: A new IPv6 Data Link
6LoWPAN Meeting 66 IETF Dallas Format Document changes July 11, 2006.
TCP/IP Protocol Suite 1 Chapter 7 Upon completion you will be able to: ARP ( and ARP ( RFC-826) and RARP ( RARP ( RFC-903) Understand the need for ARP.
November 2006IETF TRILL WG1 TRILL Working Group draft-gai-perlman-trill-encap-00.txt as modified by Radia Ed Bowen, IBM Dinesh Dutt, Cisco Silvano Gai,
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
1 Link Scoped IPv6 Multicast Addresses Jung-Soo Park, Myung-Ki Shin ETRI 54th IETF – Yokohama, Japan draft-ietf-ipv6-link-scoped-mcast-01.txt.
Data Communication Networks Lec 18. Wired LAN:Ethernet Datalink layer – Logical link control(LLC) – MAC Physical layer.
BACnet MS/TP Physical and Electrical considerations Packet structure
Transmission of IPv6 Packets over IEEE OCB Networks draft-ernst-its-ipv6-over-80211ocb-00.txt draft-lee-its-ipv6-over-80211ocb-00.txt Thierry Ernst,
Computer Communication & Networks
IP: Addressing, ARP, Routing
IPv6 Addressing Overview IPv6 increases the number of address bits by a factor of 4, from 32 to 128, providing a very large number of addressable.
Chairs: Samita Chakrabarti, Gabriel Montenegro
Instructor Materials Chapter 5: Ethernet
Next Generation: Internet Protocol, Version 6 (IPv6) RFC 2460
Carles Gomez, S. M. Darroudi
Compression Format for IPv6 Datagrams in 6LoWPAN Networks
6lo Privacy Considerations
Multiple Encapsulation Methods
Carles Gomez, Josep Paradells
Pascal Thubert, Carsten Bormann, Robert Cragie, Laurent Toutain
IPv6 / IP Next Generation
draft-gomez-lpwan-ipv6-analysis-00
May 2018 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Discussion on Suitable Parameters for SCHC]
6LoWPAN Interoperability
Extending IP to Low-Power, Wireless Personal Area Networks
Guide to TCP/IP Fourth Edition
Proposal for IEEE 802.1CQ-LAAP
Proposal for IEEE 802.1CQ-LAAP
Protocol layering and data
Robert Moskowitz, Verizon
Robert Moskowitz, Verizon
Robert Moskowitz, Verizon
Robert Moskowitz, Verizon
TCP/IP Protocol Suite: Review
May 2018 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Discussion on Suitable Parameters for SCHC]
Robert Moskowitz, Verizon
2/4/2019May 2008 November 2007 doc.: IEEE /2752r1
Internet Protocol, Version 6 (IPv6)
Jul 12, /12/10 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: Frame signaling options for Security.
Protocol layering and data
doc.: IEEE < IETF>
16EC Computer networks unit II Mr.M.Jagadesh
Data Link Layer: Overview; Error Detection
doc.: IEEE < IETF>
Transmission of IPv6 Packets over PLC Networks draft-hou-6lo-plc-04
Presentation transcript:

IPv6 over MS/TP Networks draft-ietf-6lo-6lobac-05 Kerry Lynn, Editor <kerlyn@ieee.org> Jerry Martocci <jerald.p.martocci@jci.com> Carl Neilson <cneilson@deltacontrols.com> Stuart Donaldson <stuart.donaldson@honeywell.com> 6lo WG, IETF 96, Berlin, 18 Jul 2016

Motivation Develop a low-cost wired IPv6 solution for commercial building control applications

Background BACnet is the ISO/ANSI/ASHRAE [Standard 135-2012] data communication protocol for Building Automation and Control networks MS/TP (Master-Slave/Token-Passing) is a widely used data link defined in BACnet Based on RS-485 single twisted pair PHY; supports data rates up to 115.2 kbps over 1 km distance Contention-less MAC (token passing bus) Consider it a wired alternative to IEEE 802.15.4

Technical Approach Leverage 6Lo specs [RFCs 4944, 6282, 6775] Minimize changes to existing MS/TP specification [BACnet Clause 9] Goal: co-existence with legacy MS/TP nodes No changes to frame header format, control frames, or MS/TP Master Node state machine MS/TP Extended Frames proposal includes: New frame type for IPv6 (LoBAC) Encapsulation Larger MSDU (1500+ octets) 32-bit FCS (CRC-32K) COBS (Consistent Overhead Byte Stuffing) encoding

Status Proposal has passed WGLC First presented to 6man in July ‘11 Two interoperable implementations, Contiki and RIOT (tested at ETSI 6lo PlugTest in Yokohama) No external dependencies; BACnet has assigned a FrameType and draft of new Clause 9 is available for reviewers Three detailed reviews Thank you Peter, James, and Carsten

Changes since -05 Primarily editorial, following Carsten’s review A MAC-derived IID is recommended for on-link and 64-bit privacy IID for off-link traffic

Backup Slides

MS/TP Control Frame Format 31 0x55 0xFF FrameType DestAddr SrcAddr Length = 0 HeaderCRC Optional 0xFF Frame Type: 0 = Token 1 = Poll for Master 2 = Reply to Poll for Master Destination Address: 0 – 127 Source Address: 0 – 127

MS/TP Encoded Data Frame Format 31 0x55 0xFF FrameType DestAddr SrcAddr Length (MS octet first) HeaderCRC COBS Encoded Data (1 – 1500 octets before encoding) … … Data CRC (CRC-32K, LS octet first, COBS Encoded) Optional 0xFF Frame Type: 34 = IPv6 (LoBAC) Encapsulation Destination Address: 0 – 127 or 255 (all nodes) Source Address: 0 – 127

LoBAC Encapsulation Uses 6LoWPAN Dispatch Header [RFC 4944]: Pattern 1 2 3 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0 1| Dispatch | Type-specific header Pattern Header Type 01 1XXXXX LOWPAN_IPHC – Compressed IPv6 header

LoBAC Encapsulation (cont.) No mesh, broadcast, or fragmentation headers One option remains: IPHC Dispatch IPHC Header Payload A LoBAC encapsulated LOWPAN_IPHC [RFC 6282] compressed datagram

IPHC Compression [RFC 6282] Assumes some 6LBR-like behavior, e.g. 6LoWPAN Context Option (6CO, [RFC 6775]) Uses 6LoWPAN short address format, formed by appending 8-bit MS/TP address to the octet 0x00 For example, an MS/TP node with a MAC address of 0x4F results in the following IPHC short address: |0 1| |0 5| +----------------+ |0000000001001111|

Stateless Address Auto-Configuration Typically, 8-bit MAC address is appended to the seven octets 0x00, 0x00, 0x00, 0xFF, 0xFE, 0x00 For example, an MS/TP node with a MAC address of 0x4F results in the following Interface ID: |0 1|1 3|3 4|4 6| |0 5|6 1|2 7|8 3| +----------------+----------------+----------------+----------------+ |0000000000000000|0000000011111111|1111111000000000|0000000001001111| A privacy address may be used for the Interface Identifier (SHOULD be for ULA/Global addresses) In this case there must be a way to map the address to an 8-bit MAC address (e.g. ARO in NS [RFC 6775])

IPv6 Link Local Address The IPv6 link-local address [RFC 4291] for an MS/TP interface is formed by appending the Interface Identifier (defined in previous slide) to the prefix FE80::/64: 10 bits 54 bits 64 bits +----------+-----------------------+----------------------------+ |1111111010| (zeros) | Interface Identifier |

Unicast Address Mapping The Source/Target Link-Layer Address option has the following form when the link layer is MS/TP and the addresses are 8-bit MS/TP MAC addresses: 0 1 Option fields: 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Type: | Type | Length=1 | 1 = Source Link-layer address +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 2 = Target Link-layer address | 0x00 | MS/TP Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Length: | | The value of this field is + Padding + 1 for 8-bit MS/TP addresses | (all zeros) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ MS/TP Address: The 8-bit MAC address in canonical bit order

Multicast Address Mapping MS/TP only supports link-local broadcast Uses 6LoWPAN short address format, formed by appending 0xFF to the octet 0x00 All IPv6 multicasts on the MS/TP link map to the following IPHC short destination address: |0 1| |0 5| +----------------+ |0000000011111111|

COBS Encoding Basics Code Followed By Meaning 0x00 (not applicable) (not allowed) 0x01 nothing A single zero byte 0x02 one data byte The single data byte, followed by a zero byte n (n – 1) data bytes The (n – 1) data bytes, followed by a zero byte 0xFE 253 data bytes The 253 data bytes, followed by a zero byte 0xFF 254 data bytes The 254 data bytes, not followed by a zero byte x y z ... 00  FF x y z ... 01 03 02   

COBS Encoding in Detail "Phantom zero" is appended to input to resolve ambiguity in final code block: H e l o 00 06  01 An arbitrary octet (e.g. 0x55) may be removed by XOR-ing it over the COBS encoder output stream COBS overhead: At least one octet per encoded field At most one octet in 255 (6 octets in 1501; ≈ 0.4%)