Re: 64bit MAC addresses and SLAAC

Kerry Lynn <kerlyn@ieee.org> Wed, 17 June 2020 17:56 UTC

Return-Path: <kerlyn2001@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E71453A0AB6 for <ipv6@ietfa.amsl.com>; Wed, 17 Jun 2020 10:56:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.248
X-Spam-Level:
X-Spam-Status: No, score=-1.248 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ieee.org
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 zFMn0pe91PHa for <ipv6@ietfa.amsl.com>; Wed, 17 Jun 2020 10:56:47 -0700 (PDT)
Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 F09E73A078C for <ipv6@ietf.org>; Wed, 17 Jun 2020 10:56:46 -0700 (PDT)
Received: by mail-wm1-x32f.google.com with SMTP id r15so2974568wmh.5 for <ipv6@ietf.org>; Wed, 17 Jun 2020 10:56:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IVC8MrUv7BPJw0knISbCSJo193EngiWvTXPbgFbaKBo=; b=KthPlqZSu64gpsnaeZdUUd6v6yz2BjsQISwscYcF4rw/5+5QtKzAYmhyHl+LPYXhPD w12fQaIKIaL51QEoFw5+NTufzFXYe5ikr8gXdvIQ3p9UKtTM2gexIdil5Wj/4xDe9dk5 PmBE7FCH8xZJnmDKrwGWsSnD0vWCKytaOvIUw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IVC8MrUv7BPJw0knISbCSJo193EngiWvTXPbgFbaKBo=; b=B07sfP6SLYtjWUXHCOf6vttjdQZH0QYc6OyahF17zYdkhihVcupS/t86J5fm5BTKQy n4Ojl5xCH2mSpDlc3aFYVj8pm59SdzFQwxRvM1T+OeisrjO0Rn6unrKlwHXMUOnqOy1C qwgneauk7ruHHJFKr3A9CW2OqnZXseQvQbLlTYjLS5yhpXs+jaIQDClr242LmFpWmnNt 7JsxpvezXjDWrQtrG0OwwiZoqy7GsgDE2s9cSnKSSJrCBQdqI6jKXi0KnIwm9IzsmPlY 9NZb39OVRHLtPjBxOcYquNv2VOJ5uidOJEwhC7i3XQ2oexj306OmNyyYJQBX1yYvSthc 4CYw==
X-Gm-Message-State: AOAM530ejahRJ+oj1jFgNjpMkBIeJDw8bFh2hhelp1sfoY0RmWpVLFTb 2qyG6db2lo22ZRSmJ7SuM7DswNX5BskJkwRFFUk=
X-Google-Smtp-Source: ABdhPJx59Kuz2lDNTkEwTnAjODYl/xP3q3+XdBu440zmHcRM0X/zIilCcjHtofU1E6FKja1z2MKrBSivrL7sLcd8kx4=
X-Received: by 2002:a05:600c:2294:: with SMTP id 20mr10268871wmf.51.1592416605367; Wed, 17 Jun 2020 10:56:45 -0700 (PDT)
MIME-Version: 1.0
References: <e8a25961-5ac9-d35e-77dd-bf86f45cd077@gmail.com> <a17ae9f3-001c-07f6-84f9-a0ca583e6a00@gmail.com> <7AE5B6D0-AB01-4077-A9EF-5BD86F428681@gmail.com> <7a3b839f-099e-8fd3-35a2-4625df3c369e@gmail.com> <679B240C-6057-4549-AF3F-752707CBD1C8@gmail.com> <CAAcx0vDB3qdiAdLx02Kf1ps0j9R9RBFnrKVsSHqpuEs47QGcFg@mail.gmail.com>
In-Reply-To: <CAAcx0vDB3qdiAdLx02Kf1ps0j9R9RBFnrKVsSHqpuEs47QGcFg@mail.gmail.com>
From: Kerry Lynn <kerlyn@ieee.org>
Date: Wed, 17 Jun 2020 13:56:34 -0400
Message-ID: <CABOxzu1hodnME2bQykpOnPiN_+ePmgcHu76eUkQajgGkpgg5XA@mail.gmail.com>
Subject: Re: 64bit MAC addresses and SLAAC
To: Etienne-Victor Depasquale <edepa@ieee.org>
Cc: Bob Hinden <bob.hinden@gmail.com>, Alexandre Petrescu <alexandre.petrescu@gmail.com>, IPv6 List <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000190e0c05a84b62ee"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/6M9qKDYeZiAN5q0VQ-8657_O_8o>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Jun 2020 17:56:49 -0000

On Wed, Jun 17, 2020 at 1:24 PM Etienne-Victor Depasquale <edepa@ieee.org>
wrote:

> Bob,
>
> In the case of resource-constrained nodes, such as wireless sensor
> networks (WSNs),
> the use of algorithms to generate addresses consumes energy.
>
> In my lectures to date (I'm an academic),
> I've emphasized that SLAAC in IPv6
> requires less energy than automatic address configuration in IPv4.
>
> RFC7217's method of address generation seems to load WSNs unnecessarily,
> unless the identity of a sensor is somehow considered important.
>
> RFC 8064 also says:

   In some network technologies and adaptation layers, the use of an IID
   based on a link-layer address may offer some advantages.  For
   example, [RFC6282 <https://tools.ietf.org/html/rfc6282>] allows for
the compression of IPv6 datagrams over
   IEEE 802.15.4-based networks [RFC4944
<https://tools.ietf.org/html/rfc4944>] when the IID is based on the
   underlying link-layer address.

Maintenance of IPv6 sensor networks may trump privacy concerns.  At the
very least, we
might broach the subject of stable randomized 64-bit link-layer identifiers
with IEEE (I am
unaware if any discussions on this topic have occurred).

Kerry

Etienne
>
> On Wed, Jun 17, 2020 at 6:37 PM Bob Hinden <bob.hinden@gmail.com> wrote:
>
>> Alexandre,
>>
>> > On Jun 17, 2020, at 4:39 AM, Alexandre Petrescu <
>> alexandre.petrescu@gmail.com> wrote:
>> >
>> > Le 15/06/2020 à 23:01, Bob Hinden a écrit :
>> >> Alexandre,
>> >>> On Jun 15, 2020, at 1:23 PM, Alexandre Petrescu <
>> alexandre.petrescu@gmail.com> wrote:
>> >>> Hi,
>> >>> Before the sanitary situation I was studying an issue at ISO.
>> >>> The issue is about 64bit MAC addresses and SLAAC.
>> >>> SLAAC needs a 48bit MAC addresses in order to work, and it can not
>> work with a 64bit MAC address; (but yes, it can with 64bit IIDs).
>> >> SLACC does not specify the length of the Interface ID, it does not
>> require require 48-bit MAC addresses, and the reason for Modified EUI-64
>> Format Interface Identifiers in RFC4291 was to support 64bit EUI-64
>> Identifiers.   We have since moved away from using MAC addresses as
>> Interface IDs.  See RFC 8064.
>> >
>> > Bob,
>> >
>> > RFC8064 says "this document [...] recommends against embedding stable
>> > link-layer addresses in IPv6 Interface Identifiers”.
>>
>> The actual text is:
>>
>>    By default, nodes SHOULD NOT employ IPv6 address generation schemes
>>    that embed a stable link-layer address in the IID.
>>
>> It is more than a recommendation.
>>
>> >
>> > But a 64bit MAC address could be a random number as well, not
>> > necessarily stable.  Windows randomizes some of its MAC addresses..
>>
>> RFC7721 discusses this, along with what Windows does.
>>
>> >
>> > That aside, I am not sure how much RFC8064 is clear about the length of
>> > an IID (it refers to RFC7217 '_could_ any len'), neither am I sure how
>> > much is it implemented (linux and freebsd implement random IIDs but of
>> > fixed length).
>>
>> The length of an Interface ID is not defined in RFC8063.  That is a
>> bigger topic, the current specification is RFC4291 as updated by RFC5952,
>> RFC6052, RFC7136, RFC7346, RFC7371, and RFC8064.
>>
>> Bob
>>
>>
>> >
>> > Alex
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>>
>
>
> --
> Ing. Etienne-Victor Depasquale
> Assistant Lecturer
> Department of Communications & Computer Engineering
> Faculty of Information & Communication Technology
> University of Malta
> Web. https://www.um.edu.mt/profile/etiennedepasquale
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>