Re: Globally Unique Link Local Addresses (Re: about violation of standards)

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 23 April 2019 21:52 UTC

Return-Path: <brian.e.carpenter@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 BE5F2120615 for <ipv6@ietfa.amsl.com>; Tue, 23 Apr 2019 14:52:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 xdBZDE7tFS8T for <ipv6@ietfa.amsl.com>; Tue, 23 Apr 2019 14:52:19 -0700 (PDT)
Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (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 81FD2120608 for <ipv6@ietf.org>; Tue, 23 Apr 2019 14:52:19 -0700 (PDT)
Received: by mail-pg1-x542.google.com with SMTP id k19so8272594pgh.0 for <ipv6@ietf.org>; Tue, 23 Apr 2019 14:52:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TksZI2J2RYIrWHBfyYqo2VPsujHdKM31fYSxbNLilIk=; b=lCxbmL9oeMtYCqZN6eqeEgVR7F42GAZC7e9Xrm0fhU9l/tp7gQ5mVlNGSRLu5vcPUE SMcdzW7OL05XCnWlf0ZyM8Uvh++p3SXzk355rjcjQnTSH4uLO6ibtDocyaq1dWOCzdeF 2RnzjL4Ap1jRDZZFauD5RoECWR9quYzoVFBpXoRZ+ytZHdOBoPwbImIwqJgmLn+ggfo2 CmuaoCCg1jKNYIbtKgV3SUi/vgOLqDxki7Q8K9mfQnLZ0Iiy3Unpyd52WjduY3bUZwmY 5LnHS7YbuG1c55iSrJKx8l744UxubmUD+6rRJAAbE8QQ+xIanARe5L35jmAOmG5ZHmh3 EP0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=TksZI2J2RYIrWHBfyYqo2VPsujHdKM31fYSxbNLilIk=; b=Mh6QnnQv+VHB6vuFLOxY07Lacy6HSmpHmLdu1FtE4IDzOLaRLbo9aVldVwJiBdlSpe UZYikJTbMcnJLnkoWB6gHIv2Wf3m2nqid0PwIE2YynVXEi0LuKlBKTJ/nRjkyQv2pV7s 9WLtBvseJGmovnYodHVtPIT2YDDKf4XnE9R8OQJ5j1dQWXjF8bmul9q/deefw+JWEUM2 yygitKrYE+OdvleB5i5PeMfJHDxvZhl+HvJwhu3c666C/uu5Sl4Jz4AS+JEYZqoPuTNR +YUNtne4NOC1QkUTvEozo5R9A7Hrd5GbwMrefddeCdFhdIWRhVM2B7X6czRdyRQkIVHK U1JA==
X-Gm-Message-State: APjAAAVHq4Csat2aKjkmnMyFiGJVapgExHPpeeqmLmTMGYk7lUpvYsPN KXYhILSSqt3rZAweLFKuTD21EnL/
X-Google-Smtp-Source: APXvYqz7FU1Ux/X5sxGdiM6VyCZx2VDL9H+9uFQ/vwfTqErf4+fQV4GseeD+h7ZMDoP9zIzagSIKqQ==
X-Received: by 2002:aa7:938b:: with SMTP id t11mr29366200pfe.67.1556056339000; Tue, 23 Apr 2019 14:52:19 -0700 (PDT)
Received: from [192.168.178.30] ([118.148.72.205]) by smtp.gmail.com with ESMTPSA id p17sm22096818pfn.157.2019.04.23.14.52.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Apr 2019 14:52:18 -0700 (PDT)
Subject: Re: Globally Unique Link Local Addresses (Re: about violation of standards)
To: Mark Smith <markzzzsmith@gmail.com>, Ole Troan <otroan@employees.org>
Cc: Fernando Gont <fgont@si6networks.com>, "Pascal Thubert (pthubert)" <pthubert@cisco.com>, 6man WG <ipv6@ietf.org>, Alexandre Petrescu <alexandre.petrescu@gmail.com>, 神明達 哉 <jinmei@wide.ad.jp>
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> <47631828-121F-402D-8165-969684C1101B@employees.org> <CAO42Z2wbq=8f6FfR7DoOOFrY7B5puxS26Dk+SsM71Pk7y03ipQ@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <afa6e0e2-0a31-53f0-0f41-5e24c81405da@gmail.com>
Date: Wed, 24 Apr 2019 09:52:13 +1200
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: <CAO42Z2wbq=8f6FfR7DoOOFrY7B5puxS26Dk+SsM71Pk7y03ipQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/eZZE_48H21R74Cx6aGErSBe4jBA>
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: Tue, 23 Apr 2019 21:52:22 -0000

Firstly, I don't believe they could in any sense be globally unique.
(Even ULAs don't claim to be mathematically unique, just probably unique.)
So let's call them LULLAs (Locally Unique...), a.k.a. Lullabies.

However:

> however it would be simpler for applications to not have to special case Link-Local addresses and use sin6_scope_id.

But they have to anyway, because you can't know in the general case whether LULLAs are in use or not. Anyway, there's nothing new about needing to store an
interface index number (or name) with an LL address. Any existing code that
is LL-dependent already does this, unless it's broken.

Regards
   Brian

On 23-Apr-19 21:57, Mark Smith wrote:
> 
> 
> On Tue., 23 Apr. 2019, 17:33 Ole Troan, <otroan@employees.org <mailto:otroan@employees..org>> wrote:
> 
>     > Some functions in the router are complex to implement because same value for a link local address appears on multiple interfaces.
> 
>     Like what?
> 
> 
> 
> I don't specifically know about complex to implement router functions, however it would be simpler for applications to not have to special case Link-Local addresses and use sin6_scope_id.
> 
> 
>     > It would be useful to be able to encode an abstract interface ID somewhere in the /64. Legacy 00 would mean unspecified...
> 
>     Sounds like you need subnet-id election?
> 
> 
> Here's how I've thought you could do it for quite a while.
> 
> I've thought the best idea would be to have a subnet ID that is generated using the same/similar algorithm ULAs are generated with, to try to avoid subnet ID collision across links attached to interfaces on the same multihomed host or router.
> 
> A name could be Globally Unique Link Local Addresses (GULLAs) or Unique Link Local Addresses (ULLAs). (I'd think the first, just because its a more easily pronounceable word.)
> 
> 1. First node on the link looks at the RAs that it receives due to its RSes.
> 
> 2. If none of them have a PIO for a subnet within the GULLA aggregate prefix (which may be fe80::/10), it generates a subnet ID per the ULA algorithm, resulting in the link's GULLA Subnet Prefix.
> 
> 3. The node starts advertising RAs containing the GULLA Subnet PIO. If the node is a host, the Router Lifetime is 0. The GULLA Subnet PIO lifetimes are not Infinite, unlike the lifetimes for the traditional LL prefix and addresses. Lifetimes in this PIO probably should be the RFC 4861 defaults. (If the node is also a router, it would advertise any other PIOs in the same RA, with a non-zero router life time if it is a default router.)
> 
> 4. Second node on the link, due to its RSes, would see that another node is already announcing a GULLA Subnet PIO in one of the received RAs.
> 
> 5. Second node starts also issuing RAs also containing the GULLA Subnet PIO. Again, if the node is a host, RA router lifetime of zero.
> 
> 6. 3rd and subsequent nodes attached to the link have some sort of election or selection algorithm to determine which one or ones take over if the first or both nodes stop issuing periodic RAs containing the GULLA Subnet PIO.
> 
> Ideally it would be good to have non-GULLA nodes also learn and use this new GULLA Subnet, learning it from the GULLA RA announcing nodes. However, that would mean that the fe80::/10 prefix couldn't be used, because per-RFC4861, nodes are to ignore RA PIOs for the Link-Local prefix. So the GULLA aggregate prefix would have to be outside of fe80::/10.
> 
> The above is mostly inspired by very distant memories of how Appletalk seed routers work to convey cable range (network prefix) information to other Appletalk routers on the link.
> 
> Regards,
> Mark.
> 
> 
>  
> 
> 
>     Ole
>     --------------------------------------------------------------------
>     IETF IPv6 working group mailing list
>     ipv6@ietf.org <mailto:ipv6@ietf.org>
>     Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>     --------------------------------------------------------------------
> 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>