Re: Generic anycast addresses...

Ted Lemon <mellon@fugue.com> Fri, 12 July 2019 13:44 UTC

Return-Path: <mellon@fugue.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 ECC29120108 for <ipv6@ietfa.amsl.com>; Fri, 12 Jul 2019 06:44:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.603
X-Spam-Level:
X-Spam-Status: No, score=-0.603 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=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=fugue-com.20150623.gappssmtp.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 KoSRIrnyoj1L for <ipv6@ietfa.amsl.com>; Fri, 12 Jul 2019 06:44:07 -0700 (PDT)
Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 D92C01200CD for <6man@ietf.org>; Fri, 12 Jul 2019 06:44:06 -0700 (PDT)
Received: by mail-qt1-x830.google.com with SMTP id h21so8046016qtn.13 for <6man@ietf.org>; Fri, 12 Jul 2019 06:44:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=ntz/YkHB8s3Cr4MGnj/FRRaQvPnzjkTW01mUb34Hqk4=; b=NNYv7rqsrJIns/lflLKgY/pSyhaD28bonkS5ThFX72hcsBI3P2SRHkKmM9dZcnGjsp siqkXKB4f6YSluL8Xy6F5J2xJgfOClpZWBb5IqyD/UPLIwVJGBVqTtxdkSGbCfSgM9Xm cydNkaTze5Alm7HDGMANFbP0DY1RaKxy71GTZ+CaBUOvXtKSZVNuErBY8uOfePbojwQe lbwqO72UqyGGls4NyH50kMsJp9A+cLpQsHJSqvR1Gf8bHdI78mE2PZtQSQrpBgwctpa6 HJDk5BOeOWtLmRjC3ETziNISuvuPOSixakC85fs5lTj73ZpJ9OlrAq9ikGieVHVFA21/ JeOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=ntz/YkHB8s3Cr4MGnj/FRRaQvPnzjkTW01mUb34Hqk4=; b=BNFP5IDzwxGlJYtzFUQ0sQRFQcbc57gY+L5khOPgwePOcJZbgr9aOxNU80AgoHsQ4O R7a70x/Q4DQrDcmBVZRrqdIOgHkc7OKZvMNVtwHH21IztUBTtuDoSc9g0kFOXufrgj4/ x3T7yOOyOTOmqs7AAAszXtlb1If1s6Vc2VWm+m2d5HCNNXlkRkaAXk/nicWKvzoWLEar iwZmxHPHKT0+igbu/Iot3QNR6qwNMv4Zw+M/D25m6mrK12unoQ+J7jW7ZmPz2wwrNxf+ 3/REHno6EEMe7slJ5jtZEXkckzrFYG3Cmz1xJl/7Igoa7ln24XJEsfFYXbMoqsXVoL5a mIsg==
X-Gm-Message-State: APjAAAXB3kS8h6gyyh46vyvIgIZdeFUXxBhLDV+7P+XRGNhXuE8QY09J oU+3ia+7+nTGWSpvUTrWszkbTVYa2l4=
X-Google-Smtp-Source: APXvYqyP/AA8d8E6+IgPYfcj/iqDHeyqGy+n2WZED4K4xQMXCUT5Kr54cLLQjDg8wy1ophidN6aDlQ==
X-Received: by 2002:ac8:1a7d:: with SMTP id q58mr6445280qtk.310.1562939045818; Fri, 12 Jul 2019 06:44:05 -0700 (PDT)
Received: from ?IPv6:2001:470:c1a2:1:358d:7499:872b:5444? ([2001:470:c1a2:1:358d:7499:872b:5444]) by smtp.gmail.com with ESMTPSA id m44sm4450889qtm.54.2019.07.12.06.44.04 for <6man@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jul 2019 06:44:05 -0700 (PDT)
From: Ted Lemon <mellon@fugue.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_96ECB5A9-1A5B-4B5A-B7E1-7C244E1A419C"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: Re: Generic anycast addresses...
Date: Fri, 12 Jul 2019 09:44:01 -0400
References: <D22E680C-3EE3-4AD7-90C0-9339DA2E5A29@fugue.com>
To: 6MAN <6man@ietf.org>
In-Reply-To: <D22E680C-3EE3-4AD7-90C0-9339DA2E5A29@fugue.com>
Message-Id: <F8BDFED1-744A-4476-9913-43D34AE15D67@fugue.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/tbmBFFH75BXJJa9rAW3g_WtbORY>
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 13:44:09 -0000

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.   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?