Re: IPv6 Routing & ND vs. Addressing, (Was: Re: <draft-ietf-6man-rfc4291bis-09.txt>)

Lorenzo Colitti <lorenzo@google.com> Mon, 10 July 2017 02:03 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 5853F129503 for <ipv6@ietfa.amsl.com>; Sun, 9 Jul 2017 19:03:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 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_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, 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 LbxB_apbHW-v for <ipv6@ietfa.amsl.com>; Sun, 9 Jul 2017 19:03:36 -0700 (PDT)
Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::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 A35B7127337 for <ipv6@ietf.org>; Sun, 9 Jul 2017 19:03:36 -0700 (PDT)
Received: by mail-ua0-x22f.google.com with SMTP id g40so45846894uaa.3 for <ipv6@ietf.org>; Sun, 09 Jul 2017 19:03:36 -0700 (PDT)
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=G0GSRVojkJvGC+L/trHgPQXZVELq+WrJXD2QGTJF0sk=; b=Ivg5tWfP7FftxW2ie6NcxZVLC5QNuGbkImpJ3mtRfSvCvCf9tZlEBkOv/IK2SFscT0 708/oKxUlYh08fL60K9WyAtuiqt3OTZXrJP0zX1dxdY5v6NILMocZf2cz2IJ574Nq2D7 xpn+kQp+tbFLAIJslkhT+U6d79AGizclTaplBZ6qLrVsIOx2/YxfnDzb+QHC/lL6XkOm b3eh5WPkZRwKlVaM2wYWv1oXWiziNGlGRYwgxHL5DDCr18JA2MrR64ruVGQ9etQVPFWj r/UHBhoja35IBa17k8oujgOkaT+YS+ajdsmhBIYoxRX9YvteFdiFruzszV0ISj4JVkwO VrbA==
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=G0GSRVojkJvGC+L/trHgPQXZVELq+WrJXD2QGTJF0sk=; b=Zxo+mvdodwIdyxGR+KlqrP2yzab2Utj0p6IL9WfxNRXhuC23zxJhgA8+j9ShElizJL gBvfj473Uzan3Vc2OnMy03S8mK+n6Iuce6eSbhg2QvORbKbnQyFM7qfQelZaqXtaKWf4 jKYPn9oPda5+uBAud9aI54ZEcrpwDB3bEHf6a7tUHfJ7iP5WwyJ5ioDaz9hHU+BoMW/M mwiNwf8wx1KTwP2N+bm5VMjJq83z5BjWKuiL72v/nxPKXDa5FKg2CbVKa+etxsW8NX0o U2fnbaNmKf8oQnR7BH9JFaU6cTKnUgbNqFL/zcrjh2dCWvNfmsKLkX31NYZa8h2+07Dm Dcvw==
X-Gm-Message-State: AIVw110/Osha4aswgjOmY3i1piYUfSpFPGKtSsDryxTAZfYK3mjeoCaD PMuhiSMqz62rUEinh+r8tZ2YGZOZyljq
X-Received: by 10.176.17.239 with SMTP id q47mr7540121uac.29.1499652215516; Sun, 09 Jul 2017 19:03:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.48.129 with HTTP; Sun, 9 Jul 2017 19:03:14 -0700 (PDT)
In-Reply-To: <CAN-Dau2zgthR2w9e5ZVUdGc-vm+YvK2uTUJ8O=vrcv0jNc58RA@mail.gmail.com>
References: <CAN-Dau2zgthR2w9e5ZVUdGc-vm+YvK2uTUJ8O=vrcv0jNc58RA@mail.gmail.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Mon, 10 Jul 2017 11:03:14 +0900
Message-ID: <CAKD1Yr2+Si_tzNF8p6ASf4=StgFSX9Gm3TEj9iiqdE2gHQaNmQ@mail.gmail.com>
Subject: Re: IPv6 Routing & ND vs. Addressing, (Was: Re: <draft-ietf-6man-rfc4291bis-09.txt>)
To: David Farmer <farmer@umn.edu>
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="f403043613d69833cf0553ecfdf9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/Li_KvMt4oTMrmS-jJudG1f9nKWI>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 10 Jul 2017 02:03:38 -0000

On Mon, Jul 10, 2017 at 6:09 AM, David Farmer <farmer@umn.edu> wrote:

> So, What should we say in RFC4291bis? Personally I'd prefer we eliminate
> the term subnet from RFC4291bis, but assuming that won't happen how about
> the following;
>
> Currently, IPv6 continues the IPv4 model in that a subnet prefix is
> associated with one link. Multiple subnet prefixes may be assigned to the
> same link.  The relationship between links and IPv6 subnet prefixes differs
> from the IPv4 model in that the prefixes used for on-link determination are
> separate and may differ from the assigned subnet prefixes. However, on-link
> prefixes identical with assigned subnet prefixes are recommended. A prefix
> length associated with a manually configured address determines the on-link
> prefix associated with the manually configured address. See [RFC5942] "The
> IPv6 Subnet Model: The Relationship between Links and Subnet Prefixes" for
> more details.
>
>
> Note: Any on-link prefixes longer than a covering assigned subnet prefix
> must be associated with the same link as the assigned subnet prefix. Also,
> any assigned subnet prefixes longer than a covering on-link prefix must be
> associated with the same link as the on-link prefix.
>
>
> ----
>
> IPv6 unicast routing is based on on-link prefixes of any valid length up
> to 128 [BCP198], which are not necessarily the same as the subnet prefixes
> assigned to a link.
>
>
> ----
>
> When forming or assigning unicast addresses, except those that start with
> the binary value 000, Interface IDs are required to be 64 bits long.  The
> rationale for using 64 bit Interface Identifiers can be found in [RFC7421].
>
> Note: the previous paragraph implies nothing about on-link determination
> which as discussed in section 2.1 is separate from subnet assignment in
> IPv6.
>
>
Thanks for putting this all together. I think it's the best assessment of
the current state of the standards that I've seen so far.

I'm not sure the text covers RFC6164 though; I'm not sure whether current
deployments of /127 meet the "Any on-link prefixes longer than a covering
assigned subnet prefix must be associated with the same link as the
assigned subnet prefix" text. I'd expect many networks to number entirely
separate links using /127s that are all drawn from one covering /64; at
least, I know that I've written addressing plans that do that and are still
in use.

Cheers,
Lorenzo