Re: encoding Subnet ID in link-local addrs - problem statement

Alexandre Petrescu <alexandre.petrescu@gmail.com> Fri, 26 April 2019 09:45 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 8D6AB1202F0 for <ipv6@ietfa.amsl.com>; Fri, 26 Apr 2019 02:45:11 -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 zen0gH-M4UQc for <ipv6@ietfa.amsl.com>; Fri, 26 Apr 2019 02:45:09 -0700 (PDT)
Received: from sainfoin-smtp-out.extra.cea.fr (sainfoin-smtp-out.extra.cea.fr [132.167.192.228]) (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 DEB0F120075 for <ipv6@ietf.org>; Fri, 26 Apr 2019 02:45:08 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x3Q9j0qp045651; Fri, 26 Apr 2019 11:45:01 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id F02FD201B05; Fri, 26 Apr 2019 11:45:00 +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 DB42020496F; Fri, 26 Apr 2019 11:45:00 +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 x3Q9j08E026687; Fri, 26 Apr 2019 11:45:00 +0200
Subject: Re: encoding Subnet ID in link-local addrs - problem statement
To: Ole Troan <otroan@employees.org>
Cc: Gyan Mishra <hayabusagsm@gmail.com>, 神明達哉 <jinmei@wide.ad.jp>, "Pascal Thubert (pthubert)" <pthubert@cisco.com>, 6man WG <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> <3F852B26-FD19-445D-A8E9-94BCBB9BE7C1@gmail.com> <455C3D20-E71B-4DF4-837E-081964E3328A@gmail.com> <19275484-3fa5-7c4e-3624-b861ddea6e2f@gmail.com> <2B1FBA08-3DDB-4287-B2B4-11324334B7FC@employees.org> <5b3f148a-3f61-66ea-716a-9f29cb4de346@gmail.com> <7CA1C3BA-69DA-4F6D-B743-299302C26373@employees.org>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <69c96fe3-ea9c-7c25-9c49-ebb0de2f0606@gmail.com>
Date: Fri, 26 Apr 2019 11:45:00 +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: <7CA1C3BA-69DA-4F6D-B743-299302C26373@employees.org>
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/hm3K8a9m-7ql4rgyTSWePgLaXmY>
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: Fri, 26 Apr 2019 09:45:12 -0000


Le 25/04/2019 à 12:10, Ole Troan a écrit :
> Hi Alexandre,
> 
>> These are three tries for a problem statement:
>> 
>> 1 A rejected Errata to RFC4291 "IPv6 Addr Archi" on the topic of 
>> link- local addresses 'would need' a draft.  (The errata ID is 
>> 4406; the URL is https://www.rfc-editor.org/errata/eid4406)
>> 
>> Do you disagree with the recommendation of this Errata?
> 
> The errata claims an inconsistency. I do agree with the errata 
> rejection if that's what you are asking.

It is not that that I am asking.

I am asking this: do you disagree with the Verifier Notes text? (I am 
asking because a part of the Verifier Notes seems to me to be a 
recommendation.)

For your convenience, this is the part from the Verifier Notes:
> [...] The re-definition of the link-local address would need to be
> driven by a draft updating RFC 4291.



> Whichever way I try to interpret this "try #1 for a problem 
> statement", I cannot find a reading that resolves into an actual 
> problem.
> 
>> 2 IPv6 link-local addresses are typically self-configured according
>> to 4 RFCs and relying on the fe80::/10 IANA allocation, RFC 54 0
>> bits, and RFC MAC-based 64bit Interface IDs.  In some cases, it is
>> advantageous to manually configure link-local addresses.  This is
>> useful for easy remembering by humans, and for parameter resilience
>> during network interface replacement.
>> 
>> Manual configuration of an LL may use short IID and Subnet ID The 
>> Subnet ID presence in the link-local address is useful in some 
>> wireless settings where the subnet structure parameters depend on 
>> the link locality.  Other settings may also benefit.
>> 
>> When manually setting the link-local address it is necessary to 
>> know the length of the prefix of the subnet on which this 
>> link-local address is present.  This length is necessary for 
>> on-link determination.
> 
> There is nothing in our documents that prohibit you from doing manual
> configuration of link-local addresses.

I agree.

But some OSs prohibits it.  The reasoning behind that OS prohibition is 
invoking this RFC.  It is an interpretation of this RFC that leads to 
prohibit people on that OS to do manual configuration.

> You can achieve easy to type
> and addresses you can remember, and that are different per-subnet
> simply by doing something like:
> 
> FE80::<16-bit subnet id>:<48-bit "station-id">

YEs, fe80::1:1 is a solution too.  But others suggested other solutions 
like fe80:1::1.

The fact that there are two distinct solutions makes it an even stronger 
problem.

On my side, I would not agree with
FE80::<16-bit subnet id>:<48-bit "station-id">
because these ids are part of an Interface ID.

Subnet ID and Interface ID are distinct parts in an IPv6 address, as 
defined by RFC4291.  Can not put a Subnet ID in an Interface ID.

> 
>> Implementation status: manually configuring link-local addresses is
>> an operation permitted by some Operating Systems but forbidden by
>> others. The ones that permit it need a parameter for the length of
>> the prefix. The length of the prefix is sometimes 10 (cf. IANA 
>> allocation), at times 64 (cf. RFC assignment), at times 128 (cf. 2
>>  RFCs) and other intermediary values are known to work.
>> 
>> Is this 2nd try along your line of thought?
> 
> Sure,

Thank you.

If you you do not mind, I will tweak this text a little, and add it in 
the draft about the prefix len of LL addresses.  I will put it as a 
separate section.

> and what with my solution doesn't solve your problem?

It does solve the problem, but in a slightly different way than 
fe80:1::1 does, and which seems little compatible with RFC 4291 Subnet 
ID - IID distinction.

>> 3 more problem statements about 'some wireless settings' can be 
>> found in the IPWAVE WG Problem Statement draft.
>> 
>> Is this 3rd kind of problem statement something that may be 
>> answering your request to provide a problem statement?
> 
> Sorry, I see nothing in draft-ietf-ipwave-vehicular-networking that 
> directly points to the length of the link-local prefix being a 
> problem.

The problems in that draft are probably of less importance to 6MAN WG 
specialised reader.  Your reaction makes me think it is not this kind of 
3rd problem that you requested when you asked for a Problem Statement.

Probably number 2 is, and less probably number 1 is.

Alex

> 
> Cheers, Ole
>