Re: [6lo] Generation of IPv6 IIDs

Fernando Gont <fgont@si6networks.com> Thu, 24 July 2014 17:44 UTC

Return-Path: <fgont@si6networks.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 BF76D1B2795 for <6lo@ietfa.amsl.com>; Thu, 24 Jul 2014 10:44:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 ERoUkgqLhfeI for <6lo@ietfa.amsl.com>; Thu, 24 Jul 2014 10:44:34 -0700 (PDT)
Received: from web01.jbserver.net (web01.jbserver.net [IPv6:2a00:8240:6:a::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 005821A0A8D for <6lo@ietf.org>; Thu, 24 Jul 2014 10:44:12 -0700 (PDT)
Received: from [2001:67c:370:160:94a7:a86a:e5b8:c08c] by web01.jbserver.net with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from <fgont@si6networks.com>) id 1XAN3R-00022V-8w; Thu, 24 Jul 2014 19:43:45 +0200
Message-ID: <53D145C1.9090801@si6networks.com>
Date: Thu, 24 Jul 2014 13:43:29 -0400
From: Fernando Gont <fgont@si6networks.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Kerry Lynn <kerlyn@ieee.org>, "Jonathan Hui (johui)" <johui@cisco.com>
References: <5361A67D.4010508@si6networks.com> <ECA43DA70480A3498E43C3471FB2E1F01C1FBD12@eusaamb103.ericsson.se> <53D059E8.6030709@si6networks.com> <53D05BED.7020608@acm.org> <85B07B45-D7C5-4E85-99A5-6C2E674C30FB@cisco.com> <CABOxzu3U83BqaSfbwfuuyLni1etVS9RmyqkY9RWeJvmoTZs4FA@mail.gmail.com>
In-Reply-To: <CABOxzu3U83BqaSfbwfuuyLni1etVS9RmyqkY9RWeJvmoTZs4FA@mail.gmail.com>
X-Enigmail-Version: 1.5.2
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/6lo/XVgVOy4RhCEQIRgKdlPxH1iW6sk
X-Mailman-Approved-At: Thu, 24 Jul 2014 10:46:46 -0700
Cc: "6lo-chairs@tools.ietf.org" <6lo-chairs@tools.ietf.org>, "6man Chairs (6man-chairs@tools.ietf.org)" <6man-chairs@tools.ietf.org>, Samita Chakrabarti <samita.chakrabarti@ericsson.com>, Erik Nordmark <nordmark@cisco.com>, Dave Thaler <dthaler@microsoft.com>, Erik Nordmark <nordmark@acm.org>, "6lo@ietf.org" <6lo@ietf.org>, "draft-ietf-6man-default-iids@tools.ietf.org" <draft-ietf-6man-default-iids@tools.ietf.org>
Subject: Re: [6lo] Generation of IPv6 IIDs
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Jul 2014 17:44:38 -0000

On 07/24/2014 01:17 PM, Kerry Lynn wrote:
>     > I think we should assume that those documents will be updated in
>     the future to provide the option to work with other IIDs even if
>     that comes with lower efficiency.
> 
>     Note that RFC 6282 already provides the option:
>     - If the IID can be derived from MAC address, great.
>     - If not, things will still work just with reduced efficiency.
> 
> To recap, re-using the L2 addresses for IIDs contributes to the
> efficiency of
> IPHC [RFC 6282].  Using locally-assigned short MACs provides the greatest
> efficiency.

I'd personally say that sticking to MAC-derived IIDs is not a good idea.
It's okay if that's still employed before something else is engineered,
though.



> Requiring randomly assigned IIDs can have a significant impact on 6lo
> networks
> with short frames, which already have reduced payloads due to security
> and other
> headers.  In some cases, random IIDs might necessitate an additional
> frame per
> message.
>  
> 
>     Section 10 of RFC 4944 also provides the same option, but has since
>     been replaced by the encoding specified in RFC 6282.
> 
>     Also note that 802.15.4 interfaces have both a stable MAC address
>     (EUI-64) and a locally-significant, dynamic MAC address (Short
>     Address).  Many of the arguments against MAC-address-based IIDs may
>     not apply when using Short Addresses.
> 
> I'm not sure that any of the arguments do apply when using locally assigned
> short MAC addresses.  Please note that draft-ietf-6lo-6lobac *only* uses
> locally
> assigned short MAC addresses.

If you generate your IIDs from a constant IID, they do apply. Please see
e.g.
<http://tools.ietf.org/id/draft-ietf-6man-ipv6-address-generation-privacy-01.txt>
for a longer version of the story.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492