Re: SLAAC vs DHCPv6 (Re: RFC4941bis: consequences of many addresses for the network)

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 27 January 2020 23:36 UTC

Return-Path: <brian.e.carpenter@gmail.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 5352F3A1063 for <ipv6@ietfa.amsl.com>; Mon, 27 Jan 2020 15:36:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 xcEfwtp-ibqG for <ipv6@ietfa.amsl.com>; Mon, 27 Jan 2020 15:36:20 -0800 (PST)
Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) (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 3080B3A1055 for <ipv6@ietf.org>; Mon, 27 Jan 2020 15:36:20 -0800 (PST)
Received: by mail-pj1-x1041.google.com with SMTP id r67so176508pjb.0 for <ipv6@ietf.org>; Mon, 27 Jan 2020 15:36:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=chA2VemF+BXdQbCGP8yh9Ijrp3AhOb0B9zGXMeAo22o=; b=MOuzK9z+4TWiQkpRTBGkBYFZS33KAZhiECZO1ka4geN8yHAn37FAgAkfga3f3QgKvg ZJkg0831rfOM5m3GHzj2PDQkcnGxvjZU3nMyocM+iKUyekYdSngryL2hodGfgE0LLOWk glcu8END121Aami4iNEYj4+P/516lzVQGxLde7DbSygJ1/706dcKorf1knTpPIiyE2QE Av3t5bSmRkpooE/hYIwstzTCsb9KYGZH0cPnduUn8UIHCFs1PJl+xjWspH3ZRvZdo6Jg J/MMjYSBGs1vfhXHWv0jCWkdrhW/C8h8QgW1tch6EI7uifeWAMaJM4iPYheXIb3feNnC Fyow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=chA2VemF+BXdQbCGP8yh9Ijrp3AhOb0B9zGXMeAo22o=; b=T3PW/pWkpGfkX6R1lx2lFxeQDBrbbGZScxUUUSLWXSGddzAqbl5ixWkTJeO+rvnSeZ 01jHKOzjcoDfso9jxpFkbEvp4+D3Z5vfGi312gYSItXkeHvwA3slWGisbnvbNSz85cYK H6st26pH7PNzHWLyTecc6g6H7BVt2SW7rED0P6MOCyz+K1LcvB6MvJRzTn+rvAxsqr+k 8my8fbIRg5e8JYPQV8C1olmjaqKXjWhMHtFklkvndZJB9GlRUCuW/N1Cqi2AEKXQAstm 7Zin8bECmcw9Q7ZS2tkrkpWumhEO8/EOAygy9JL/A/MSshuRBkSMXUh7QJJidE8V7MUc STYQ==
X-Gm-Message-State: APjAAAUAWQ34XhwJfdVYn7GUiZuzeIV8icdnCgdHckBCWEROAFYgNBlc 3tPtS+X7eT/yLAWI7rt+p5UD/7el
X-Google-Smtp-Source: APXvYqwr3EOQrWulyEfsPS3ujsskxZgQ8i3U00cfQYe8eBEkJqWG/NvJmbfP7PCD9VKOUXZ26lzM0w==
X-Received: by 2002:a17:90a:d995:: with SMTP id d21mr1318262pjv.118.1580168179205; Mon, 27 Jan 2020 15:36:19 -0800 (PST)
Received: from [10.1.2.245] ([43.251.155.206]) by smtp.gmail.com with ESMTPSA id a4sm185487pjq.16.2020.01.27.15.36.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jan 2020 15:36:18 -0800 (PST)
Subject: Re: SLAAC vs DHCPv6 (Re: RFC4941bis: consequences of many addresses for the network)
To: Fernando Gont <fgont@si6networks.com>, Simon Hobson <linux@thehobsons.co.uk>, 6man WG <ipv6@ietf.org>
References: <03C832CE-7282-4320-BF1B-4CB7167FE6BE@employees.org> <MN2PR11MB3565330989D411525D30B90DD80F0@MN2PR11MB3565.namprd11.prod.outlook.com> <80207E17-AE8E-4D19-B516-D2E6AB70721E@employees.org> <8D5610EA-49D3-483E-BB7A-67D67BC89346@jisc.ac.uk> <DE7B0688-230F-4A5C-8E24-9EAED9FD9FEB@puck.nether.net> <d607cc77-0a98-8319-9f0e-3f8d4a86e6c2@si6networks.com> <F7F5B682-918B-4190-BEE6-A86B5CCD8530@puck.nether.net> <CABNhwV1a+o-D-YDck-Ad42DNbHfPPOfXbbCBCift-=2Jb201og@mail.gmail.com> <4ACE9ABB-C5DA-4A76-8DF9-02D6350B4E9C@thehobsons.co.uk> <cad6f8df-c3c8-b7d3-9f32-cebec4539594@gmail.com> <e3aa960f-2452-c82d-9f51-c69eea7921ea@si6networks.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <b84a4fcd-65da-88fb-f758-7882695666c0@gmail.com>
Date: Tue, 28 Jan 2020 12:36:17 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <e3aa960f-2452-c82d-9f51-c69eea7921ea@si6networks.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/i8ij2fPYwB7UpNhBxSriEcV3EmA>
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: Mon, 27 Jan 2020 23:36:21 -0000

On 28-Jan-20 10:44, Fernando Gont wrote:
> On 26/1/20 17:47, Brian E Carpenter wrote:
>> On 27-Jan-20 09:22, Simon Hobson wrote:
>>> Gyan Mishra <hayabusagsm@gmail.com> wrote:
>>>
>>>> The beauty behind SLAAC is that it works “out of the box” PNP like features makes it very user friendly to initiatally deploy.
>>>
>>> Remember that DHCP for IPv4 generally works "out of the box" for most users. Certainly in the SOHO market, the presence of a built in, auto-configured, and enabled DHCP server in the route means that the user just "plugs it in and it works". By the time you get to a level of network complexity where that isn't the case, then there is normally a network admin either on the staff or hired n as needed.
>>>
>>> If that isn't working reliably for users in the IPv6 world then that suggests the various components needed haven't reached the same level of completeness & correctness "mostly" available in the IPv4 world. It isn't an argument that DHCPv6 "doesn't work".
>>
>> It's actually a historical accident. At the time that SLAAC was designed, DHCP(v4) wasn't mature and the state of the art in autoconfiguration was Appletalk, Novell IPX, and DECnet Phase IV. It really doesn't matter now. We can't roll the clock back.
> 
> Well, we *could* end the pointless religious battle, mandate both SLAAC 
> and DHCPv6, and let admins and operators run their networks in whatever 
> way they please.

That still doesn't resolve the issue of the lack of feature equivalence between RAs and DHCPv6, and there would some interesting discussions around which options need to be MTI. For example, is PD mandatory to implement? It would be interesting to see a draft (v6ops, perhaps?). However, I imagine that the constrained node people would have something to say if we changed this to a MUST:

"...all hosts SHOULD implement address configuration via DHCPv6." [RFC8504, section 6.5]

   Brian
> 
> Given the current state of affairs, in lots of places folks resort to 
> doing *both* SLAAC + DHCPv6 (for various reasons), leadind to 
> non-deterministic results, higher maintenance costs, more pain, etc.
> 
>