Re: [v6ops] M/O flags and PD

Mark Andrews <marka@isc.org> Fri, 30 October 2015 21:12 UTC

Return-Path: <marka@isc.org>
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 155AB1A03A3 for <v6ops@ietfa.amsl.com>; Fri, 30 Oct 2015 14:12:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.911
X-Spam-Level:
X-Spam-Status: No, score=-6.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, 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 x1P32XtWLzp9 for <v6ops@ietfa.amsl.com>; Fri, 30 Oct 2015 14:12:20 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 538B71A039F for <v6ops@ietf.org>; Fri, 30 Oct 2015 14:12:20 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx.pao1.isc.org (Postfix) with ESMTPS id D75C03493C7; Fri, 30 Oct 2015 21:12:16 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id 50E9D160044; Fri, 30 Oct 2015 21:12:43 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 3DC0516008D; Fri, 30 Oct 2015 21:12:43 +0000 (UTC)
Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ipHCeW8_0a6d; Fri, 30 Oct 2015 21:12:43 +0000 (UTC)
Received: from rock.dv.isc.org (c122-106-161-187.carlnfd1.nsw.optusnet.com.au [122.106.161.187]) by zmx1.isc.org (Postfix) with ESMTPSA id B074B160044; Fri, 30 Oct 2015 21:12:42 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id 2FC023B95BDB; Sat, 31 Oct 2015 08:12:14 +1100 (EST)
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
From: Mark Andrews <marka@isc.org>
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> <20151030091055.2b050875@echo.ms.redpill-linpro.com> <38EF67B7-1293-4565-83D8-9AD4E2A7DC5C@steffann.nl> <5633C030.6040202@gmail.com>
In-reply-to: Your message of "Sat, 31 Oct 2015 08:08:32 +1300." <5633C030.6040202@gmail.com>
Date: Sat, 31 Oct 2015 08:12:14 +1100
Message-Id: <20151030211214.2FC023B95BDB@rock.dv.isc.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/4hvFREGGljEnremy_VLgYBacFMs>
Cc: "v6ops@ietf.org" <v6ops@ietf.org>, Tore Anderson <tore@fud.no>, 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 21:12:22 -0000

In message <5633C030.6040202@gmail.com>, Brian E Carpenter writes:
> On 31/10/2015 04:24, Sander Steffann wrote:
> > Hi Tore,
> > 
> > Op 30 okt. 2015, om 09:10 heeft Tore Anderson <tore@fud.no> het volgende geschreven:
> >> * 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.
> > 
> > I always understood this bit from RFC 3633 to mean that any host configuration flags (such as M/O) are not relevant to DHCPv6-PD: "Note that this use of DHCP is 
> not bound to the assignment of IP addresses or other configuration information to hosts".
> 
> The phrase "is not bound to" is rather unclear, don't you think? It neither says
> nor implies that routers are thereby exempt from issuing correct RAs.

Read the whole paragraph.  This has nothing to do with RA bits.

   "Note that this use of DHCP is not bound to the assignment of IP
   addresses or other configuration information to hosts, and that no
   mechanism is currently available to communicate delegated prefixes to
   a DHCP server that serves such a function.  This may be an item of
   future work, should usage warrant."

I see that as saying that there is no mechanism defined to inform
a DHCPv6 server of the prefix obtained and that the IETF may need
to do so in the future.  In most cases of the use cases DHCP server
is in the router so the router vendor just figures this out for
themselves (e.g. the dhcp client updates the dhcp server's configuration
and tells the dhcp server to reload).  In case where there is a
seperate DHCP server and the router is just the DHCP relay is left
unspecified how the obtained addresses are communicated.

Additional there is no requirement for there to be a DHCPv6 server
at all.  SLAAC or something else is sufficient.  This is the first
part of the paragraph.

This document is not a complete solution.  There are missing bits that
need to be specified to make it a complete solution.

> However, being realistic, note that
> On 30/10/2015 21:55, Tore Anderson wrote:
> 
> > It boils down to this: If you are about to originate an RA to a link, and
> > know that there is information available in DHCPv6 on said link, you
> > should set set the M or O flag.
> 
> Even if you accept that, in the case that you *don't* know that such information
> is available, you physically cannot set the M or O flag. So in the real world,
> a node that is interested in IA_PD had better go fishing for it, whatever the
> MO bits say. So I retract all the if statements in the pseudocode that I sent.
> The only robust implementation is one that always looks for DHCPv6 information.
> 
>     Brian
> 
> 
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org