Re: [Roll] using the flow label instead of hop by hop

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Mon, 05 November 2012 15:35 UTC

Return-Path: <pthubert@cisco.com>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 825C021F880C for <roll@ietfa.amsl.com>; Mon, 5 Nov 2012 07:35:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z1YCjWA0V72A for <roll@ietfa.amsl.com>; Mon, 5 Nov 2012 07:35:11 -0800 (PST)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) by ietfa.amsl.com (Postfix) with ESMTP id 6A61121F8440 for <roll@ietf.org>; Mon, 5 Nov 2012 07:33:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4269; q=dns/txt; s=iport; t=1352129626; x=1353339226; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=C2GyQjSx1DbNuhz2rLVCV2sm8cfTFg1X+Ao68WQ6whs=; b=NwXKgpfpBFbz+zzJBA7sTEWlmlRz+u4BTcQlPvWmbiwYMGUo32J229w7 Bu+Tc8o0DVl28QrZeJgUQNZeF5MUaYIl9wFYOQp/Pa8veFxqiE1McsGIG M35hAzwYR/u6a35wrhfUQzQnoFQmFPpkCS2ipDxZk3jnKCaINvs7SSSqR k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EAFPbl1CtJXHB/2dsb2JhbABEDsMsgQiCHwEBBBIBJz8QAgEIDgQQFBAyFw4CBA4NGodomnKfapFcYQOSSZILgWuCMj2CGQ
X-IronPort-AV: E=Sophos;i="4.80,715,1344211200"; d="scan'208";a="138913736"
Received: from rcdn-core2-6.cisco.com ([173.37.113.193]) by rcdn-iport-7.cisco.com with ESMTP; 05 Nov 2012 15:33:45 +0000
Received: from xhc-aln-x10.cisco.com (xhc-aln-x10.cisco.com [173.36.12.84]) by rcdn-core2-6.cisco.com (8.14.5/8.14.5) with ESMTP id qA5FXjuG026493 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 5 Nov 2012 15:33:45 GMT
Received: from xmb-rcd-x01.cisco.com ([169.254.1.28]) by xhc-aln-x10.cisco.com ([173.36.12.84]) with mapi id 14.02.0318.001; Mon, 5 Nov 2012 09:33:45 -0600
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Philip Levis <pal@cs.stanford.edu>
Thread-Topic: [Roll] using the flow label instead of hop by hop
Thread-Index: AQHNt4ehZuUPgSVw8Ei66tfzWpWZPpfbYbaQ
Date: Mon, 05 Nov 2012 15:33:41 +0000
Deferred-Delivery: Mon, 5 Nov 2012 15:33:00 +0000
Message-ID: <E045AECD98228444A58C61C200AE1BD8222081AA@xmb-rcd-x01.cisco.com>
References: <E045AECD98228444A58C61C200AE1BD8221EFB0B@xmb-rcd-x01.cisco.com> <EEB5434B-7084-4A36-8D81-5C9792210186@tzi.org> <E045AECD98228444A58C61C200AE1BD8221F3B13@xmb-rcd-x01.cisco.com> <03D5F543-40BD-427C-9C53-EF5172DC0103@cs.stanford.edu>
In-Reply-To: <03D5F543-40BD-427C-9C53-EF5172DC0103@cs.stanford.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.82.211.174]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19340.004
x-tm-as-result: No--50.767700-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "roll@ietf.org" <roll@ietf.org>
Subject: Re: [Roll] using the flow label instead of hop by hop
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/roll>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Nov 2012 15:35:12 -0000

Hello Phil:

> [Pascal] Which  I'd suggest exemplifies what must not be done.  The SPI is an end-to-end information that is useless to the network. Thus is does not belong to the IPv6 header. I hope we are not discussing this are we?

I don't understand -- simply because fields are used end-to-end and "useless" to the network doesn't mean it shouldn't belong in the IPv6 header. For example, the protocol field in IPv4 (or next header in IPv6 denoting a transport header). Or the offset/MF in IPv4. 

[Pascal] let's talk about that over a drink. It has to do with architecture, but also with footprint. You can always add destination option space for end to end chat, but the space in the packet that the router can look at is definitely constrained, mostly to the header though for load balancing purposes the router sometimes looks deeper.

-----


 [Pascal] Now, if in some future we do need so save the flow label in order to echo it back to the source in an ICMP error, then we can carve a little room for 20 bits in the 6LoWPAN compression. But so far that need was not identified and/or cost-justified. So, no, I do not see that we need IP in IP when we use the flow label for the RPL information.

Pascal, I think the issue is really simple. IMHO, any reasonable interpretation of RFC6537 is that a flow label generated outside a RPL instance MUST be delivered unchanged to a node inside a RPL instance. Full stop. Applications and other protocols using IPv6 and reading RFC6537 might make this assumption: suddenly they might break working when they hit a RPL network.

I mean, please explain, in a single sentence, how the proposed use does not violate this statement:

"A forwarding node MUST either leave a non-zero flow label value unchanged or change it only for compelling operational security reasons as described in Section 6.1."

[Pascal] I'm modifying / adding the following text in the draft to amend 6437:

   In a LLN, each transmitted bit represents energy and every saving
   counts dearly.  Considering that the value for which the Flow Label
   is used in the IPv6 Flow Label Specification [RFC6437] is to serve
   load balancing in the core, it is unlikely that LLN devices will
   consume energy to generate and then transmit a Flow Label to serve
   interests in some other place.  On the other hand, it makes sense to
   recommend the computation of a stateless Flow Label at the root of
   the LLN towards the Internet.

   Reciprocally , [RFC6437] requires that once set, a non-zero flow
   label value is left unchanged.  The value for that setting is
   consumed once the packet has traversed the core and reaches the LLN.
   Then again, there is little value but a high cost for the LLN in
   spending 20 bits to transport a Flow Label from the Internet over the
   constrained network to the destination node.  It results that the
   MUST in [RFC6437] should be alleviated for packets coming from the
   outside on the LLN, and that it should be acceptable that the
   compression over the LLN erases the original flow label.  It should
   also be acceptable that the Flow Label field is reused in the LLN as
   proposed in this draft.

What do you think?


Basically, if 6man is willing to change the flow label specification such that nodes need to assume it might be changed along a route, then this seems like a reasonable use of the flow label. But to go against a prior specification (in a way that can break interoperability) for an as-of-yet-unsubstantiated optimization effort seems like poor engineering to me.

[Pascal] You'll note that 6550 has externalized the location of the RPL information to other drafts and thus 6550 is not changed. 
But really, the point is that the actual standards that get deployed are not 6LoWPAN or RPL. 
They are the likes of ZigBee IP, ISA100.11a, WiHART, etc... which mandate a list of RFC and then come with interop testing (HCF, WCI).
As it goes, the industrial standards did not pick the larger frames from 802.15.4G, and RPL cannot succeed there with the HbH option and the IP in IP encapsulation. Simple as that.

Cheers,

Pascal