Re: [v6ops] M/O flags and PD

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 30 October 2015 19:08 UTC

Return-Path: <brian.e.carpenter@gmail.com>
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 55EE11B3154 for <v6ops@ietfa.amsl.com>; Fri, 30 Oct 2015 12:08:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 lbIUFCuLEzhU for <v6ops@ietfa.amsl.com>; Fri, 30 Oct 2015 12:08:43 -0700 (PDT)
Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (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 D01B51B3158 for <v6ops@ietf.org>; Fri, 30 Oct 2015 12:08:43 -0700 (PDT)
Received: by pasz6 with SMTP id z6so82146243pas.2 for <v6ops@ietf.org>; Fri, 30 Oct 2015 12:08:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=AJwmAAPoc/iSwwvoTCczazswOHpuffaeMwFYLQ5xHXE=; b=de1Ih/gNtBRetahG4E/YAasvUh4agaLwjj3GsOHNSZCMB/PipURRGIMQJBGSBLnZyu MuHDFmDyxGIRpTgjz62/uIjvjmHTbHtig63UOVBm+fO7anmCA2ZYkadjeRDkvYniN3ZI W0v+uuZ3lbljMwoplZJNqIGFtY+/7OyC6U01t/BuZfD7fjBrFOWTx5nua7wB0qu5qfEE MNeQOZ9UtzM+tMNpDYt1/V314+EX6j7upZB4qienATogFO8oy9KfisOgIMOSJaA24MOH 1nZgcsDynyIHBiGo06h6ESE0OCKnKP3eErBaVs712FPqEu4EH8xq+sv3BpXEEoGO16+T v9rg==
X-Received: by 10.66.144.169 with SMTP id sn9mr10766123pab.15.1446232123517; Fri, 30 Oct 2015 12:08:43 -0700 (PDT)
Received: from ?IPv6:2406:e007:498f:1:28cc:dc4c:9703:6781? ([2406:e007:498f:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id z12sm9600587pbt.30.2015.10.30.12.08.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Oct 2015 12:08:42 -0700 (PDT)
To: Sander Steffann <sander@steffann.nl>, Tore Anderson <tore@fud.no>
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>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <5633C030.6040202@gmail.com>
Date: Sat, 31 Oct 2015 08:08:32 +1300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <38EF67B7-1293-4565-83D8-9AD4E2A7DC5C@steffann.nl>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/Qkp_b06jaK78Eedn7ckeBCvPL0g>
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 19:08:45 -0000

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.

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