RE: [v6ops] RFC7084

"Manfredi, Albert E" <albert.e.manfredi@boeing.com> Wed, 11 December 2013 01:59 UTC

Return-Path: <albert.e.manfredi@boeing.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B44761AE09E for <ipv6@ietfa.amsl.com>; Tue, 10 Dec 2013 17:59:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level:
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-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 qamFrlst2sxI for <ipv6@ietfa.amsl.com>; Tue, 10 Dec 2013 17:59:02 -0800 (PST)
Received: from blv-mbsout-02.boeing.com (blv-mbsout-02.boeing.com [130.76.32.232]) by ietfa.amsl.com (Postfix) with ESMTP id 1F8CA1ADFC4 for <ipv6@ietf.org>; Tue, 10 Dec 2013 17:59:02 -0800 (PST)
Received: from blv-mbsout-02.boeing.com (localhost.localdomain [127.0.0.1]) by blv-mbsout-02.boeing.com (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with ESMTP id rBB1wucw014252 for <ipv6@ietf.org>; Tue, 10 Dec 2013 17:58:56 -0800
Received: from XCH-PHX-102.sw.nos.boeing.com (xch-phx-102.sw.nos.boeing.com [137.136.238.5]) by blv-mbsout-02.boeing.com (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id rBB1wtdi014243 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Tue, 10 Dec 2013 17:58:56 -0800
Received: from XCH-PHX-503.sw.nos.boeing.com ([169.254.6.103]) by XCH-PHX-102.sw.nos.boeing.com ([169.254.7.242]) with mapi id 14.03.0158.001; Tue, 10 Dec 2013 17:58:55 -0800
From: "Manfredi, Albert E" <albert.e.manfredi@boeing.com>
To: Ted Lemon <ted.lemon@nominum.com>
Subject: RE: [v6ops] RFC7084
Thread-Topic: [v6ops] RFC7084
Thread-Index: Ac705Oox+bAOGgDPSBCf3B3p1FF6cAAA4TqgACKmQYAAEbs+gAAIU+kAAAv4uYAAAHm+AAAAQh8Q
Date: Wed, 11 Dec 2013 01:58:54 +0000
Message-ID: <021E64FECA7E5A4699562F4E667164810B4BF931@XCH-PHX-503.sw.nos.boeing.com>
References: <96747494E3D74D41B20907035DB1E48DC7BB@MOPESMBX03.eu.thmulti.com> <2D09D61DDFA73D4C884805CC7865E611303B0269@GAALPA1MSGUSR9L.ITServices.sbc.com> <96747494E3D74D41B20907035DB1E48DCD72@MOPESMBX03.eu.thmulti.com> <alpine.DEB.2.02.1312100803370.24602@uplift.swm.pp.se> <F92E1B55-C74B-400C-B83E-6B50D175D121@steffann.nl> <7B4820C5-B562-4BE7-8C6A-CBCDABC39728@nominum.com> <52A749CE.7020605@inex.ie>
In-Reply-To: <52A749CE.7020605@inex.ie>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [137.136.248.6]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-TM-AS-MML: disable
Cc: "<ipv6@ietf.org>" <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 11 Dec 2013 01:59:03 -0000

On 10/12/2013 16:51, Ted Lemon wrote:
> On Dec 10, 2013, at 6:08 AM, Sander Steffann <sander@steffann.nl> wrote:
>> As far as I know the M flag is linked only to IA_NA. As far as I can see IA_PD is not linked to the M flag at all.
> 
> There is no agreement on what the M and O bits do.   Some people think M means stateful address management; some think M means IA_NA and O means IA_PD.   RFC 4861 is actually fairly clear, at least to my reading of it, that "M" means IA_NA and IA_PD, and that "O" means stateless DHCPv6, but I've heard people argue vehemently that "M" means _only_ IA_NA, and that "O" means IA_PD, because prefixes aren't addresses.
> 
> So if you believe my reading of RFC 4861, you would set 'M' and expect the HG to get both IA_NA and IA_PD; RFC 7084 makes it clear that _either_ the 'M' or 'O' bit being set triggers the HG to do prefix delegation.
> 
> So if you want to do prefix delegation and not stateful address assignment, set the 'O' bit and _not_ the 'M' bit, even though that contradicts what RFC 4861 says.

This discussion is most enlightening. But I don't see any contradiction with RFC 4861.

It seems to me, RFC 4861 sets M=1 when a host can get the entire address ("it indicates that addresses are available"), from DHCPv6, emulating DHCPv4. At the same time, M=1 does not preclude any other information from being available, so of course prefixes may also be available. RFC 4861: "If the M flag is set, the O flag is redundant and can be ignored because DHCPv6 will return all available configuration information."

Presumably, that would include a list of prefixes.

But RFC 4861 does not limit what "other" information is available when the O bit is set. One would certainly not expect full addresses to be available, since the M bit exists for that purpose, but RFC 4861 only gives a couple of examples of info available with O=1: "Examples of such information are DNS-related information or information on other servers within the network." This does not say that prefixes aren't available.

I don't see any contradiction here. If M=0 and O=1, the full address assignment isn't available in the DHCPv6 server. However, prefixes may well be.

I may want to prevent any host from sending packets through my edge router, unless the host uses IP addresses I assign. For that, I'd want to set M=1. If I don't care about specific addresses, if all I need is for clients to configure a routable address, then I set M=0 and O=1, and let the host choose the IID.

Take the case of a peer-peer network, sans DNS. In that case, I need for hosts to use only a set of prescribed IP addresses, which I distribute via DHCPv6 and the Client Identifier Option. I'd set M=1 for that. The clients may choose to auto-configure their own routable addresses, and I would feel free to NOT route their packets.

Bert