Re: Question on anycast IID range(s)

Suresh Krishnan <suresh.krishnan@gmail.com> Thu, 03 January 2019 04:01 UTC

Return-Path: <suresh.krishnan@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 8D9D913104C for <ipv6@ietfa.amsl.com>; Wed, 2 Jan 2019 20:01:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, HTML_MESSAGE=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 U-p_hzyMp-4V for <ipv6@ietfa.amsl.com>; Wed, 2 Jan 2019 20:01:52 -0800 (PST)
Received: from mail-yw1-xc2b.google.com (mail-yw1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) (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 94DEC13105F for <ipv6@ietf.org>; Wed, 2 Jan 2019 20:01:52 -0800 (PST)
Received: by mail-yw1-xc2b.google.com with SMTP id k188so2262800ywa.6 for <ipv6@ietf.org>; Wed, 02 Jan 2019 20:01:52 -0800 (PST)
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=aNKo4e63QWnBMfUytpvymWd9ZNkvTQUtPN2AONh0Axw=; b=XTmtsBdJzBs56S15KAxRSkO9ie/BwWvYqPUlrxyFiWY2GLVJG2UzJb/cilbgL5VuK0 TqZk+XYsDhduZLs2VbN9szdqfLJ0nA9uWGLqLnvD+fV24BU6a5gAnsstO8MANTUMsjj6 TJKJwjcJC1dvh/2XEFwkxCzU0UAHArvA1jNBVOL7l0QIxqyALVDGshhPgiDieW4kL7iS 5aDGbFU3/AwbV6tC8OTgH5Qq1ZAlTeQ2jIN7G2va3P7TsoZHrhSsWr5jJTwVPkH5kiIX RDWB+PZMGMoz9MCygwzTayQTLPKSC54qf5DaSTAV+XmsD5yZVjyG5RBdYTCpxp9nTtXp E77Q==
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=aNKo4e63QWnBMfUytpvymWd9ZNkvTQUtPN2AONh0Axw=; b=Nt5DgeIpljNbPM4Rky33gVcmM58GoX4jethrk5cHGuurp3hXPBKRi2cG+y56Y6satX /9r3wiC9Zrysf4N+YaZbPFmatrpjGW2U5bsukQHsdWfgICtvn8NOrB9PxhsVFG5pOuiC gwnQoi/KVKlM3fZpE6WC4bZGCIeE5VVpnZOjdhsnwBdBsYOYWIXftqoV9zzzE3gPNC3i ylCPJ8OAIBUJANi37IAw2m21mOju6trbmF3hho6blaDYGzSSVfDqsopP5d2rItRN3/E9 ygj2Ke+Leo6uE+6cJZ5v64/d8S/SkVoxBhlLE4J7vjzSSTQ8kRK4+EKZ3PlGZMnmB69C Nf7A==
X-Gm-Message-State: AA+aEWYsvAfNvnAwmJes+UEsbzV4UVuS9iV1ciEgMTSPUWqDsPz5flJk 9+Fpyir8bf/YBY6gwDvtwAQ=
X-Google-Smtp-Source: AFSGD/VUpZrq+sfYAewSSlDT+MeskX1vxdQPP+dxt19/iNSXwTxPEYBBfIYndGmsuaIqp0761OOaxw==
X-Received: by 2002:a0d:ec86:: with SMTP id v128mr45184073ywe.429.1546488111466; Wed, 02 Jan 2019 20:01:51 -0800 (PST)
Received: from [10.0.0.20] (45-19-110-76.lightspeed.tukrga.sbcglobal.net. [45.19.110.76]) by smtp.gmail.com with ESMTPSA id z2sm18611435ywe.32.2019.01.02.20.01.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Jan 2019 20:01:50 -0800 (PST)
From: Suresh Krishnan <suresh.krishnan@gmail.com>
Message-Id: <6C9EA505-BAD2-42BE-9E99-680E8CB9FAE9@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_78853A1A-32ED-4AE5-9A3C-CCE818CBC619"
Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\))
Subject: Re: Question on anycast IID range(s)
Date: Wed, 02 Jan 2019 23:01:49 -0500
In-Reply-To: <92a6d888-ead1-9b40-1b1c-d9584957214c@gmail.com>
Cc: 6man 6man <ipv6@ietf.org>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, Kerry Lynn <kerlyn@ieee.org>, ek@loon.co
References: <CABOxzu1O6qd_23xLgpAsx6BiZ09SCNUAgFurOL2UX4HQTvYFCA@mail.gmail.com> <CAAedzxq=AHCD6MSksz4P4ZGVxamStF3x2+xTasJH+oOxFY5H9Q@mail.gmail.com> <CABOxzu3iV7ymCTGESQ20yDtqTBdggo_5yVZquY6vcG+XfEsDQA@mail.gmail.com> <827c7f24-0161-960b-18f6-c451ac471f79@gmail.com> <CABOxzu3fUGjoy29-7=zU2Lky+1oKHQFDSnDcu346xkE8joQ_DQ@mail.gmail.com> <92a6d888-ead1-9b40-1b1c-d9584957214c@gmail.com>
X-Mailer: Apple Mail (2.3445.100.39)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/NEQ-azrhjSjjRa43suNZbnniwCM>
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: Thu, 03 Jan 2019 04:01:56 -0000

<AD Hat off>

Hi Brian/Erik/Kerry,

> On Jan 2, 2019, at 4:52 PM, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
> 
> On 2019-01-03 09:37, Kerry Lynn wrote:
>> On Wed, Jan 2, 2019 at 2:57 PM Brian E Carpenter <
>> brian.e.carpenter@gmail.com> wrote:
>> 
>>> On 2019-01-03 07:15, Kerry Lynn wrote:
>>>> Thanks Erik,
>>>> 
>>>> My question was ill-posed *and* contained a typo.  I'm really trying to
>>>> figure out
>>>> which range(s) of IIDs RFC 2526 is trying to reserve for anycast use.  I
>>>> now think
>>>> the answer is fdff:ffff:ffff:ff80-fdff:ffff:ffff:ffff based on RFC 5453
>>> and
>>>> 
>>> https://www.iana.org/assignments/ipv6-interface-ids/ipv6-interface-ids.xhtml
>>> 
>>> If I take RFC2526 literally, ffff:ffff:ffff:ff80-ffff:ffff:ffff:ffff
>>> is also reserved, for IIDs not in modified EUI-64 format.
>>> 
>> That's the problem with RFC2526; at the time it was written there was a
>> class of
>> IPv6 address that required IIDs to be 64-bits AND in EUI-64 format.  Given
>> that the
>> latter requirement no longer seems to hold, it would seem the basis for the
>> range
>> fdff:ffff:ffff:ff80-fdff:ffff:ffff:ffff no longer exists.  Yet, this range
>> is now enshrined in
>> RFC5453 and
>> https://www.iana.org/assignments/ipv6-interface-ids/ipv6-interface-ids.xhtml
>> 
>> But RFC7217 doesn't mention RFC2526, which might be a bug.
>>> 
>> RFC7217 (and any other proposal for IID generation) should take RFC5453 and
>> its associated registry into consideration.
> 
> It does. But the gap is that RFC5453 doesn't call out
> ffff:ffff:ffff:ff80-ffff:ffff:ffff:ffff

Looking back at my notes on what became RFC5453, this is not a gap but something I had intentionally left out of RFC5453 based on the addressing usage then. I will try to explain my reason why and we can see if this still makes sense or not. 

According to RFC2526, "for IPv6 address types required to have to have 64-bit interface identifiers in EUI-64 format” the reserved anycast range was only 

FDFF:FFFF:FFFF:FF80-FDFF:FFFF:FFFF:FFFF

Since RFC4291 defined all the space other than ::/3 to be used only with 64-bit IIDs, and the goal of RFC5453 was to avoid address conflicts for SLAAC (which used 64 bit IIDs due to reasons explored in great detail in RFC7421), this is the range that was put into RFC5453.

> Yes. I've posted an erratum to 5453. At the time, ffff:etc might
> have seemed like a corner case, but 2526 did actually cover it.

2526 covered this *only* for non 64-bit non EUI-64 IIDs. If we do want to cover the non 64-bit cases then the range Brian suggested above is insufficient (because the IIDs will not fit in the 64-bit range suggested) and would require a more considered change.

Thanks
Suresh