Re: [v6ops] SLAAC renum: Problem Statement & Operational workarounds

Owen DeLong <owen@delong.com> Sun, 27 October 2019 20:17 UTC

Return-Path: <owen@delong.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 12492120086 for <v6ops@ietfa.amsl.com>; Sun, 27 Oct 2019 13:17:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.998
X-Spam-Level:
X-Spam-Status: No, score=-6.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=delong.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 vuNTCzjVpPY6 for <v6ops@ietfa.amsl.com>; Sun, 27 Oct 2019 13:17:57 -0700 (PDT)
Received: from owen.delong.com (owen.delong.com [IPv6:2620:0:930::200:2]) by ietfa.amsl.com (Postfix) with ESMTP id 450F4120024 for <v6ops@ietf.org>; Sun, 27 Oct 2019 13:17:49 -0700 (PDT)
Received: from kiev.delong.com (kiev.delong.com [IPv6:2620:0:930:0:0:0:200:5]) (authenticated bits=0) by owen.delong.com (8.15.2/8.15.2) with ESMTPSA id x9RJU4KI030826 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 27 Oct 2019 12:30:07 -0700
DKIM-Filter: OpenDKIM Filter v2.11.0 owen.delong.com x9RJU4KI030826
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delong.com; s=mail; t=1572204608; bh=xoX6+K6XmrVGHK4l/HhR18hstUCqgsoSzZHL9I0aeD4=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=jS2Wacqz6PxfifEzGRlTV+4wgrhyZMbGkuTZbF+Df1EwUg66LD/vyNmxcEFPPku6v DSFkg1xvnnMm4fULlI9O1/YHXELUAIoAUvfsyc40efhhxS+9QmW9llHCkrcMIFQ978 tCabswe5mhFeRElD74iiN/Tu5qaoGVqP+xn8FBfw=
From: Owen DeLong <owen@delong.com>
Message-Id: <A96A5C76-93AE-40E4-BA52-776F9277C382@delong.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_BD2A8DBD-9943-41E1-84D7-4A38241C43D5"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Sun, 27 Oct 2019 12:30:04 -0700
In-Reply-To: <DC2F31E2-8CA4-483A-B1A1-6730A904BA32@fugue.com>
Cc: Philip Homburg <pch-v6ops-9@u-1.phicoh.com>, v6ops@ietf.org
To: Ted Lemon <mellon@fugue.com>
References: <CAO42Z2yQ_6PT3nQrXGD-mKO1bjsW6V3jZ_2kNGC2x586EMiNZg@mail.gmail.com> <B53CE471-C6E8-4DC1-8A72-C6E23154544F@fugue.com> <e67f597d-93a7-3882-3a12-69519178893d@foobar.org> <m1iOinq-0000J3C@stereo.hq.phicoh.net> <DC2F31E2-8CA4-483A-B1A1-6730A904BA32@fugue.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (owen.delong.com [IPv6:2620:0:930:0:0:0:200:2]); Sun, 27 Oct 2019 12:30:08 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/nNYDFamU291_CPycAERcKOHfwSc>
Subject: Re: [v6ops] SLAAC renum: Problem Statement & Operational workarounds
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: Sun, 27 Oct 2019 20:17:59 -0000


> On Oct 27, 2019, at 06:54 , Ted Lemon <mellon@fugue.com> wrote:
> 
> On Oct 27, 2019, at 9:41 AM, Philip Homburg <pch-v6ops-9@u-1.phicoh.com <mailto:pch-v6ops-9@u-1.phicoh.com>> wrote:
>> The little bit missing is that the CPE should write prefixes advertised using
>> SLAAC to persistent storage which allows the CPE to invalidate stale prefixes
>> after a reboot.
> 
> Actually I do not believe this is correct behavior.   Let us assume prefix delegation.   If we have prefix delegation, then when the CPE comes back from a power cycle, it should reconfirm the prefix it had previously; the assumption is that that prefix is still valid.  This can be handled in infrastructure—the ISP edge router should know whether the prefix is still valid, because if it is it should be advertising a route for it.   If it is not still valid, then the CPE router should attempt to renew it, which would go to the DHCP server (possibly both messages would).  If the lease on the address is still valid, the ISP should renew the lease and not issue a new one.   It is a misconfiguration for some other thing to happen in this case.   This would then re-establish the route in the ISP edge router.

So this still requires that the CPE has written the lease to persistent storage. Currently many CPE do not do this.

I agree that the CPE should attempt to reconfirm/renew the existing prefix lease. However, if that fails for some reason (and there are multiple scenarios which present valid reasons this could fail without misconfiguration on either side), I think that the behavior described is preferable to simply removing the old prefix from RAs and waiting for them to time out on the unsuspecting hosts. Especially in the case of 1 week preferred and 1 month valid lifetime timers.

> If the ISP wants to deprecate the old prefix, the thing to do is not to fail to renew it, but rather to renew it with a preferred lifetime of zero and offer another prefix with a preferred lifetime that is not zero.   The CPE router should in this case advertise both prefixes, with the applicable lifetimes.  Using my limited SEND proposal, the advertisement with a preferred lifetime of zero would be immediately seen by all hosts that implement limited SEND, and they would start using the new preferred prefix.  Hosts that don’t implement limited SEND would still behave correctly, but might take longer to stop using the old prefix.  This should be okay because the old valid lifetime is still valid.

Can you point to any authoritative document which supports this particular mechanism?

I don’t know of a single DHCPv6 server which operates that way currently. Can you point to a working example?

> That’s the way things should go when everything is working correctly.   If however the ISP’s DHCP server loses its cookies and can’t renew the old prefix, then we’d see the new behavior where hosts that implement limited SEND could immediately see that the old prefix was no longer usable, and would stop using it in preference to the new prefix.   Hosts that don’t implement limited SEND would behave as they behave today.

While there may be advantages to limited SEND, I don’t see that as a reason not to implement this particular fix across the board since it would benefit both hosts implementing limited SEND as well as hosts not implementing it.

Owen