Re: [6lo] Generation of IPv6 IIDs

"Jonathan Hui (johui)" <johui@cisco.com> Thu, 24 July 2014 21:34 UTC

Return-Path: <johui@cisco.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 378B21B27AE for <6lo@ietfa.amsl.com>; Thu, 24 Jul 2014 14:34:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 sce38zvWE0h6 for <6lo@ietfa.amsl.com>; Thu, 24 Jul 2014 14:34:15 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 449A51B280C for <6lo@ietf.org>; Thu, 24 Jul 2014 14:34:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2290; q=dns/txt; s=iport; t=1406237655; x=1407447255; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=5K2XGipqAP13NkhokI09IoOkANvia74HV2blS/xGoxc=; b=g+3qNP+TRC6STuRuFw1mpXjA+o4p3Bspm1sCLOtrR1/o9BrA8MrVjBpr 6JWxQlIjgpS+4W3C+fIR31TCkiiFwCndrs/N+n3cSOJW00GxiMtsYVWS4 QdwEsNABUQqmmbQ7R0LSP/2IoAcbdIdvBqhT3O4XSt2zWpSO8D4EK8UgW o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhQFACB70VOtJA2H/2dsb2JhbABYgw5SVwTJOodDAYEQFneEAwEBAQMBeQULAgEIDgouMiUCBA4FiDoIDb87F48YMweDLoEYBZs2gVKSc4NIbAGBRA
X-IronPort-AV: E=Sophos;i="5.01,726,1400025600"; d="scan'208";a="63815459"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-5.cisco.com with ESMTP; 24 Jul 2014 21:34:14 +0000
Received: from xhc-rcd-x02.cisco.com (xhc-rcd-x02.cisco.com [173.37.183.76]) by alln-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id s6OLYEwb028480 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 24 Jul 2014 21:34:14 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.176]) by xhc-rcd-x02.cisco.com ([173.37.183.76]) with mapi id 14.03.0123.003; Thu, 24 Jul 2014 16:34:14 -0500
From: "Jonathan Hui (johui)" <johui@cisco.com>
To: Fernando Gont <fgont@si6networks.com>
Thread-Topic: [6lo] Generation of IPv6 IIDs
Thread-Index: AQHPp4cDxZHmUoXDZkOy83NOC6I88w==
Date: Thu, 24 Jul 2014 21:34:13 +0000
Message-ID: <ABD784EF-3EEE-4451-995B-EFCD06D9A57C@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> <53D145C1.9090801@si6networks.com>
In-Reply-To: <53D145C1.9090801@si6networks.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.154.200.29]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <FA06E8016E912E4F8CA27508F60C1F6C@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/6lo/8CxOQNdDyaneZvIlXPqSueGC9N0
Cc: "6man Chairs (6man-chairs@tools.ietf.org)" <6man-chairs@tools.ietf.org>, Erik Nordmark <nordmark@acm.org>, Kerry Lynn <kerlyn@ieee.org>, "draft-ietf-6man-default-iids@tools.ietf.org" <draft-ietf-6man-default-iids@tools.ietf.org>, "6lo@ietf.org" <6lo@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 21:34:17 -0000

[Sorry for the dup.  The 6lo mailer is complaining that there’s too many recipients.]

On Jul 24, 2014, at 10:43 AM, Fernando Gont <fgont@si6networks.com> wrote:

> 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.

Can you elaborate more?  As mentioned before, the scope of 802.15.4 Short Addresses is the PAN.

>> 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.

I assume you meant “constant MAC address”.  In any case, see my comment above.

—
Jonathan Hui