Re: encoding link ID in link-local addrs (Re: about violation of standards)

Alexandre Petrescu <alexandre.petrescu@gmail.com> Wed, 24 April 2019 14:02 UTC

Return-Path: <alexandre.petrescu@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 1A32E120020 for <ipv6@ietfa.amsl.com>; Wed, 24 Apr 2019 07:02:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.632
X-Spam-Level:
X-Spam-Status: No, score=-2.632 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 IHbVnqvkaaQm for <ipv6@ietfa.amsl.com>; Wed, 24 Apr 2019 07:02:17 -0700 (PDT)
Received: from oxalide-smtp-out.extra.cea.fr (oxalide-smtp-out.extra.cea.fr [132.168.224.13]) (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 AF97B120184 for <ipv6@ietf.org>; Wed, 24 Apr 2019 07:02:14 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by oxalide-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x3OE2BH8143656 for <ipv6@ietf.org>; Wed, 24 Apr 2019 16:02:11 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 84534204091 for <ipv6@ietf.org>; Wed, 24 Apr 2019 16:02:11 +0200 (CEST)
Received: from muguet2-smtp-out.intra.cea.fr (muguet2-smtp-out.intra.cea.fr [132.166.192.13]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 7AAA9203FBA for <ipv6@ietf.org>; Wed, 24 Apr 2019 16:02:11 +0200 (CEST)
Received: from [10.8.35.150] (is154594.intra.cea.fr [10.8.35.150]) by muguet2-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x3OE2BJE011863 for <ipv6@ietf.org>; Wed, 24 Apr 2019 16:02:11 +0200
Subject: Re: encoding link ID in link-local addrs (Re: about violation of standards)
To: ipv6@ietf.org
References: <bb7f7606-2adf-e669-8bcd-e41f17800782@gmail.com> <CAJE_bqd9frqX5-yeVPj8MYXpZ4737HqK1gmfD9cQV3A-Ea5HrQ@mail.gmail.com> <6bd5db47-408a-727e-5c13-f34a3465f986@si6networks.com> <CAJE_bqfTLqRbLp4fLu2ASZuZ+4G5c2G+RXkO92kXfLgPTqBnng@mail.gmail.com> <EEF00EA7-2AAF-403F-99AD-1D53ED18E8B3@cisco.com> <CAJE_bqe8OXPWRDvXEY66gZHiBgv37OV67YB27WoEtq_VmBqieQ@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <8fdc05fe-0324-df7d-81bf-9767bffc5b28@gmail.com>
Date: Wed, 24 Apr 2019 16:02:11 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <CAJE_bqe8OXPWRDvXEY66gZHiBgv37OV67YB27WoEtq_VmBqieQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/cdMIGMFmfLpCLeCVfPmp_s-ssi4>
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, 24 Apr 2019 14:02:20 -0000



Le 19/04/2019 à 18:25, 神明達哉 a écrit :
> At Fri, 19 Apr 2019 07:00:01 +0000,
> "Pascal Thubert (pthubert)" <pthubert@cisco.com 
> <mailto:pthubert@cisco.com>> wrote:
> 
>  > While I completely object with Alexandre’s argument I tend to agree 
> with the end goal.
>  >
>  > Some functions in the router are complex to implement because same 
> value for a link local address appears on multiple interfaces.
> 
> Yeah, I see that motivation.  The generic/usual answer of mine to that
> kind of problem is to use the sockaddr_in6::sin6_scope_id (or anything
> similar to it for a non-POSIX platform) and the extended textual
> format for scoped addresses as described in RFC4007.  But I can
> imagine there are cases where they are not enough and/or applicable.
> 
> So...
> 
>  > It would be useful to be able to encode an abstract interface ID 
> somewhere in the /64. Legacy 00 would mean unspecified...
> 
> (As a co-author of RFC4007 I can't help correcting it to "link ID"
> instead of "interface ID" but:-)... yes, I can imagine we might reach
> some consensus of using some portion of the 128-bit space to encode
> that information.  But, that will require a lot of considerations,
> including
> 
> - whether the goal is really impossible to achieve with currently
>    available tools
> - especially if the first answer is something like "it can, but it's
>    not convenient", then whether the goal really justifies to consume
>    a particular space of the finite resource of address space
> - whether it has to be inside the upper 64 bits (or in more general,
>    inside the "subnet prefix" part).  If it has to be so, whether it
>    has to be within the first 32 bits (if not, at least it doesn't
>    conflict with the BSD implementation).
> - if, like draft-petrescu-6man-ll-prefix-len suggests, the encoded ID
>    is the same for all nodes in the link, how we assign those IDs and
>    how we ensure their uniqueness, how each node knows the ID on
>    generating addresses, etc.

In my case, it  is a human sysadmin (myself) that assigns those IDs (the
IID and the ID in fe80:1::/32) and I ensure the uniqueness.

I think it is common practice to have sysadmins to ensure uniqueness;
this is what I also do with some of the /56s assigned to me for GUAs.  I
make a plan, get agreement, document it and share it with the interested
parties in my setting.  I also teach every new comer this addressing
archi for a while, then I stop, because the plans are there.

I am not sure I need to document that outside my setting.

Alex