Re: [v6ops] A common problem with SLAAC in "renumbering" scenarios

Mikael Abrahamsson <swmike@swm.pp.se> Thu, 31 January 2019 11:47 UTC

Return-Path: <swmike@swm.pp.se>
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 ECC77130ED1; Thu, 31 Jan 2019 03:47:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=swm.pp.se
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 u-gpAI5fX_cA; Thu, 31 Jan 2019 03:47:40 -0800 (PST)
Received: from uplift.swm.pp.se (swm.pp.se [212.247.200.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C01E1274D0; Thu, 31 Jan 2019 03:47:40 -0800 (PST)
Received: by uplift.swm.pp.se (Postfix, from userid 501) id 949D7B3; Thu, 31 Jan 2019 12:47:38 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=swm.pp.se; s=mail; t=1548935258; bh=z4w10F1/CGobCo1JDHNYRWXy4f0HNGVwKsWfUMDqhHs=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=lfQL//Uid2ysHwuMAvJ2fIIfByIWizBrr8ChTUi5HmvT4JlrQKOcVTgHjQZm0evPc +w5IRf6v7N3da9yL+HSM464jNqU6dCNTTMYPo780XZY68xRfa37iwflqsgDPh8Gp+f iOMaombFiXsc0u2g74uDm4zxvcpWjx1vKgWaw+WI=
Received: from localhost (localhost [127.0.0.1]) by uplift.swm.pp.se (Postfix) with ESMTP id 9274EB2; Thu, 31 Jan 2019 12:47:38 +0100 (CET)
Date: Thu, 31 Jan 2019 12:47:38 +0100
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: Fernando Gont <fgont@si6networks.com>
cc: "6man@ietf.org" <6man@ietf.org>, IPv6 Operations <v6ops@ietf.org>
In-Reply-To: <60fabe4b-fd76-4b35-08d3-09adce43dd71@si6networks.com>
Message-ID: <alpine.DEB.2.20.1901311236320.5601@uplift.swm.pp.se>
References: <60fabe4b-fd76-4b35-08d3-09adce43dd71@si6networks.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
Organization: People's Front Against WWW
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/7Lbpya6Aw_dlvsDECHHSFMgylQU>
Subject: Re: [v6ops] A common problem with SLAAC in "renumbering" scenarios
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 31 Jan 2019 11:47:43 -0000

On Thu, 31 Jan 2019, Fernando Gont wrote:

> Any comments will be welcome.

"   o  A CPE MUST record, on stable storage, the list of prefixes being
       advertised on each LAN segment."

This is not always doable as some devices have very small flash with no 
write-leveling, so doing this generally might ruin the flash cells on some 
devices. This above requirement will drive cost, especially in the low end 
market of HGWs.

       *  Any prefixes that were previously advertised via SLAAC, but
          that are not currently intended for address configuration, MUST
          be advertised with a PIO option with the "A" bit set to 1 and
          the "Valid Lifetime" and a "Preferred Lifetime" set to 0.

Doesn't RFC7084 already say this? L-13.

Another comment, typically the lifetime of the LAN PIO is capped at the 
DHCPv6-PD WAN lease time. I couldn't find this requirement in RFC7084, but 
I only searched for "lifetime". Anyhow, Openwrt does this and might be 
good to mention.

When the new prefix is received it'll most likely have a higher preferred 
and valid lifetime, so hosts should use the new prefix just by means of 
them preferring the higher preferred lifetime of that PIO. So the problem 
is a bit less than you write in the draft.

So while I am generally sympathetic to this draft and what it tries to 
achieve (especially the part where it ties the router announcing something 
to what it's later announcing, and lack of something means it's implicitly 
zero preferred time for that), we need to figure out a few more things 
first. RFC7084 was informational which made it fairly easy to get through, 
now you're proposing a standards track document so we need to make sure 
everything works. Changing all hosts is a big thing.

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se