Re: [v6ops] M/O flags and PD

Tore Anderson <tore@fud.no> Fri, 30 October 2015 08:11 UTC

Return-Path: <tore@fud.no>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 94DED1A923A for <v6ops@ietfa.amsl.com>; Fri, 30 Oct 2015 01:11:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 wUhY9QQQdf2r for <v6ops@ietfa.amsl.com>; Fri, 30 Oct 2015 01:11:00 -0700 (PDT)
Received: from greed.fud.no (greed.fud.no [IPv6:2a02:c0:1001:100::145]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D1F91A9235 for <v6ops@ietf.org>; Fri, 30 Oct 2015 01:11:00 -0700 (PDT)
Received: from [2a02:c0:2:1:1194:17:0:1029] (port=46578 helo=echo.ms.redpill-linpro.com) by greed.fud.no with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from <tore@fud.no>) id 1Zs4m0-0003WY-3N; Fri, 30 Oct 2015 09:10:56 +0100
Date: Fri, 30 Oct 2015 09:10:55 +0100
From: Tore Anderson <tore@fud.no>
To: Gert Doering <gert@space.net>
Message-ID: <20151030091055.2b050875@echo.ms.redpill-linpro.com>
In-Reply-To: <20151030073854.GZ70452@Space.Net>
References: <20151019195001.22760.2580.idtracker@ietfa.amsl.com> <5AB28826-8E45-461F-AA7B-5D45F218FC18@cisco.com> <20151028113851.530c649d@echo.ms.redpill-linpro.com> <CAJE_bqd1263SaqU61sqqk_4Tne1GzE4_kMUhuLMgY42Cyc6m_A@mail.gmail.com> <5631232E.4020701@gmail.com> <20151029203951.06a4d4fd@envy.fud.no> <39B7C63D-A31A-4F3D-8487-5A9FF917F939@employees.org> <20151030075849.5ad90ed6@echo.ms.redpill-linpro.com> <20151030073854.GZ70452@Space.Net>
X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-redhat-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/4EhEs2YEHgsIZ-r-YL45bUnpaCI>
Cc: "v6ops@ietf.org" <v6ops@ietf.org>, jinmei@wide.ad.jp
Subject: Re: [v6ops] M/O flags and PD
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Oct 2015 08:11:01 -0000

Hi Gert,

* Gert Doering <gert@space.net>

> I do not have RFCs to counter that, but my interpretation is a bit
> different.  I see that section of 4861 as traditionally applied to 
> *hosts*, while IA_PD traditionally is a *router* function, so out of 
> scope for the "host part" of 4861.

Section 4.2 of RFC 4861 simply describes the RA message format, it's
not in a "host part" of the RFC as far as I can tell. Keep in mind that
RAs are typically multicast to all IPv6 nodes, so the originating router
does not know whether it is a host or a router (or both, or none) that
will be receiving the RA.

Thus, when determining whether or not to set the M/O flags, the
[operator configuring the] RA originating router will have to ask
himself the following question:

«Is there information available through DHCPv6 to nodes on this link?»

If the answer to that question is «yes», the M or O flag should be set.
If the answer is «no», they should be both unset.

> Now this gets all muddled together when you have a router that also 
> wants an address for itself (= acting as a host for that purpose) or 
> a host that wants a prefix (= serving as a router for that prefix).

I'll note that this discussion started with a comment on
draft-jjmb-v6ops-unique-ipv6-prefix-per-host. This draft talks about
hosts, not routers. It even says so right there in the file name and
the title.

Then you have RFC 7084 which to the best of my knowledge is describes
the only use case for DHCPv6-PD which has seen significant deployment
to date. Its WPD-4 requirement clearly indicates that the availability
of DHCPv6-PD is something that should be communicated through the M/O
options.

The WPD-4 requirement essentially states that if you operate a network
that provides IA_PD and sets M=O=0, it's unspecified ("out of scope")
whether or not any connecting devices conforming to RFC 7084 end up
with a delegated prefix or not.

Tore