Re: IID length text [was Re: Review of draft-ietf-6man-rfc4291bis-06]

Lorenzo Colitti <lorenzo@google.com> Tue, 17 January 2017 01:08 UTC

Return-Path: <lorenzo@google.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 7673A1298D0 for <ipv6@ietfa.amsl.com>; Mon, 16 Jan 2017 17:08:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.899
X-Spam-Level:
X-Spam-Status: No, score=-5.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-3.199, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 eOeWivURLh0q for <ipv6@ietfa.amsl.com>; Mon, 16 Jan 2017 17:08:46 -0800 (PST)
Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::22f]) (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 D8A5312994F for <ipv6@ietf.org>; Mon, 16 Jan 2017 17:08:45 -0800 (PST)
Received: by mail-vk0-x22f.google.com with SMTP id k127so37889878vke.0 for <ipv6@ietf.org>; Mon, 16 Jan 2017 17:08:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bfunVc9Iw7ub2GHEzCIxISw4bhfkVI2hJSVMRoujADQ=; b=QDyO+E6g7gzm+ObA14mzDI+354RkbiDMJTq5mE9x6zr3QulifDJwMHMUc1SZmQZuPD kqJE5AJaHtb0m+Lo2KRMdpsZhDoV53R58o3bImNmnBIK+IgMrjEoPF2ft/BqCoDYIdDB lQdxOFnCav2lt9o113e1yGoiMkMDWJQgpmDml7SqVgwhmSkQpzgvmOHaUNPTM642n8aR NfjHCkJjwBALEd7NA1+NBKiCp+e7wmH2BKiWdbaRPvmokvjZoqL7/cLvT6dUprqqt9mw 88M2tcN/Geo2yC+aJiIeV20s2er1Xi/dniND0hawZ+WNLy8MlYQOT3VmmA36HsfkgrlS rllg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bfunVc9Iw7ub2GHEzCIxISw4bhfkVI2hJSVMRoujADQ=; b=OKg+LJIUFZMetSfM0Lz8IpI7OFQMnYqDTaEo2sRk1sTugEiZLH+NDmcDmEKIFUWSN7 wAiyI+OsT2CE0rW1Ux3BLiAX6q+m2D5FuADhdBW6IoR1N7xxof/2389rI4cyklv7WBtV X31cxgqcAFogyYDmU2CYeCf4C47ZDllTj/zJFvoseH6c7ZRoaaMBnuNNH89Pj0cyUHOJ cZDRHMzBobrW9ciM0pjbJ9JvfFBYvJwyHXthMKB/m1me/If/B/u343b71DfQgAn/QNiM yC+6YjbMQ9wkMIoK+XXBdTVOGHdHVFTlN5zrs511JZxw2aYLJT8b0HYsir19l8UqM/xz Kl+g==
X-Gm-Message-State: AIkVDXJwejRl+gu8fAmIXGzPl9b1WFok14ptHSl3o58zhAnTTrkgY920dRk1j8QiF/j6fthW8NDbflN3Wsh2RuYx
X-Received: by 10.31.88.1 with SMTP id m1mr17685637vkb.83.1484615324741; Mon, 16 Jan 2017 17:08:44 -0800 (PST)
MIME-Version: 1.0
Received: by 10.31.171.2 with HTTP; Mon, 16 Jan 2017 17:08:24 -0800 (PST)
In-Reply-To: <93700502-5d49-86ce-11b0-ab9904423961@gmail.com>
References: <148406593094.22166.2894840062954191477.idtracker@ietfa.amsl.com> <m2fukqbbwv.wl-randy@psg.com> <F6953234-3F85-4E28-9861-433ADD01A490@gmail.com> <m2wpdzhncn.wl-randy@psg.com> <82245ef2-cd34-9bd6-c04e-f262e285f983@gmail.com> <m2d1frhjfn.wl-randy@psg.com> <18e6e13c-e605-48ff-4906-2d5531624d64@gmail.com> <CAKD1Yr1cvZ8Y3+bHeML=Xwqr+YgDspZGnZi=jqQj4qe2kMc4zw@mail.gmail.com> <m2lguffnco.wl-randy@psg.com> <CAKD1Yr1TrTiPRdyutobmb_77XJ7guNzLrg=H_p7qi4BfQ8V=GA@mail.gmail.com> <m2d1frfm6m.wl-randy@psg.com> <CAKD1Yr2Njjd8_Mr+6TRFF6C5pdcX4yFgpFVyEkykDuytu2B8mg@mail.gmail.com> <2A5073777007277764473D78@PSB> <4596c3d4-a337-f08e-7909-f14270b7085f@gmail.com> <CAN-Dau06R3iYRpYLADhvHox4C9qdsJCuxFsJapRhOQcWT4qk_g@mail.gmail.com> <CAO42Z2weZcoHiBzN94QAQ9WGhWR16PmMMFNg=5YLmr_dhPjjpA@mail.gmail.com> <fcf580ec-3617-ca5f-5337-37acb6e928ba@gmail.com> <CAKD1Yr25zNeQGvNJa=WzCjKMd9LaYrSwG=o4tUWn1Zc2ASZjrA@mail.gmail.com> <93700502-5d49-86ce-11b0-ab9904423961@gmail.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Tue, 17 Jan 2017 10:08:24 +0900
Message-ID: <CAKD1Yr3wyza0_enWErMhmKKkA1ZOXPv5GG8dMT8HUQZsB5--UQ@mail.gmail.com>
Subject: Re: IID length text [was Re: Review of draft-ietf-6man-rfc4291bis-06]
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Content-Type: multipart/alternative; boundary="001a114e53640f7ed505463ff1c4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/wvmkZl3Z1wq3P2KhOL-jXPhrMGo>
Cc: 6man <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.17
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, 17 Jan 2017 01:08:47 -0000

On Tue, Jan 17, 2017 at 4:57 AM, Brian E Carpenter <
brian.e.carpenter@gmail.com> wrote:

> > what's the specific rationale for this change? Is it a bug in 4291 which
> > you're proposing that we resolve in 4291 bis? If so, what is the bug?
>
> The bug is that in SLAAC, the IID length is a parameter, not a constant,
> and that in routing protocols, the prefix length is a parameter, not
> a constant. The addressing architecture needs to recognise that.
>

There is no bug here.

What that text in 4291 says is that if you run SLAAC on a Global Unicast
address not starting with ::/3, then the length of the IID is 64. But when
running SLAAC on non-Global Unicast addresses, or Global Unicast addresses
in ::/3, then the length of the IID is not specified in RFC 4291 (and
presumably left up to the IPv6-over-foo documents).

That is why, for example, RFC 2464 has to say that on Ethernet, the
link-local address "is formed by appending the Interface Identifier [...]
to the prefix FE80::/64". It also says that the IID length is always 64
bits and SLAAC prefixes must be /64. If IPv6 all addresses were classful
and the IID length were always 64 bits there would be no need to say that.

Also, I'd argue that SLAAC exists to generate IPv6 addresses that conform
to the addressing architecture, not the other way around. But that is not
in any way necessary to resolve a conflict between the two documents,
because there is no conflict.

> BTW: if the reason for the text is a perceived contradiction between the
> > fact that "IIDs are 64 bits" and "IPv6 addresses are aggregatable on all
> > bit lengths" - I don't see a contradiction.
>
> I suggest discussing that with Randy Bush.
>

While Randy's "I want to use smaller subnets than /64 because classful
addressing is stupid" is a valid position, that does not mean that there is
a contradiction between the two specifications.

So again - what is the text trying to accomplish? I don't see a bug in the
specs. Therefore, it seems to me that the proposed text is changing the
IPv6 architecture in a pretty fundamental way, and I don't think it's
reasonable to do that at the same time that we elevate it to full standard.