Re: 64bit MAC addresses and SLAAC

Etienne-Victor Depasquale <edepa@ieee.org> Wed, 17 June 2020 17:24 UTC

Return-Path: <edepa@ieee.org>
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 01CF53A0AAF for <ipv6@ietfa.amsl.com>; Wed, 17 Jun 2020 10:24:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 5GVLk1-4121p for <ipv6@ietfa.amsl.com>; Wed, 17 Jun 2020 10:24:33 -0700 (PDT)
Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 A47353A0AA2 for <ipv6@ietf.org>; Wed, 17 Jun 2020 10:24:33 -0700 (PDT)
Received: by mail-qk1-x732.google.com with SMTP id n11so2786322qkn.8 for <ipv6@ietf.org>; Wed, 17 Jun 2020 10:24:33 -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=K7prSFaYQ3eHb5uW+hFiGEbxZmHSWC/A6oYLqEjg2Hs=; b=MFl8UNwQDd5FATqSG8+9Hk/PY/+2BeYOyen1RZzrIMGQ8JK81cHX4bCQoSSzaXMFeV oSXHCAjIJvINElVMNnvregqDnag6Qz9hAQ8nIooK6/ZLhzjg1BQa7OJEjvZm6/byZoBq +rzpXnwv/HMKYowOfQg3sjy8TNxUfF3buUxYM=
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=K7prSFaYQ3eHb5uW+hFiGEbxZmHSWC/A6oYLqEjg2Hs=; b=UioDGM/KraBPaBaiEvh1K/xoXPGoOOE4zvRejCZfKkESaff37JTS/n2VFyDtqLHm2S Gw24dBmAEgJFGt3RxbQaF+nIF+pcw1RUaN4t5USe7JRPgvWLPL8oMa8PvgErAPrYpZ+r mI6XBTwl2rBpaseFjrLYHoxiAQ98q7vfZXjEJQ+uXo6ptPGfheY5Rk60wfDFaCv1SDhZ FsqTXWBltwZB3zzjM60Mp8dr2V7HWtOq15vWvQSpBA25u7Ut03/xQUCN/nzMUmFCoycT M3IEHJTeybMySflgychUFI6sGJd+DZZXivlwOibL42Fg1phG1dD/z3gmKImVkXM/yalG VGoQ==
X-Gm-Message-State: AOAM530q5QBgYt43FaBtEtHGfLx/tgiYhzaruRcD8ZV0jtahsgg5nYKc efdu8nPMt54tsHL0UOBSUqBYJwwi/n/dSA+tQIR/Lw==
X-Google-Smtp-Source: ABdhPJyp/USHF+TR4GBnc6tfuR7T9GdYkvcrs9N4cmBN6w9RZGvA1cw5Ow5RhgCTUZDROP86GbwRL7Qo6mwMqeeCP/4=
X-Received: by 2002:a37:aa03:: with SMTP id t3mr26450267qke.414.1592414672462; Wed, 17 Jun 2020 10:24:32 -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>
In-Reply-To: <679B240C-6057-4549-AF3F-752707CBD1C8@gmail.com>
From: Etienne-Victor Depasquale <edepa@ieee.org>
Date: Wed, 17 Jun 2020 19:23:53 +0200
Message-ID: <CAAcx0vDB3qdiAdLx02Kf1ps0j9R9RBFnrKVsSHqpuEs47QGcFg@mail.gmail.com>
Subject: Re: 64bit MAC addresses and SLAAC
To: Bob Hinden <bob.hinden@gmail.com>
Cc: Alexandre Petrescu <alexandre.petrescu@gmail.com>, IPv6 List <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e3954c05a84aee92"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/AgroR26DQ80igCljKRIW2cwujHo>
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:24:37 -0000

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.

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