6TiSCH J. Munoz, Ed. Internet-Draft Gridbee Communications - INRIA Intended status: Informational E. Riou Expires: August 26, 2016 Gridbee Communications G. Gaillard D. Barthel Orange Labs February 23, 2016 Example Packets for 6TiSCH Configuration draft-munoz-6tisch-examples-00 Abstract This draft contains example packets exchanged by nodes implementing the following 6tisch drafts: draft-ietf-6tisch-minimal, draft-wang- 6tisch-6top-sublayer, draft-ietf-6lo-routing-dispatch and draft-ietf- 6lo-paging-dispatch. All packets are presented both in raw binary and fully parsed contents. This document can be used as a reference when implementing the previous mentioned drafts. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on August 26, 2016. Copyright Notice Copyright (c) 2016 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents Munoz, et al. Expires August 26, 2016 [Page 1] Internet-Draft 6tisch-examples February 2016 carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Tools Used . . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Network Topology . . . . . . . . . . . . . . . . . . . . . . 3 3. Packet Examples . . . . . . . . . . . . . . . . . . . . . . . 3 3.1. Known Errors in These examples . . . . . . . . . . . . . 3 3.2. Enhanced Beacon . . . . . . . . . . . . . . . . . . . . . 3 3.3. RPL DIO . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.4. RPL DAO . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.4.1. RPL DAO from 2 . . . . . . . . . . . . . . . . . . . 13 3.4.2. RPL DAO from 3 . . . . . . . . . . . . . . . . . . . 16 3.5. ACK . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.6. ICMPv6 echo request/reply . . . . . . . . . . . . . . . . 21 3.6.1. ping 2 . . . . . . . . . . . . . . . . . . . . . . . 21 3.6.2. ping 3 . . . . . . . . . . . . . . . . . . . . . . . 25 3.7. 6Top Commands and Reponses . . . . . . . . . . . . . . . 32 4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 35 5. Security Considerations . . . . . . . . . . . . . . . . . . . 35 6. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 35 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.1. Normative References . . . . . . . . . . . . . . . . . . 35 7.2. External Informative References . . . . . . . . . . . . . 35 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 36 1. Tools Used All results presented in this document are collected by running the OpenWSN firmware [OpenWSN] in simulation mode and capturing the packets exchanged using a version of Wireshark with an updated IEEE802.15.4e TSCH/6TiSCH and 6LoWPAN dissectors. These are the version of the source code used: 1. Wireshark dissector: https://github.com/openwsn- berkeley/dissectors/releases/tag/6tisch_0.4 2. OpenWSN firmware: https://github.com/openwsn-berkeley/openwsn-fw/ commit/98576fcdb23094a90c07c9ee615734fec14a6ee2 3. OpenWSN software: https://github.com/openwsn-berkeley/openwsn-sw/ commit/0a60c7067af6685f2c8c986b0f9555e837725b01 Munoz, et al. Expires August 26, 2016 [Page 2] Internet-Draft 6tisch-examples February 2016 2. Network Topology Network prefix: bbbb::/64 MAC address: 14-15-92-cc-00-00-00-0x PDR=100% PDR=100% +-----+ +-----+ +-----+ | x=1 |--------| x=2 |--------| x=3 | +-----+ +-----+ +-----+ DAGroot 3. Packet Examples 3.1. Known Errors in These examples Looks for "FIXME" in the examples below. 3.2. Enhanced Beacon Enhanced Beacon sent by 1 == Dissected packet == IEEE 802.15.4 Beacon, Dst: Broadcast, Src: 14:15:92:cc:00:00:00:01 .... .... .... .000 = Frame Type: Beacon (0x0000) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..0. .... = Acknowledge Request: False .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..1. .... .... = Information Elements present: True .... 10.. .... .... = Destination Addressing Mode: Short/16-bit (0x0002) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 0 Destination PAN: 0xcafe Destination: 0xffff Extended Source: 14:15:92:cc:00:00:00:01 (14:15:92:cc:00:00:00:01) Header Information Elements: Header Termination 1 IE (0x3f00) Information Element Length: 0 .011 1111 0... .... = Information Element ID: Header Termination 1 IE (0x007e) 0... .... .... .... = Header IE. This bit must be unset: False Payload Information Elements: MLME IE (0x881c) Munoz, et al. Expires August 26, 2016 [Page 3] Internet-Draft 6tisch-examples February 2016 Information Element Length: 28 .000 1... .... .... = Information Element ID: MLME IE (0x0001) 1... .... .... .... = Payload IE. This bit must be set to 1: True Short MLME Information Element: TSCH Synchronization IE MLME Short Information Element Length: 6 .001 1010 .... .... = MLME Short Information Element ID: TSCH Synchronization IE (0x001a) 0... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE) : False Data: TSCH Synchronization IE Content(0x7bd6) Absolut Slot Number : 31702 Join Priority: 0x00 Short MLME Information Element: TSCH Timeslot IE MLME Short Information Element Length: 3 .001 1100 .... .... = MLME Short Information Element ID: TSCH Timeslot IE (0x001c) 0... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE): False Data (3 bytes) 0000 01 eb 01 ... Data: 01eb01 [Length: 3] Long MLME Information Element: Channel Hopping IE MLME Long Information Element Length: 1 .100 1... .... .... = MLME Long Information Element ID: Channel Hopping IE (0x0009) 1... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE) : True Data: Channel Hopping IE (0x0) Hopping Sequence ID: 0x00 Short MLME Information Element: TSCH Slotframe and Link IE MLME Short Information Element Length: 10 .001 1011 .... .... = MLME Short Information Element ID: TSCH Slotframe and Link IE (0x001b) 0... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE): False Data: Slotframe and Link IE Content(0x1000b0101) Number of Slotframes: 1 Slotframe handle: 1 Slotframe size: 11 Number of Links: 1 Data: Link Information (0xf00000000) Timeslot: 0 Channel Offset: 0 Link Options: 15 Munoz, et al. Expires August 26, 2016 [Page 4] Internet-Draft 6tisch-examples February 2016 FCS: 0xb8e3 (Correct) == Raw Bytes == 0000 00 ea 00 fe ca ff ff 01 00 00 00 cc 92 15 14 00 0010 3f 1c 88 06 1a d6 7b 00 00 00 00 03 1c 01 eb 01 0020 01 c8 00 0a 1b 01 01 0b 00 01 00 00 00 00 0f e3 0030 b8 Enhanced Beacon sent by 2 == Dissected packet == IEEE 802.15.4 Beacon, Dst: Broadcast, Src: 14:15:92:cc:00:00:00:02 Frame Control Field: 0xea00, Frame Type: Beacon .... .... .... .000 = Frame Type: Beacon (0x0000) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..0. .... = Acknowledge Request: False .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..1. .... .... = Information Elements present: True .... 10.. .... .... = Destination Addressing Mode: Short/16-bit (0x0002) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 2 Destination PAN: 0xcafe Destination: 0xffff Extended Source: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) Header Information Elements: Header Termination 1 IE (0x3f00) Information Element Length: 0 .011 1111 0... .... = Information Element ID: Header Termination 1 IE (0x007e) 0... .... .... .... = Header IE. This bit must be unset: False Payload Information Elements: MLME IE (0x881c) Information Element Length: 28 .000 1... .... .... = Information Element ID: MLME IE 1... .... .... .... = Payload IE. This bit must be set to 1: True Short MLME Information Element: TSCH Synchronization IE MLME Short Information Element Length: 6 .001 1010 .... .... = MLME Short Information Element ID: TSCH Synchronization IE (0x001a) 0... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE) : False Munoz, et al. Expires August 26, 2016 [Page 5] Internet-Draft 6tisch-examples February 2016 Data: TSCH Synchronization IE Content(0x400000052a1) Absolut Slot Number : 21153 Join Priority: 0x04 Short MLME Information Element: TSCH Timeslot IE MLME Short Information Element Length: 3 .001 1100 .... .... = MLME Short Information Element ID: TSCH Timeslot IE (0x001c) 0... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE): False Data (3 bytes) 0000 01 eb 01 Data: 01eb01 [Length: 3] Long MLME Information Element: Channel Hopping IE MLME Long Information Element Length: 1 .100 1... .... .... = MLME Long Information Element ID: Channel Hopping IE (0x0009) 1... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE): True Data: Channel Hopping IE (0x0) Hopping Sequence ID: 0x00 Short MLME Information Element: TSCH Slotframe and Link IE MLME Short Information Element Length: 10 .001 1011 .... .... = MLME Short Information Element ID: TSCH Slotframe and Link IE (0x001b) 0... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE): False Data: Slotframe and Link IE Content(0x1000b0101) Number of Slotframes: 1 Slotframe handle: 1 Slotframe size: 11 Number of Links: 1 Data: Link Information (0xf00000000) FCS: 0xd06d (Correct) == Raw Bytes == 0000 00 ea 02 fe ca ff ff 02 00 00 00 cc 92 15 14 00 0010 3f 1c 88 06 1a a1 52 00 00 00 04 03 1c 01 eb 01 0020 01 c8 00 0a 1b 01 01 0b 00 01 00 00 00 00 0f 6d 0030 d0 Enhanced Beacon sent by 3 == Dissected packet == Munoz, et al. Expires August 26, 2016 [Page 6] Internet-Draft 6tisch-examples February 2016 IEEE 802.15.4 Beacon, Dst: Broadcast, Src: 14:15:92:cc:00:00:00:03 Frame Control Field: 0xea00, Frame Type: Beacon .... .... .... .000 = Frame Type: Beacon (0x0000) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..0. .... = Acknowledge Request: False .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..1. .... .... = Information Elements present: True .... 10.. .... .... = Destination Addressing Mode: Short/16-bit (0x0002) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 2 Destination PAN: 0xcafe Destination: 0xffff Extended Source: 14:15:92:cc:00:00:00:03 (14:15:92:cc:00:00:00:03) Header Information Elements: Header Termination 1 IE (0x3f00) Information Element Length: 0 .011 1111 0... .... = Information Element ID: Header Termination 1 IE (0x007e) 0... .... .... .... = Header IE. This bit must be unset: False Payload Information Elements: MLME IE (0x881c) Information Element Length: 28 .000 1... .... .... = Information Element ID: MLME IE (0x0001) 1... .... .... .... = Payload IE. This bit must be set to 1: True Short MLME Information Element: TSCH Synchronization IE MLME Short Information Element Length: 6 .001 1010 .... .... = MLME Short Information Element ID: TSCH Synchronization IE (0x001a) 0... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE): False Data: TSCH Synchronization IE Content(0x2200000059a2) Absolut Slot Number : 22946 Join Priority: 0x22 Short MLME Information Element: TSCH Timeslot IE MLME Short Information Element Length: 3 .001 1100 .... .... = MLME Short Information Element ID: TSCH Timeslot IE (0x001c) 0... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE): False Data (3 bytes) 0000 01 eb 01 Munoz, et al. Expires August 26, 2016 [Page 7] Internet-Draft 6tisch-examples February 2016 Data: 01eb01 [Length: 3] Long MLME Information Element: Channel Hopping IE MLME Long Information Element Length: 1 .100 1... .... .... = MLME Long Information Element ID: Channel Hopping IE (0x0009) 1... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE) : True Data: Channel Hopping IE (0x0) Hopping Sequence ID: 0x00 Short MLME Information Element: TSCH Slotframe and Link IE MLME Short Information Element Length: 10 .001 1011 .... .... = MLME Short Information Element ID: TSCH Slotframe and Link IE (0x001b) 0... .... .... .... = MLME Information Element type (Short = FALSE - Long = TRUE): False Data: Slotframe and Link IE Content(0x1000b0101) Number of Slotframes: 1 Slotframe handle: 1 Slotframe size: 11 Number of Links: 1 Data: Link Information (0xf00000000) FCS: 0xc06d (Correct) 0000 01 01 0b 00 01 00 00 00 00 0f Data: 01010b0001000000000f [Length: 10] FCS: 0x47f0 (Correct) == Raw Bytes == 0000 00 ea 02 fe ca ff ff 03 00 00 00 cc 92 15 14 00 0010 3f 1c 88 06 1a a2 59 00 00 00 22 03 1c 01 eb 01 0020 01 c8 00 0a 1b 01 01 0b 00 01 00 00 00 00 0f 6d 0030 c0 3.3. RPL DIO RPL DIO sent by 1 == Dissected packet == IEEE 802.15.4 Data, Dst: Broadcast, Src: 14:15:92:cc:00:00:00:01 Frame Control Field: 0xe801, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False Munoz, et al. Expires August 26, 2016 [Page 8] Internet-Draft 6tisch-examples February 2016 .... .... ..0. .... = Acknowledge Request: False .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 10.. .... .... = Destination Addressing Mode: Short/16-bit (0x0002) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 2 Destination PAN: 0xcafe Destination: 0xffff Extended Source: 14:15:92:cc:00:00:00:01 (14:15:92:cc:00:00:00:01) FCS: 0x0594 (Correct) 6LoWPAN IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x0003) .... .0.. .... .... = Next header: Inline .... ..10 .... .... = Hop limit: 64 (0x0002) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..11 .... = Source address mode: Compressed (0x03) .... .... .... 1... = Multicast address compression: True .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..11 = Dest address mode: 8-bits inline (0x03) [Source context: fe80::] [Destination context: fe80::] Next header: ICMPv6 (0x3a) Source: fe80::1615:92cc:0:1 Destination: ff02::1a Internet Protocol Version 6, Src: fe80::1615:92cc:0:1, Dst: ff02::1a 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN:Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 28 Next header: ICMPv6 (58) Hop limit: 64 Source: fe80::1615:92cc:0:1 Destination: ff02::1a Internet Control Message Protocol v6 Munoz, et al. Expires August 26, 2016 [Page 9] Internet-Draft 6tisch-examples February 2016 Type: RPL Control (155) Code: 1 (DODAG Information Object) Checksum: 0x171b [incorrect, should be 0xd255] RPLInstanceID: 0 Version: 0 Rank: 256 Flags: 0x88 1... .... = Grounded (G): True .0.. .... = Zero: False ..00 1... = Mode of Operation (MOP): Non-Storing M-of-Op(0x01) .... .000 = DODAG Preference: 0 Destination Advertisement Trigger Sequence Number (DTSN): 51 Flags: 0x00 Reserved: 00 DODAGID: bbbb::1415:92cc:0:1 == Raw Bytes == 0000 01 e8 02 fe ca ff ff 01 00 00 00 cc 92 15 14 7a 0010 3b 3a 1a 9b 01 17 1b 00 00 01 00 88 33 00 00 bb 0020 bb 00 00 00 00 00 00 14 15 92 cc 00 00 00 01 94 0030 05 RPL DIO sent by 2 == Dissected packet == IEEE 802.15.4 Data, Dst: Broadcast, Src: 14:15:92:cc:00:00:00:02 Frame Control Field: 0xe801, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..0. .... = Acknowledge Request: False .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 10.. .... .... = Destination Addressing Mode: Short/16-bit (0x0002) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 1 Destination PAN: 0xcafe Destination: 0xffff Extended Source: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) FCS: 0xd1c9 (Correct) 6LoWPAN IPHC Header Munoz, et al. Expires August 26, 2016 [Page 10] Internet-Draft 6tisch-examples February 2016 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x0003) .... .0.. .... .... = Next header: Inline .... ..10 .... .... = Hop limit: 64 (0x0002) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..11 .... = Source address mode: Compressed (0x03) .... .... .... 1... = Multicast address compression: True .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..11 = Dest address mode: 8-bits inline (0x0003) [Source context: fe80::] [Destination context: fe80::] Next header: ICMPv6 (0x3a) Source: fe80::1615:92cc:0:2 Destination: ff02::1a Internet Protocol Version 6, Src: fe80::1615:92cc:0:2, Dst: ff02::1a 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 28 Next header: ICMPv6 (58) Hop limit: 64 Source: fe80::1615:92cc:0:2 Destination: ff02::1a Internet Control Message Protocol v6 Type: RPL Control (155) Code: 1 (DODAG Information Object) Checksum: 0x131a [incorrect, should be 0xce54] RPLInstanceID: 0 Version: 0 Rank: 1280 Flags: 0x88 1... .... = Grounded (G): True .0.. .... = Zero: False ..00 1... = Mode of Operation (MOP): Non-Storing M-of-Op(0x01) .... .000 = DODAG Preference: 0 Destination Advertisement Trigger Sequence Number (DTSN): 51 Flags: 0x00 Reserved: 00 DODAGID: bbbb::1415:92cc:0:1 Munoz, et al. Expires August 26, 2016 [Page 11] Internet-Draft 6tisch-examples February 2016 == Raw Bytes == 0000 01 e8 01 fe ca ff ff 02 00 00 00 cc 92 15 14 7a 0010 3b 3a 1a 9b 01 13 1a 00 00 05 00 88 33 00 00 bb 0020 bb 00 00 00 00 00 00 14 15 92 cc 00 00 00 01 c9 0030 d1 RPL DIO sent by 3 == Dissected packet == IEEE 802.15.4 Data, Dst: Broadcast, Src: 14:15:92:cc:00:00:00:03 Frame Control Field: 0xe801, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..0. .... = Acknowledge Request: False .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 10.. .... .... = Destination Addressing Mode: Short/16-bit (0x0002) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 0 Destination PAN: 0xcafe Destination: 0xffff Extended Source: 14:15:92:cc:00:00:00:03 (14:15:92:cc:00:00:00:03) FCS: 0x114a (Correct) 6LoWPAN IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x0003) .... .0.. .... .... = Next header: Inline .... ..10 .... .... = Hop limit: 64 (0x0002) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..11 .... = Source address mode: Compressed (0x03) .... .... .... 1... = Multicast address compression: True .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..11 = Dest address mode: 8-bits inline (0x03) [Source context: fe80::] [Destination context: fe80::] Next header: ICMPv6 (0x3a) Source: fe80::1615:92cc:0:3 Munoz, et al. Expires August 26, 2016 [Page 12] Internet-Draft 6tisch-examples February 2016 Destination: ff02::1a Internet Protocol Version 6, Src: fe80::1615:92cc:0:3, Dst: ff02::1a 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 28 Next header: ICMPv6 (58) Hop limit: 64 Source: fe80::1615:92cc:0:3 Destination: ff02::1a Internet Control Message Protocol v6 Type: RPL Control (155) Code: 1 (DODAG Information Object) Checksum: 0xf518 [incorrect, should be 0xb053] RPLInstanceID: 0 Version: 0 Rank: 8960 Flags: 0x88 1... .... = Grounded (G): True .0.. .... = Zero: False ..00 1... = Mode of Operation (MOP): Non-Storing M-of-Op(0x01) .... .000 = DODAG Preference: 0 Destination Advertisement Trigger Sequence Number (DTSN): 51 Flags: 0x00 Reserved: 00 DODAGID: bbbb::1415:92cc:0:1 == Raw Bytes == 0000 01 e8 00 fe ca ff ff 03 00 00 00 cc 92 15 14 7a 0010 3b 3a 1a 9b 01 f5 18 00 00 23 00 88 33 00 00 bb 0020 bb 00 00 00 00 00 00 14 15 92 cc 00 00 00 01 4a 0030 11 3.4. RPL DAO 3.4.1. RPL DAO from 2 [RPL DAO from 2] 2->1 == Dissected packet == IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:01, Munoz, et al. Expires August 26, 2016 [Page 13] Internet-Draft 6tisch-examples February 2016 Src: 14:15:92:cc:00:00:00:02 Frame Control Field: 0xec21, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x0003) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 1 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:01 (14:15:92:cc:00:00:00:01) Extended Source: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) FCS: 0x503c (Correct) 6LoWPAN .... 0001 = Page Number: 1 6LoRH: Routing Protocol Information 100. .... = Routing Header 6lo: Critical Routing Header (0x04) ...0 .... .... .... = Packet direction: UP false, DOWN true: False .... 0... .... .... = Error detected: False .... .0.. .... .... = No link to destination: False .... ..1. .... .... = Context identifier extension: True .... ...1 .... .... = Context identifier extension: True .... .... 0000 0101 = 6loRH Type: Routing Protocol Information RPL Instance: 0x00 Sender Rank: 0x1f IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x0003) .... .0.. .... .... = Next header: Inline .... ..10 .... .... = Hop limit: 64 (0x0002) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..01 .... = Source address mode: 64-bits inline(0x01) .... .... .... 0... = Multicast address compression: False .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..01 = Dest address mode: 64-bits inline(0x01) [Source context: fe80::] [Destination context: fe80::] Next header: ICMPv6 (0x3a) Munoz, et al. Expires August 26, 2016 [Page 14] Internet-Draft 6tisch-examples February 2016 Source: fe80::1415:92cc:0:2 Destination: fe80::1415:92cc:0:1 Internet Protocol Version 6, Src: fe80::1415:92cc:0:2, Dst: fe80::1415:92cc:0:1 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 46 Next header: ICMPv6 (58) Hop limit: 64 Source: fe80::1415:92cc:0:2 Destination: fe80::1415:92cc:0:1 Internet Control Message Protocol v6 Type: RPL Control (155) Code: 2 (Destination Advertisement Object) Checksum: 0xd31c [incorrect, should be 0x4d92] RPLInstanceID: 0 Flags: 0x40 0... .... = DAO-ACK Request (K): False .1.. .... = DODAGID Present (D): True ..00 0000 = Reserved: 0 Reserved: 00 DAO Sequence: 0 DODAGID: bbbb::1415:92cc:0:1 ICMPv6 RPL Option (Transit Information bbbb::1415:92cc:0:1) Type: Transit Information (6) Length: 20 Flags: 0x00 0... .... = External: Not set .000 0000 = Reserved: 0 Path Control: 0 Path Sequence: 0 Path Lifetime: 170 Parent Address: bbbb::1415:92cc:0:1 == Raw Bytes == 0000 21 ec 01 fe ca 01 00 00 00 cc 92 15 14 02 00 00 0010 00 cc 92 15 14 f1 83 05 1f 7a 11 3a 14 15 92 cc 0020 00 00 00 02 14 15 92 cc 00 00 00 01 9b 02 d3 1c 0030 00 40 00 00 bb bb 00 00 00 00 00 00 14 15 92 cc 0040 00 00 00 01 06 14 00 00 00 aa bb bb 00 00 00 00 0050 00 00 14 15 92 cc 00 00 00 01 3c 50 Munoz, et al. Expires August 26, 2016 [Page 15] Internet-Draft 6tisch-examples February 2016 3.4.2. RPL DAO from 3 [RPL DAO from 3] 3->2 == Dissected packet == IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:02, Src: 14:15:92:cc:00:00:00:03 Frame Control Field: 0xec21, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x0003) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 5 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) Extended Source: 14:15:92:cc:00:00:00:03 (14:15:92:cc:00:00:00:03) FCS: 0x1640 (Correct) 6LoWPAN .... 0001 = Page Number: 1 6LoRH: Routing Protocol Information 100. .... = Routing Header 6lo: Critical Routing Header (0x04) ...0 .... .... .... = Packet direction: UP false, DOWN true: False .... 0... .... .... = Error detected: False .... .0.. .... .... = No link to destination: False .... ..1. .... .... = Context identifier extension: True .... ...1 .... .... = Context identifier extension: True .... .... 0000 0101 = 6loRH Type: Routing Protocol Information RPL Instance: 0x00 Sender Rank: 0x21 IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x0003) .... .0.. .... .... = Next header: Inline .... ..10 .... .... = Hop limit: 64 (0x0002) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless Munoz, et al. Expires August 26, 2016 [Page 16] Internet-Draft 6tisch-examples February 2016 .... .... ..01 .... = Source address mode: 64-bits inline(0x01) .... .... .... 0... = Multicast address compression: False .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..01 = Dest address mode: 64-bits inline (0x01) [Source context: fe80::] [Destination context: fe80::] Next header: ICMPv6 (0x3a) Source: fe80::1415:92cc:0:3 Destination: fe80::1415:92cc:0:1 Internet Protocol Version 6, Src: fe80::1415:92cc:0:3, Dst: fe80::1415:92cc:0:1 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 46 Next header: ICMPv6 (58) Hop limit: 64 Source: fe80::1415:92cc:0:3 Destination: fe80::1415:92cc:0:1 Internet Control Message Protocol v6 Type: RPL Control (155) Code: 2 (Destination Advertisement Object) Checksum: 0xd31a [incorrect, should be 0x4d90] RPLInstanceID: 0 Flags: 0x40 0... .... = DAO-ACK Request (K): False .1.. .... = DODAGID Present (D): True ..00 0000 = Reserved: 0 Reserved: 00 DAO Sequence: 0 DODAGID: bbbb::1415:92cc:0:1 ICMPv6 RPL Option (Transit Information bbbb::1415:92cc:0:2) Type: Transit Information (6) Length: 20 Flags: 0x00 0... .... = External: Not set .000 0000 = Reserved: 0 Path Control: 0 Path Sequence: 0 Path Lifetime: 170 Parent Address: bbbb::1415:92cc:0:2 == Raw Bytes == Munoz, et al. Expires August 26, 2016 [Page 17] Internet-Draft 6tisch-examples February 2016 0000 21 ec 05 fe ca 02 00 00 00 cc 92 15 14 03 00 00 0010 00 cc 92 15 14 f1 83 05 21 7a 11 3a 14 15 92 cc 0020 00 00 00 03 14 15 92 cc 00 00 00 01 9b 02 d3 1a 0030 00 40 00 00 bb bb 00 00 00 00 00 00 14 15 92 cc 0040 00 00 00 01 06 14 00 00 00 aa bb bb 00 00 00 00 0050 00 00 14 15 92 cc 00 00 00 02 40 16 [RPL DAO from 3] 2->1 == Dissected packet == IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:01, Src: 14:15:92:cc:00:00:00:02 Frame Control Field: 0xec21, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x0003) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 11 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:01 (14:15:92:cc:00:00:00:01) Extended Source: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) FCS: 0x2135 (Correct) 6LoWPAN .... 0001 = Page Number: 1 6LoRH: Routing Protocol Information 100. .... = Routing Header 6lo: Critical Routing Header (0x04) ...0 .... .... .... = Packet direction: UP false, DOWN true: False .... 0... .... .... = Error detected: False .... .0.. .... .... = No link to destination: False .... ..1. .... .... = Context identifier extension: True .... ...1 .... .... = Context identifier extension: True .... .... 0000 0101 = 6loRH Type: Routing Protocol Information RPL Instance: 0x00 Sender Rank: 0x03 IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label Munoz, et al. Expires August 26, 2016 [Page 18] Internet-Draft 6tisch-examples February 2016 compressed (0x0003) .... .0.. .... .... = Next header: Inline .... ..10 .... .... = Hop limit: 64 (0x0002) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..01 .... = Source address mode: 64-bits inline (0x01) .... .... .... 0... = Multicast address compression: False .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..01 = Dest address mode: 64-bits inline (0x01) [Source context: fe80::] [Destination context: fe80::] Next header: ICMPv6 (0x3a) Source: fe80::1415:92cc:0:3 Destination: fe80::1415:92cc:0:1 Internet Protocol Version 6, Src: fe80::1415:92cc:0:3, Dst: fe80::1415:92cc:0:1 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 46 Next header: ICMPv6 (58) Hop limit: 64 Source: fe80::1415:92cc:0:3 Destination: fe80::1415:92cc:0:1 Internet Control Message Protocol v6 Type: RPL Control (155) Code: 2 (Destination Advertisement Object) Checksum: 0xd31a [incorrect, should be 0x4d90] RPLInstanceID: 0 Flags: 0x40 0... .... = DAO-ACK Request (K): False .1.. .... = DODAGID Present (D): True ..00 0000 = Reserved: 0 Reserved: 00 DAO Sequence: 0 DODAGID: bbbb::1415:92cc:0:1 ICMPv6 RPL Option (Transit Information bbbb::1415:92cc:0:2) Type: Transit Information (6) Length: 20 Flags: 0x00 0... .... = External: Not set .000 0000 = Reserved: 0 Path Control: 0 Munoz, et al. Expires August 26, 2016 [Page 19] Internet-Draft 6tisch-examples February 2016 Path Sequence: 0 Path Lifetime: 170 Parent Address: bbbb::1415:92cc:0:2 == Raw Bytes == 0000 21 ec 0b fe ca 01 00 00 00 cc 92 15 14 02 00 00 0010 00 cc 92 15 14 f1 83 05 03 7a 11 3a 14 15 92 cc 0020 00 00 00 03 14 15 92 cc 00 00 00 01 9b 02 d3 1a 0030 00 40 00 00 bb bb 00 00 00 00 00 00 14 15 92 cc 0040 00 00 00 01 06 14 00 00 00 aa bb bb 00 00 00 00 0050 00 00 14 15 92 cc 00 00 00 02 35 21 3.5. ACK Munoz, et al. Expires August 26, 2016 [Page 20] Internet-Draft 6tisch-examples February 2016 ACK == Dissected packet == IEEE 802.15.4 Ack, Sequence Number: 5, Dst: 14:15:92:cc:00:00:00:03, Src: 14:15:92:cc:00:00:00:02 Frame Control Field: 0xee02, Frame Type: Ack .... .... .... .010 = Frame Type: Ack (0x0002) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..0. .... = Acknowledge Request: False .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..1. .... .... = Information Elements present: True .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x0003) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 5 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:03 (14:15:92:cc:00:00:00:03) Extended Source: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) Header Information Elements: Time Correction IE (0x0f02) Information Element Length: 2 .000 1111 0... .... = Information Element ID: Time Correction IE (0x001e) 0... .... .... .... = Header IE. This bit must be unset: False Data: Time Correction IE Content(0x0000) Ack - positive time correction: 0 FCS: 0x7472 (Correct) == Raw Bytes == 0000 02 ee 05 fe ca 03 00 00 00 cc 92 15 14 02 00 00 0010 00 cc 92 15 14 02 0f 00 00 72 74 3.6. ICMPv6 echo request/reply 3.6.1. ping 2 [ping 2] ICMPv6 echo request 1->2 == Dissected packet == IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:02, Src: 14:15:92:cc:00:00:00:01 Frame Control Field: 0xec21, Frame Type: Data Munoz, et al. Expires August 26, 2016 [Page 21] Internet-Draft 6tisch-examples February 2016 .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x0003) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Sequence Number: 42 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) Extended Source: 14:15:92:cc:00:00:00:01 (14:15:92:cc:00:00:00:01) FCS: 0xd916 (Correct) 6LoWPAN .... 0001 = Page Number: 1 IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x0003) .... .0.. .... .... = Next header: Inline .... ..00 .... .... = Hop limit: Inline (0x0000) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..00 .... = Source address mode: Inline (0x0000) .... .... .... 0... = Multicast address compression: False .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..00 = Dest address mode: Inline (0x0000) Next header: ICMPv6 (0x3a) Hop limit: 64 Source: bbbb::1 Destination: bbbb::1415:92cc:0:2 Internet Protocol Version 6, Src: bbbb::1, Dst: bbbb::1415:92cc:0:2 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 64 Next header: ICMPv6 (58) Hop limit: 64 Munoz, et al. Expires August 26, 2016 [Page 22] Internet-Draft 6tisch-examples February 2016 Source: bbbb::1 Destination: bbbb::1415:92cc:0:2 Internet Control Message Protocol v6 Type: Echo (ping) request (128) Code: 0 Checksum: 0xf7be [correct] Identifier: 0x47c5 Sequence: 1 [No response seen] Data (56 bytes) 0000 d0 27 b2 56 00 00 00 00 d5 52 0b 00 00 00 00 00 0010 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 0020 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 0030 30 31 32 33 34 35 36 37 Data: d027b25600000000d5520b00000000001011121314151617... [Length: 56] == Raw Bytes == 0000 21 ec 2a fe ca 02 00 00 00 cc 92 15 14 01 00 00 0010 00 cc 92 15 14 f1 78 00 3a 40 bb bb 00 00 00 00 0020 00 00 00 00 00 00 00 00 00 01 bb bb 00 00 00 00 0030 00 00 14 15 92 cc 00 00 00 02 80 00 f7 be 47 c5 0040 00 01 d0 27 b2 56 00 00 00 00 d5 52 0b 00 00 00 0050 00 00 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 0060 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 0070 2e 2f 30 31 32 33 34 35 36 37 16 d9 [ping 2] ICMPv6 echo reply 2->1 == Dissected packet == IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:01, Src: 14:15:92:cc:00:00:00:02 Frame Control Field: 0xec21, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x0003) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x0003) Munoz, et al. Expires August 26, 2016 [Page 23] Internet-Draft 6tisch-examples February 2016 Sequence Number: 48 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:01 (14:15:92:cc:00:00:00:01) Extended Source: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) FCS: 0xe105 (Correct) 6LoWPAN .... 0001 = Page Number: 1 6LoRH: Routing Protocol Information 100. .... = Routing Header 6lo: Critical Routing Header (0x04) ...0 .... .... .... = Packet direction: UP false, DOWN true: False .... 0... .... .... = Error detected: False .... .0.. .... .... = No link to destination: False .... ..1. .... .... = Context identifier extension: True .... ...0 .... .... = Context identifier extension: False .... .... 0000 0101 = 6loRH Type: Routing Protocol Information RPL Instance: 0x00 Sender Rank: 0x0338 IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x0003) .... .0.. .... .... = Next header: Inline .... ..10 .... .... = Hop limit: 64 (0x0002) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..01 .... = Source address mode: 64-bits inline (0x01) .... .... .... 0... = Multicast address compression: False .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..01 = Dest address mode: 64-bits inline (0x01) [Source context: fe80::] [Destination context: fe80::] Next header: ICMPv6 (0x3a) Source: fe80::1415:92cc:0:2 Destination: fe80::1 Internet Protocol Version 6, Src: fe80::1415:92cc:0:2, Dst: fe80::1 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 64 Next header: ICMPv6 (58) Hop limit: 64 Munoz, et al. Expires August 26, 2016 [Page 24] Internet-Draft 6tisch-examples February 2016 Source: fe80::1415:92cc:0:2 Destination: fe80::1 Internet Control Message Protocol v6 Type: Echo (ping) reply (129) Code: 0 Checksum: 0xf6be [incorrect, should be 0x7134] Identifier: 0x47c5 Sequence: 1 Data (56 bytes) 0000 d0 27 b2 56 00 00 00 00 d5 52 0b 00 00 00 00 00 0010 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 0020 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 0030 30 31 32 33 34 35 36 37 Data: d027b25600000000d5520b00000000001011121314151617... [Length: 56] == Raw Bytes == 0000 21 ec 30 fe ca 01 00 00 00 cc 92 15 14 02 00 00 0010 00 cc 92 15 14 f1 82 05 03 38 7a 11 3a 14 15 92 0020 cc 00 00 00 02 00 00 00 00 00 00 00 01 81 00 f6 0030 be 47 c5 00 01 d0 27 b2 56 00 00 00 00 d5 52 0b 0040 00 00 00 00 00 10 11 12 13 14 15 16 17 18 19 1a 0050 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 0060 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 05 e1 3.6.2. ping 3 [ping 3] ICMPv6 echo request 1->2 == Dissected packet == IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:02, Src: 14:15:92:cc:00:00:00:01 Frame Control Field: 0xec21, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x03) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x03) Munoz, et al. Expires August 26, 2016 [Page 25] Internet-Draft 6tisch-examples February 2016 Sequence Number: 34 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) Extended Source: 14:15:92:cc:00:00:00:01 (14:15:92:cc:00:00:00:01) FCS: 0x0366 (Correct) 6LoWPAN .... 0001 = Page Number: 1 6LoRH: Routing Header 3, 8 byte compression 100. .... = Routing Header 6lo: Critical Routing Header (0x04) ...0 0000 .... .... = 6loRH Hop Number - 1: 0x0000 .... .... 0000 0011 = 6loRH Type: Routing Header 3, 8 byte compression (0x0003) Source/8, Delta: ::1415:92cc:0:2 IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x0003) .... .0.. .... .... = Next header: Inline .... ..00 .... .... = Hop limit: Inline (0x0000) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..00 .... = Source address mode: Inline (0x0000) .... .... .... 0... = Multicast address compression: False .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..00 = Dest address mode: Inline (0x00) Next header: ICMPv6 (0x3a) Hop limit: 64 Source: bbbb::1 Destination: bbbb::1415:92cc:0:3 Internet Protocol Version 6, Src: bbbb::1, Dst: bbbb::1415:92cc:0:3 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 18 Next header: ICMPv6 (58) Hop limit: 64 Source: bbbb::1 Destination: bbbb::1415:92cc:0:3 Internet Control Message Protocol v6 Type: Echo (ping) request (128) Code: 0 Checksum: 0x13f9 [correct] Munoz, et al. Expires August 26, 2016 [Page 26] Internet-Draft 6tisch-examples February 2016 Identifier: 0x3943 Sequence: 1 Data (10 bytes) 0000 00 01 02 03 04 05 06 07 08 09 Data: 00010203040506070809 [Length: 10] == Raw Bytes == 0000 21 ec 22 fe ca 02 00 00 00 cc 92 15 14 01 00 00 0010 00 cc 92 15 14 f1 80 03 14 15 92 cc 00 00 00 02 0020 78 00 3a 40 bb bb 00 00 00 00 00 00 00 00 00 00 0030 00 00 00 01 bb bb 00 00 00 00 00 00 14 15 92 cc 0040 00 00 00 03 80 00 13 f9 39 43 00 01 00 01 02 03 0050 04 05 06 07 08 09 66 03 [ping 3] ICMPv6 echo request 2->3 == Dissected packet == IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:03, Src: 14:15:92:cc:00:00:00:02 Frame Control Field: 0xec21, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x03) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x03) Sequence Number: 35 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:03 (14:15:92:cc:00:00:00:03) Extended Source: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) FCS: 0x793f (Correct) 6LoWPAN IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x0003) Munoz, et al. Expires August 26, 2016 [Page 27] Internet-Draft 6tisch-examples February 2016 .... .0.. .... .... = Next header: Inline .... ..00 .... .... = Hop limit: Inline (0x0000) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..00 .... = Source address mode: Inline (0x0000) .... .... .... 0... = Multicast address compression: False .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..00 = Dest address mode: Inline (0x0000) Next header: ICMPv6 (0x3a) Hop limit: 64 Source: bbbb::1 Destination: bbbb::1415:92cc:0:3 Internet Protocol Version 6, Src: bbbb::1, Dst: bbbb::1415:92cc:0:3 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 18 Next header: ICMPv6 (58) Hop limit: 64 Source: bbbb::1 Destination: bbbb::1415:92cc:0:3 Internet Control Message Protocol v6 Type: Echo (ping) request (128) Code: 0 Checksum: 0x13f9 [correct] Identifier: 0x3943 Sequence: 1 Data (10 bytes) 0000 00 01 02 03 04 05 06 07 08 09 Data: 00010203040506070809 [Length: 10] == Raw Bytes == 0000 21 ec 23 fe ca 03 00 00 00 cc 92 15 14 02 00 00 0010 00 cc 92 15 14 78 00 3a 40 bb bb 00 00 00 00 00 0020 00 00 00 00 00 00 00 00 01 bb bb 00 00 00 00 00 0030 00 14 15 92 cc 00 00 00 03 80 00 13 f9 39 43 00 0040 01 00 01 02 03 04 05 06 07 08 09 3f 79 [ping 3] ICMPv6 echo reply 3->2 Munoz, et al. Expires August 26, 2016 [Page 28] Internet-Draft 6tisch-examples February 2016 == Dissected packet == IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:02, Src: 14:15:92:cc:00:00:00:03 Frame Control Field: 0xec21, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x03) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x03) Sequence Number: 23 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) Extended Source: 14:15:92:cc:00:00:00:03 (14:15:92:cc:00:00:00:03) FCS: 0x84f7 (Correct) 6LoWPAN .... 0001 = Page Number: 1 6LoRH: Routing Protocol Information 100. .... = Routing Header 6lo: Critical Routing Header (0x04) ...0 .... .... .... = Packet direction: UP false, DOWN true: False .... 0... .... .... = Error detected: False .... .0.. .... .... = No link to destination: False .... ..1. .... .... = Context identifier extension: True .... ...1 .... .... = Context identifier extension: True .... .... 0000 0101 = 6loRH Type: Routing Protocol Information RPL Instance: 0x00 Sender Rank: 0x07 IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x03) .... .0.. .... .... = Next header: Inline .... ..10 .... .... = Hop limit: 64 (0x0002) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..01 .... = Source address mode: 64-bits inline (0x01) .... .... .... 0... = Multicast address compression: False .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..01 = Dest address mode: 64-bits inline (0x01) Munoz, et al. Expires August 26, 2016 [Page 29] Internet-Draft 6tisch-examples February 2016 [Source context: fe80::] [Destination context: fe80::] Next header: ICMPv6 (0x3a) Source: fe80::1415:92cc:0:3 Destination: fe80::1 Internet Protocol Version 6, Src: fe80::1415:92cc:0:3, Dst: fe80::1 0110 .... = Version: 6 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 18 Next header: ICMPv6 (58) Hop limit: 64 Source: fe80::1415:92cc:0:3 Destination: fe80::1 Internet Control Message Protocol v6 Type: Echo (ping) reply (129) Code: 0 Checksum: 0x12f9 [incorrect, should be 0x8d6e] [Expert Info (Warn/Checksum): ICMPv6 Checksum Incorrect Identifier: 0x3943 Sequence: 1 Data (10 bytes) 0000 00 01 02 03 04 05 06 07 08 09 Data: 00010203040506070809 [Length: 10] == Raw Bytes == 0000 21 ec 17 fe ca 02 00 00 00 cc 92 15 14 03 00 00 0010 00 cc 92 15 14 f1 83 05 07 7a 11 3a 14 15 92 cc 0020 00 00 00 03 00 00 00 00 00 00 00 01 81 00 12 f9 0030 39 43 00 01 00 01 02 03 04 05 06 07 08 09 f7 84 [ping 3] ICMPv6 echo reply 2->1 == Dissected packet == IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:01, Src: 14:15:92:cc:00:00:00:02 Frame Control Field: 0xec21, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False Munoz, et al. Expires August 26, 2016 [Page 30] Internet-Draft 6tisch-examples February 2016 .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..0. .... .... = Information Elements present: False .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x03) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x03) Sequence Number: 36 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:01 (14:15:92:cc:00:00:00:01) Extended Source: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) FCS: 0x7dbc (Correct) 6LoWPAN .... 0001 = Page Number: 1 6LoRH: Routing Protocol Information 100. .... = Routing Header 6lo: Critical Routing Header (0x04) ...0 .... .... .... = Packet direction: UP false, DOWN true: False .... 0... .... .... = Error detected: False .... .0.. .... .... = No link to destination: False .... ..1. .... .... = Context identifier extension: True .... ...1 .... .... = Context identifier extension: True .... .... 0000 0101 = 6loRH Type: Routing Protocol Information RPL Instance: 0x00 Sender Rank: 0x03 IPHC Header 011. .... = Pattern: IP header compression (0x03) ...1 1... .... .... = Traffic class and flow label: Version, traffic class, and flow label compressed (0x0003) .... .0.. .... .... = Next header: Inline .... ..10 .... .... = Hop limit: 64 (0x0002) .... .... 0... .... = Context identifier extension: False .... .... .0.. .... = Source address compression: Stateless .... .... ..01 .... = Source address mode: 64-bits inline (0x01) .... .... .... 0... = Multicast address compression: False .... .... .... .0.. = Dest address compression: Stateless .... .... .... ..01 = Dest address mode: 64-bits inline (0x01) [Source context: fe80::] [Destination context: fe80::] Next header: ICMPv6 (0x3a) Source: fe80::1415:92cc:0:3 Destination: fe80::1 Internet Protocol Version 6, Src: fe80::1415:92cc:0:3, Dst: fe80::1 0110 .... = Version: 6 Munoz, et al. Expires August 26, 2016 [Page 31] Internet-Draft 6tisch-examples February 2016 .... 0000 0000 .... .... .... .... .... = Traffic class: 0x00 (DSCP: CS0, ECN: Not-ECT) .... 0000 00.. .... .... .... .... .... = Differentiated Services Codepoint: Default (0) .... .... ..00 .... .... .... .... .... = Explicit Congestion Notification: Not ECN-Capable Transport (0) .... .... .... 0000 0000 0000 0000 0000 = Flowlabel: 0x00000000 Payload length: 18 Next header: ICMPv6 (58) Hop limit: 64 Source: fe80::1415:92cc:0:3 Destination: fe80::1 Internet Control Message Protocol v6 Type: Echo (ping) reply (129) Code: 0 Checksum: 0x12f9 [incorrect, should be 0x8d6e] [Expert Info (Warn/Checksum): ICMPv6 Checksum Incorrect] Identifier: 0x3943 Sequence: 1 Data (10 bytes) 0000 00 01 02 03 04 05 06 07 08 09 Data: 00010203040506070809 [Length: 10] == Raw Bytes == 0000 21 ec 24 fe ca 01 00 00 00 cc 92 15 14 02 00 00 0010 00 cc 92 15 14 f1 83 05 03 7a 11 3a 14 15 92 cc 0020 00 00 00 03 00 00 00 00 00 00 00 01 81 00 12 f9 0030 39 43 00 01 00 01 02 03 04 05 06 07 08 09 bc 7d 3.7. 6Top Commands and Reponses 6Top Command 2->1 IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:01, Src: 14:15:92:cc:00:00:00:02 Frame Control Field: 0xee21, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..1. .... .... = Information Elements present: True .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x03) Munoz, et al. Expires August 26, 2016 [Page 32] Internet-Draft 6tisch-examples February 2016 ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x03) Sequence Number: 26 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:01 (14:15:92:cc:00:00:00:01) Extended Source: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) Header Information Elements: Header Termination 1 IE (0x3f00) Information Element Length: 0 .011 1111 0... .... = Information Element ID: Header Termination 1 IE (0x007e) 0... .... .... .... = Header IE. This bit must be unset: False Payload Information Elements: 6top Group ID (0x9011) Information Element Length: 17 .001 0... .... .... = Information Element ID: 6top Group ID (0x02) 1... .... .... .... = Payload IE. This bit must be set to 1: True 6TOP Message: Add Command 6P Sub IE ID: 0x00 6P Version: 0x01 6P Code: 0x01 6P SF ID: 0x00 Number of desired cells: 0x01 Container: 0x01 Slot Offset: 0x0008 Channel Offset: 0x0000 Slot Offset: 0x0005 Channel Offset: 0x0000 Slot Offset: 0x0007 Channel Offset: 0x0000 FCS: 0x5aa5 (Correct) == Raw Bytes == 0000 21 ee 1a fe ca 01 00 00 00 cc 92 15 14 02 00 00 0010 00 cc 92 15 14 00 3f 11 90 00 11 00 01 01 08 00 0020 00 00 05 00 00 00 07 00 00 00 a5 5a Munoz, et al. Expires August 26, 2016 [Page 33] Internet-Draft 6tisch-examples February 2016 6Top Response 1->2 IEEE 802.15.4 Data, Dst: 14:15:92:cc:00:00:00:02, Src: 14:15:92:cc:00:00:00:01 Frame Control Field: 0xee21, Frame Type: Data .... .... .... .001 = Frame Type: Data (0x0001) .... .... .... 0... = Security Enabled: False .... .... ...0 .... = Frame Pending: False .... .... ..1. .... = Acknowledge Request: True .... .... .0.. .... = Intra-PAN: False .... ...0 .... .... = Sequence Number Suppression: False .... ..1. .... .... = Information Elements present: True .... 11.. .... .... = Destination Addressing Mode: Long/64-bit (0x03) ..10 .... .... .... = Frame Version: 2 11.. .... .... .... = Source Addressing Mode: Long/64-bit (0x03) Sequence Number: 23 Destination PAN: 0xcafe Destination: 14:15:92:cc:00:00:00:02 (14:15:92:cc:00:00:00:02) Extended Source: 14:15:92:cc:00:00:00:01 (14:15:92:cc:00:00:00:01) Header Information Elements: Header Termination 1 IE (0x3f00) Information Element Length: 0 .011 1111 0... .... = Information Element ID: Header Termination 1 IE (0x007e) 0... .... .... .... = Header IE. This bit must be unset: False Payload Information Elements: 6top Group ID (0x9007) Information Element Length: 7 .001 0... .... .... = Information Element ID: 6top Group ID (0x02) 1... .... .... .... = Payload IE. This bit must be set to 1: True 6TOP Message: Success Response 6P Sub IE ID: 0x00 6P Version: 0x01 6P Code: 0x06 6P SF ID: 0x00 Slot Offset: 0x0008 Channel Offset: 0x0000 FCS: 0x8ddb (Correct) == Raw Bytes == 0000 21 ee 17 fe ca 02 00 00 00 cc 92 15 14 01 00 00 0010 00 cc 92 15 14 00 3f 07 90 00 61 00 08 00 00 00 0020 db 8d Munoz, et al. Expires August 26, 2016 [Page 34] Internet-Draft 6tisch-examples February 2016 4. IANA Considerations This memo includes no request to IANA. 5. Security Considerations This memo only presents example packets exchanged. It does not define any protocol; there are hence no security considerations in this document. 6. Acknowledgments The authors would like to thank the OpenWSN community, the 6TiSCH working group and the participants at the 6TiSCH plugtests for there feedback which has helped shape this document. 7. References 7.1. Normative References [I-D.ietf-6tisch-minimal] Vilajosana, X. and K. Pister, "Minimal 6TiSCH Configuration", draft-ietf-6tisch-minimal-14 (work in progress), January 2016. [I-D.wang-6tisch-6top-sublayer] Wang, Q. and X. Vilajosana, "6TiSCH Operation Sublayer (6top)", draft-wang-6tisch-6top-sublayer-04 (work in progress), November 2015. [I-D.ietf-6lo-paging-dispatch] Thubert, P., "6LoWPAN Paging Dispatch", draft-ietf-6lo- paging-dispatch-01 (work in progress), January 2016. [I-D.ietf-6lo-routing-dispatch] Thubert, P., Bormann, C., Toutain, L., and R. Cragie, "6LoWPAN Routing Header", draft-ietf-6lo-routing- dispatch-04 (work in progress), January 2016. 7.2. External Informative References [OpenWSN] Watteyne, T., Vilajosana, X., Kerkez, B., Chraim, F., Weekly, K., Wang, Q., Glaser, S., and K. Pister, "OpenWSN: a Standards-Based Low-Power Wireless Development Environment", Transactions on Emerging Telecommunications Technologies , August 2012. Munoz, et al. Expires August 26, 2016 [Page 35] Internet-Draft 6tisch-examples February 2016 Authors' Addresses Jonathan Munoz (editor) Gridbee Communications - INRIA 2 rue Simone Iff Paris Cedex 12 75589 France Email: jonathan.munoz@inria.fr Emmanuel Riou Gridbee Communications ZI Les Bois de Grasse 7 avenue Michel Chevalier Grasse 06130 France Email: emmanuel.riou@gridbeecom.com Guillaume Gaillard Orange Labs 28 Chemin du Vieux Chene Meylan 38240 France Email: guillaume.gaillard@orange.com Dominique Barthel Orange Labs 28 Chemin du Vieux Chene Meylan 38240 France Email: dominique.barthel@orange.com Munoz, et al. Expires August 26, 2016 [Page 36]