Re: Generic anycast addresses...

Bob Hinden <bob.hinden@gmail.com> Fri, 12 July 2019 15:14 UTC

Return-Path: <bob.hinden@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 398081205E7 for <ipv6@ietfa.amsl.com>; Fri, 12 Jul 2019 08:14:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.703
X-Spam-Level:
X-Spam-Status: No, score=-0.703 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, PDS_NO_HELO_DNS=1.295, RCVD_IN_DNSWL_NONE=-0.0001, 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 (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 LMjhNL8VTRoF for <ipv6@ietfa.amsl.com>; Fri, 12 Jul 2019 08:14:48 -0700 (PDT)
Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 16C3B1205E3 for <6man@ietf.org>; Fri, 12 Jul 2019 08:14:43 -0700 (PDT)
Received: by mail-wr1-x429.google.com with SMTP id z1so10320473wru.13 for <6man@ietf.org>; Fri, 12 Jul 2019 08:14:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=3j7z8WhpCNH/mHwNJE6rJIdVGCkiaVTrgqVVJ2Rr5EI=; b=gJ0eMvvL7ubAS4yf0WRWmgC1aXJ7EPjpgl9MtYdeppZ5IPBQZN57TiKbgHOpZ6N3G3 xY5pfDRHjPJJezgGeiHUbNanlJeU5d9cRmUin9HpTcvuTp7SGyrRCnjPZRsm2B4TJaOF GgC/oWZMmdVLbaUAbqtGpULdDbItWDLn2BRKKYXrRsbb8sDKjcEYtL+rVnq4WwdYPssd UPVUdsgZao4ZmmcQ2emRkhTcOhFgN9Lj/m2leCv/+00MuaREA/WGo2fK2Id1g52Rj7oc 9w+xaCjTYOqzIL5erEdiwhIw7b64hLjfRyFg6MoSKEAeiU2CFTCxQN3b9XmTcn+U7DsF Oudg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=3j7z8WhpCNH/mHwNJE6rJIdVGCkiaVTrgqVVJ2Rr5EI=; b=fS5MtleSzPgao7KOJu5IWZWINjPOj30wr4BbAQdvhJeWjvlq/dNEX9QJW9gZEEgHao 2SDV4IwSLcrMgNVlGeobqLhF80AQ+EpUJxBKa3MEyIxEUK/UQEtnUSi+2eiF4c00M5LR r9awmn07gJPDESYXwyMjKN+jl7Hgp0hB1Osw12U8clGBzgYKRCJqSjbzWuWRSOdD/Rjg IKWn9+mEI8FO67+hTYRPkQo2C7GquJ6LQnVNc5CJbgwY6FWz114MLbiu7WOA733iaOKS EnFX9gm/PSFX4co/w7ha3CiAX6b0SJ465lgc/S1ZieYUlsMBa8CBcco+F9yyBuCgjlqk r4LA==
X-Gm-Message-State: APjAAAVAZeJxINuYb9/B3fvyYgCWDeQtdoEgQV0xkttQxtBxSdPlL3uW sMbAqC86Jmzhun5qeCQvIos=
X-Google-Smtp-Source: APXvYqzK2bSg4k4/9BgZzkDyDhDUHA3wxkSkzwzPOeVJ1oej1WIEq3/tQuyYh1Zh8QK6TewmJo4i0A==
X-Received: by 2002:adf:8364:: with SMTP id 91mr12238514wrd.13.1562944481534; Fri, 12 Jul 2019 08:14:41 -0700 (PDT)
Received: from ?IPv6:2601:647:5a00:ef0b:58fb:c7d7:5a6:1a58? ([2601:647:5a00:ef0b:58fb:c7d7:5a6:1a58]) by smtp.gmail.com with ESMTPSA id o20sm20477014wrh.8.2019.07.12.08.14.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jul 2019 08:14:40 -0700 (PDT)
From: Bob Hinden <bob.hinden@gmail.com>
Message-Id: <EE9B7432-91B6-4C9F-911B-3D7531AE17E7@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_06B4A42A-B678-457C-8302-12FCF216C34F"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: Re: Generic anycast addresses...
Date: Fri, 12 Jul 2019 08:14:37 -0700
In-Reply-To: <F8BDFED1-744A-4476-9913-43D34AE15D67@fugue.com>
Cc: Bob Hinden <bob.hinden@gmail.com>, 6MAN <6man@ietf.org>
To: Ted Lemon <mellon@fugue.com>
References: <D22E680C-3EE3-4AD7-90C0-9339DA2E5A29@fugue.com> <F8BDFED1-744A-4476-9913-43D34AE15D67@fugue.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/P7M2Vqy-3F-mO2ygmwkfWPIGPoU>
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, 12 Jul 2019 15:14:51 -0000

Ted,

> On Jul 12, 2019, at 6:44 AM, Ted Lemon <mellon@fugue.com> wrote:
> 
> An update on this, in case anyone’s wondering.   It turns out that PCP does have an anycast address allocated, as do a few other protocols.   There is no explicitly designated anycast prefix, and the anycast address is just a regular global IPv6 address with no scoping rules.

That is, of course, the definition of IPv6 anycast addresses.

From Section 2.6. Anycast Addresses of RFC4291:

   An IPv6 anycast address is an address that is assigned to more than
   one interface (typically belonging to different nodes), with the
   property that a packet sent to an anycast address is routed to the
   "nearest" interface having that address, according to the routing
   protocols' measure of distance.

   Anycast addresses are allocated from the unicast address space, using
   any of the defined unicast address formats.  Thus, anycast addresses
   are syntactically indistinguishable from unicast addresses.  When a
   unicast address is assigned to more than one interface, thus turning
   it into an anycast address, the nodes to which the address is
   assigned must be explicitly configured to know that it is an anycast
   address.

   . . . .

Bob


> It appears to be the case that the prefix 2001::1//64 has been used for this.
> 
> Ironically, I had actually put this in the SRP document a while back, and forgot about it.  This thread was sparked by my attempt to find an anycast prefix with scoping rules, which I failed to do.
> 
> FWIW, given that well-known anycast addresses are a current practice, I think it makes sense to have an explicit prefix from which they are allocated.   I do not know what would happen if I sent a PCP anycast—how far it would get before it was dropped due to lack of a route.   But it seems likely that it will escape the site.   This is probably not ideal for a lot of use cases, SRP being one of them.   So it might be worth writing a draft that addresses this and reserves a prefix with site scoping rules that we can safely assume will be followed.   Allocating a prefix out of fc00::/8 would address this problem.
> 
> I have no appetite for a general solution to this problem, and I didn’t get the sense from the (rather long) discussion we had on this that anyone else did either, with one exception.   The use case I know we need is site-scoped.
> 
> Despite being in Montreal, I will not actually be able to attend 6man because it’s opposite one of the DNS working groups.  If people are interested in talking about this, ping me and we can arrange something.
> 
>> On May 29, 2019, at 6:48 PM, Ted Lemon <mellon@fugue.com> wrote:
>> 
>> I was looking through the IANA registry for anycast addresses with an idea of what I wanted, and was surprised to learn that no such thing exists.   I’m curious if what I want is something that’s already been shot down in flames, or something for which no energy has existed to do.
>> 
>> Right now it appears that anycast addresses either aren’t special (that is, they are just IP addresses in someone’s prefix) or are link-specific (e.g., the subnet router anycast address, which if I understand it correctly is constructed of <local-prefix>::0).
>> 
>> What I am looking for is an anycast address that won’t match any local prefix, so that it filters out towards an egress router and is caught somewhere along the way, or worst case, at the egress.   I can see where this would have gone down in flames, since we don’t want anycast packets to keep going toward the backbone and create congestion, so that might explain why this hasn’t happened.   But we do have the notion of scopes, e.g. for multicast, and that would seem to apply for anycast as well.   We do allow multicast in scopes larger than the local subnet, and AFAIK this has not melted the Internet.
>> 
>> The actual use case I have for this is wanting to be able to have a constrained device send a unicast discovery or announcement which can be assumed to be caught and handled by infrastructure.
>> 
>> So, is this something that’s been talked about and abandoned as a terrible idea, or abandoned because nobody wanted to do the process to make it happen, or is it (seems unlikely) an innovation on my part?   Or is it already done and I just managed to not find the document describing it?
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------