Re: [v6ops] dhcpv6-slaac-problem

Iljitsch van Beijnum <iljitsch@muada.com> Sat, 30 March 2013 09:44 UTC

Return-Path: <iljitsch@muada.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 73E5721F875A for <v6ops@ietfa.amsl.com>; Sat, 30 Mar 2013 02:44:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.589
X-Spam-Level:
X-Spam-Status: No, score=-102.589 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SEkq4kyvsJWp for <v6ops@ietfa.amsl.com>; Sat, 30 Mar 2013 02:44:38 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [IPv6:2001:1af8:3100:a006:1::]) by ietfa.amsl.com (Postfix) with ESMTP id A1BD421F874B for <v6ops@ietf.org>; Sat, 30 Mar 2013 02:44:37 -0700 (PDT)
Received: from [192.168.178.12] (53564520.cm-6-7b.dynamic.ziggo.nl [83.86.69.32]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id r2U9dUPw071515 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 30 Mar 2013 10:39:30 +0100 (CET) (envelope-from iljitsch@muada.com)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Iljitsch van Beijnum <iljitsch@muada.com>
In-Reply-To: <5156A83A.2090604@gmail.com>
Date: Sat, 30 Mar 2013 10:44:32 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <B231AA28-F6FF-4877-B314-9F71FC4D959D@muada.com>
References: <245C63EB-935D-40F6-9949-028BE99CDE1D@muada.com> <51568CB9.7010609@dougbarton.us> <6EE826D8-F3EA-415B-837A-8DB793BA5617@muada.com> <20130330.083107.74693658.sthaug@nethelp.no> <A96B26C0-0354-44A3-9BD6-DEC4B5A882AC@muada.com> <5156A83A.2090604@gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mailer: Apple Mail (2.1499)
Cc: "v6ops@ietf.org WG" <v6ops@ietf.org>
Subject: Re: [v6ops] dhcpv6-slaac-problem
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 30 Mar 2013 09:44:38 -0000

On 30 mrt 2013, at 9:54, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:

> I think people should look at draft-liu-bonica-dhcpv6-slaac-problem,
> because it really is time to resolve this issue. And it's
> orthogonal to the default/source route issue.

That draft mainly looks at what happens when the different bits go from 1 to 0. While it's useful to clean up the differences in behavior for that case, all of that seems largely orthogonal to the issues we were discussing previously.

Other than the above, my vote is for leaving well enough alone.

But if we collectively decide that the status quo is insufficient, we need to make changes in the right way, not haphazardly throw new DHCP options against the wall and see which ones stick.

Going back to first principle, if we want to support both some form of stateless autoconfiguration as well as some form of centrally managed configuration, it makes sense that hosts send one message that can initiate either or both rather than have two protocols that operate independently. This saves on messages exchanged, timeouts incurred and client-side guessing required.

Fortunately, it looks like the IPv6 designers knew what they were doing (for the most part) back in the day, and allowed pretty much every message to have options. So what we could do is put a DHCPv6 request inside a router solicitation message, and thus have a single message that can initiate both stateless autoconfig and DHCPv6. We now also have a clean upgrade path: old hosts don't include the DHCPv6 request and get back a normal RA (with A=1 and/or M=1 as desired). The same is true for new hosts that talk to old routers. But when a new host talks to a new router, we get to throw out all the old behavior. Then, for instance, the router can send back a regular RA, or relay the DHCPv6 message to a DHCPv6 server, which can take it from there.

Iljitsch