RE: [v6ops] RFC4861 question - short prefixes in PIOs

"Templin (US), Fred L" <Fred.L.Templin@boeing.com> Wed, 26 June 2019 20:18 UTC

Return-Path: <Fred.L.Templin@boeing.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 963DE12062B for <ipv6@ietfa.amsl.com>; Wed, 26 Jun 2019 13:18:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level:
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 U7S5WhoPIbr9 for <ipv6@ietfa.amsl.com>; Wed, 26 Jun 2019 13:18:05 -0700 (PDT)
Received: from clt-mbsout-01.mbs.boeing.net (clt-mbsout-01.mbs.boeing.net [130.76.144.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57B3912036D for <6man@ietf.org>; Wed, 26 Jun 2019 13:18:05 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by clt-mbsout-01.mbs.boeing.net (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id x5QKI1ni008914; Wed, 26 Jun 2019 16:18:01 -0400
Received: from XCH16-07-10.nos.boeing.com (xch16-07-10.nos.boeing.com [144.115.66.112]) by clt-mbsout-01.mbs.boeing.net (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id x5QKHqMd008008 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=FAIL); Wed, 26 Jun 2019 16:17:52 -0400
Received: from XCH16-07-10.nos.boeing.com (144.115.66.112) by XCH16-07-10.nos.boeing.com (144.115.66.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Wed, 26 Jun 2019 13:17:51 -0700
Received: from XCH16-07-10.nos.boeing.com ([fe80::1522:f068:5766:53b5]) by XCH16-07-10.nos.boeing.com ([fe80::1522:f068:5766:53b5%2]) with mapi id 15.01.1713.004; Wed, 26 Jun 2019 13:17:51 -0700
From: "Templin (US), Fred L" <Fred.L.Templin@boeing.com>
To: Dave Thaler <dthaler@microsoft.com>, 神明達哉 <jinmei@wide.ad.jp>
CC: 6man <6man@ietf.org>
Subject: RE: [v6ops] RFC4861 question - short prefixes in PIOs
Thread-Topic: [v6ops] RFC4861 question - short prefixes in PIOs
Thread-Index: AdUsMmrDTybnqCimSw+vUa2pQYzWEwAQ6r8AAA3OpFD//6cggIAASwiA
Date: Wed, 26 Jun 2019 20:17:51 +0000
Message-ID: <e5671ed47bd1402e84840c1a266f18dd@boeing.com>
References: <729f46ec4a8b419797e15bbdcac3e549@boeing.com> <CAJE_bqeXkyWec9-EG1QxS-1FeTyKS6-ONNOYhQK8gsQGwenaVQ@mail.gmail.com> <2b54c5e1eb54498faa7ec5d07e0f9b3a@boeing.com> <BN6PR21MB04977E999EE62A9929ABE7B7A3E20@BN6PR21MB0497.namprd21.prod.outlook.com>
In-Reply-To: <BN6PR21MB04977E999EE62A9929ABE7B7A3E20@BN6PR21MB0497.namprd21.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [137.137.12.6]
x-tm-snts-smtp: 15E64A026D921F1B6E5F686C15E302261553727374A3CCBFE3BB48F0A3DDFFE92000:8
Content-Type: multipart/alternative; boundary="_000_e5671ed47bd1402e84840c1a266f18ddboeingcom_"
MIME-Version: 1.0
X-TM-AS-GCONF: 00
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/mEjJdfpF2ivU9IxtAgB90RL-Lc4>
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: Wed, 26 Jun 2019 20:18:15 -0000

Hi Dave,

I agree that what I want is more akin to RIO than to “traditional” PIO, but then I saw
David Farmer’s note about RFC8028 and that seems to be more in line with what I am
looking for.

Certainly, multi-homing needs to be accommodated and RFC8028 seems to support
that while using the ubiquitous standard PIO albeit with A=L=0. Is there some reason
to prefer RIOs?

Thanks - Fred

From: Dave Thaler [mailto:dthaler@microsoft.com]
Sent: Wednesday, June 26, 2019 10:40 AM
To: Templin (US), Fred L <Fred.L.Templin@boeing.com>; 神明達哉 <jinmei@wide.ad.jp>
Cc: 6man <6man@ietf.org>
Subject: RE: [v6ops] RFC4861 question - short prefixes in PIOs

RIO should add a route with the next hop of the router, where the prefix is not an on-link prefix.
PIO should be for on-link prefixes, i.e., either the receiver should create a SLAAC address or the receiver should add an on-link route, or both.

Dave

From: ipv6 <ipv6-bounces@ietf.org<mailto:ipv6-bounces@ietf.org>> On Behalf Of Templin (US), Fred L
Sent: Wednesday, June 26, 2019 9:52 AM
To: 神明達哉 <jinmei@wide.ad.jp<mailto:jinmei@wide.ad.jp>>
Cc: 6man <6man@ietf.org<mailto:6man@ietf.org>>
Subject: RE: [v6ops] RFC4861 question - short prefixes in PIOs

OK, thanks. Then, it seems to me that what I really want is a Route Information Option
(RIO) [RFC4191] because what I am looking for is a way to establish a short prefix in the
IPv6 forwarding table that directs packets to a specific outgoing interface (or, more
precisely, to a specific router on a specific outgoing interface).

But, with RIO, the prefix would not be added to the interface prefix list in the same
way as for PIO - correct?

Thanks - Fred


From: 神明達哉 [mailto:jinmei@wide.ad.jp]
Sent: Wednesday, June 26, 2019 9:23 AM
To: Templin (US), Fred L <Fred.L.Templin@boeing.com<mailto:Fred.L.Templin@boeing.com>>
Cc: 6man <6man@ietf.org<mailto:6man@ietf.org>>
Subject: Re: [v6ops] RFC4861 question - short prefixes in PIOs

(I'm only copying 6man, as I believe it's purely a protocol spec
question)

At Wed, 26 Jun 2019 15:56:36 +0000,
"Templin (US), Fred L" <Fred.L.Templin@boeing.com<mailto:Fred.L.Templin@boeing.com>> wrote:
>
> I have an RFC4861 question (several actually) on short prefixes in RA PIOs:
>
> 1) If a PIO includes a prefix with length less than 64 (e.g., 2001:db8::/32) and with L=1, does it
>
> mean that 2001:db8::/32 should be added to the interface prefix list?

In my interpretation (ditto for subsequent questions), yes.

> 2) If yes to 1), does it mean that packets forwarded to the interface for any destination covered
>
> by 2001:db8::/32 will trigger Address Resolution instead of forwarding to a default router?

Yes.

> 3) If the PIO instead has L=0, does it mean that 2001:db8::/32 is “associated” with the link but
> not necessarily “on-link”?

I'm not sure how to interpret it (in particular I'm not sure what
"associated with the link" means), but my interpretation of L=0 is
that the RA doesn't say anything about the on-link-ness of that
prefix.  See also the description of the L flag in RFC4861:

      L              1-bit on-link flag.  [...]  When
                     not set the advertisement makes no statement about
                     on-link or off-link properties of the prefix.  In
                     other words, if the L flag is not set a host MUST
                     NOT conclude that an address derived from the
                     prefix is off-link.  That is, it MUST NOT update a
                     previous indication that the address is on-link.

> 4) If yes to 3), does it mean that 2001:db8::/32 should be added to the IPv6 forwarding table
>
> as a “route-to-interface” with the receiving interface as the next hop?

No.  See the second MUST NOT of the RFC4861 text cited above.

> 5) Does A=1 have any meaning for prefixes with length less than 64? Or, must prefixes with
>
> length less than 64 set A=0?

As far as RFC4861 is concerned, the A flag has no meaning, regardless
of the prefix length.  It only matters in RFC4862.  In terms of
RFC4862, whether "A=1 has any meaning for prefixes with length less
than 64" depends on the length of the IID of the link; if the prefix
length != 128-IIDLength, the validation rule 5.5.3 d) of RFC4862 makes
the prefix ignored.  If non-64 prefix length is invalid in terms of
RFC4862 in that sense, it'd be *safe* to avoid setting the A flag, but
the protocol specification doesn't say it *must* be so.

You may also want to check
https://tools.ietf.org/html/draft-jinmei-6man-prefix-clarify-00<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-jinmei-6man-prefix-clarify-00&data=02%7C01%7Cdthaler%40microsoft.com%7C8553bcb309874f844e9408d6fa56b303%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636971647627136134&sdata=AQ8dP3HU4UonvrTkx5TMKYxgS%2FI%2BAxkImKLi%2B9M8aBk%3D&reserved=0>
I believe it clarifies many of the above questions.

--
JINMEI, Tatuya