Re: [6lo] draft-chairs-6lo-dispatch-iana-registry-00.txt

Jonathan Hui <jonhui@nestlabs.com> Tue, 28 July 2015 20:39 UTC

Return-Path: <jonhui@nestlabs.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6AB011B3022 for <6lo@ietfa.amsl.com>; Tue, 28 Jul 2015 13:39:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level:
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E4il3kAm0B7b for <6lo@ietfa.amsl.com>; Tue, 28 Jul 2015 13:39:38 -0700 (PDT)
Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 141911B3002 for <6lo@ietf.org>; Tue, 28 Jul 2015 13:38:55 -0700 (PDT)
Received: by ykax123 with SMTP id x123so106416476yka.1 for <6lo@ietf.org>; Tue, 28 Jul 2015 13:38:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nestlabs.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cu10Zf+JoGbja2gWf9Kxlwkf6D1AHtwfYJE8GgpgS+A=; b=WppN8XEMOJocQGIYbQwRu7jqr9f4LKv42y9xej8gbx11qGmudr6imdJ9sHPmc5dBkw UWoG6yTG/df8Ww6zr22JBtG5g9Ou5Ql1fd8SSN44Vrizffah7djkvX+O9361BcIA7TcW YGjNmFTSVYcOv0dLq4YzDqHSUjdnPqQNd0XaI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cu10Zf+JoGbja2gWf9Kxlwkf6D1AHtwfYJE8GgpgS+A=; b=gG6sijX46Q3xsDdRmMFGFOT/oxx2uDPMGNde2Wuc81mRr2dWq/3Q7McRbACVO62GdO iXxe8vZgNxWmu/wS4WgxyP15DBP9O3j8G1Rk5nYfpEKHJL3DlBMDodKMGQMTMyEdB/yy KxaPkQfij1xCeZ+sMWNmBlTdnOVgLHnglwqC9AQlVkjXeJJco9OjWi190tY/Il8lkiXK /4yaH+2DlUaI4h08BRbyByb84EjhN9TkW1xVYP4UBRtyfqZ51FTPv2igAdGGDn+mUXhG g+KyF1rEfUU309jjuEx0I5ek6fUOHXR9MDkhNgQ7KgKcDxJ09tj8Hcyo28zpr+qFJz4n Rl4A==
X-Gm-Message-State: ALoCoQlF0QzEEHDFUVmRE0qt+uKmJoj8dogsvieyNBFDgMZjMH1dn5uRliZDUogqkAlc+6TrIplX
MIME-Version: 1.0
X-Received: by 10.13.225.11 with SMTP id k11mr26343905ywe.148.1438115934335; Tue, 28 Jul 2015 13:38:54 -0700 (PDT)
Received: by 10.37.215.150 with HTTP; Tue, 28 Jul 2015 13:38:54 -0700 (PDT)
In-Reply-To: <CADrU+dKK59AyQhnWKg6QPXmn=mo9EpF9ifUxgpVaFXA==md+ew@mail.gmail.com>
References: <ECA43DA70480A3498E43C3471FB2E1F01C39990C@eusaamb103.ericsson.se> <CAO6tK45NVtbN4gON+fcQA=xzzV0Wd00Jqgo78i6LP5QV_j71Sg@mail.gmail.com> <ECA43DA70480A3498E43C3471FB2E1F01C39B48B@eusaamb103.ericsson.se> <CAO6tK474ga37g29Ope8XxsPB67iBpsSAsPhXqXfMcyvCm6_+xg@mail.gmail.com> <E045AECD98228444A58C61C200AE1BD849F0A949@xmb-rcd-x01.cisco.com> <ECA43DA70480A3498E43C3471FB2E1F02222FBA1@eusaamb103.ericsson.se> <E045AECD98228444A58C61C200AE1BD849F47890@xmb-rcd-x01.cisco.com> <CAO6tK45Et-A1pRJKRbPz5d4UD4zUcrWuTy=A8L+FZj78kfrVog@mail.gmail.com> <BF00A164-EE85-442C-A9AE-7FE7FA769CDD@cisco.com> <CAO6tK44p6qjze5iR-KYg=5odvRoMEa71n51mrY_pGc2ZaxSxOw@mail.gmail.com> <E045AECD98228444A58C61C200AE1BD849F48BE1@xmb-rcd-x01.cisco.com> <CAO6tK47Z7sPtpN3cRS6w=PRJ6Sdh65Bv6dV1fC+z4O36dvH_Jg@mail.gmail.com> <CADrU+dJycqpHe8X4T3_6O5dH+zh34xhRaOOZEFDscFYDLFMjuQ@mail.gmail.com> <CAO6tK47JpDA8dfrw-si4Si-QWiys9goBmKp0LAd_sm_jPtySsg@mail.gmail.com> <CADrU+dKK59AyQhnWKg6QPXmn=mo9EpF9ifUxgpVaFXA==md+ew@mail.gmail.com>
Date: Tue, 28 Jul 2015 13:38:54 -0700
Message-ID: <CAO6tK45VXRCzw-kRzAct_hNY5_9q+cQic6aCNWzuA55h4g8Y_A@mail.gmail.com>
From: Jonathan Hui <jonhui@nestlabs.com>
To: Robert Cragie <robert.cragie@gridmerge.com>
Content-Type: multipart/alternative; boundary="94eb2c07637069a7e0051bf575e5"
Archived-At: <http://mailarchive.ietf.org/arch/msg/6lo/cK_OfUEtJkLZwKmfCsD9kSkVFWg>
Cc: Samita Chakrabarti <samita.chakrabarti@ericsson.com>, "Pascal Thubert (pthubert)" <pthubert@cisco.com>, "6lo@ietf.org" <6lo@ietf.org>
Subject: Re: [6lo] draft-chairs-6lo-dispatch-iana-registry-00.txt
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Jul 2015 20:39:39 -0000

Robert,

On Tue, Jul 28, 2015 at 1:06 PM, Robert Cragie <robert.cragie@gridmerge.com>
wrote:

>
>> Currently, we are going down a path where every 6LoWPAN network in
>> existence needs to respect the same header identifiers (i.e. Dispatch
>> values) at all times.  It's not obvious to me that this is a good idea.
>>
>> For example, two devices in the field could easily determine what headers
>> are actually in use and the corresponding header identifiers.  In one view,
>> this is not much different than establishing 6LoWPAN contexts.  A 6LoWPAN
>> network already determines what prefixes are in use and binds short forms
>> (4-bit Context IDs) to those.  If there is ever any confusion on how those
>> 4-bit Context IDs are assigned, then things will fail.  Typically, we
>> expect to use IEEE 802.15.4 security mechanisms to isolate networks.  After
>> devices establish a secure link, there is no need to worry about processing
>> packets that not a part of that secure link.  We could apply the same logic
>> to Dispatch values and forgo the overhead of "page switch" markers.
>>
>
> <RCC>That is true, but we already discussed this and tried this to some
> extent with the repurposing of the mesh header. That isn't defining a whole
> new set of codes for a new technology but is tantamount to it. It didn't
> seem to go down well, hence the idea of page codes/markers.</RCC>
>

I understand why the particular design choices were made in the current
draft.

FWIW, I don't think flat out repurposing the Mesh Header was the right
approach.  It basically meant that the RFC 4944 Mesh Header is never to be
used at the same time as a 6LoRH.  Some have argued that it becomes
confusing when 6lo implementations are just following RFCs (rather than
some external alliance) as to what Dispatch values to use, and I can
understand that viewpoint as well.

Instead, I think a better approach is to be explicit and say that devices
can configure what 6lo headers are in use and how those headers are
identified in a packet.  Still maintain a single "default" namespace that
devices use if no such configuration is used or available.  But the
configuration allows devices to use more efficient header identifiers if
they choose to do so.  As mentioned previously, this is not much different
from assigning 4-bit Context IDs to IPv6 prefixes.  The difference is that
the 6lo header configuration will typically be static, so distributing the
configuration is much simpler than what's required for Context IDs.

The result is that no new 6lo header definition "supersedes" an existing
one.  Instead, new 6lo header definitions can be defined within the
existing RFC 4944 Dispatch space and implementations could agree on more
efficient identifiers if they choose to do so.  The implementation cost is
simply a jump table with dynamic value, rather than static ones.

As a side note, strictly speaking, RFC 4944 was defined for IEEE
>> 802.15.4-2003 and RFC 6282 defined for IEEE 802.15.4-2006.  In theory, we
>> could easily define a new Dispatch mechanism for TSCH (IEEE
>> 802.15.4e-2012).  The frames are distinguishable using the IEEE 802.15.4
>> Frame Version field.
>>
>
> <RCC>Indeed we could. Perhaps a wholesale change might actually be more
> palatable than just repurposing some of the dispatch code space?</RCC>
>

Certainly something to consider.

--
Jonathan Hui