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

Richard Patterson <richard@helix.net.nz> Wed, 27 February 2019 18:21 UTC

Return-Path: <richard@helix.net.nz>
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 E2FA51310A0 for <v6ops@ietfa.amsl.com>; Wed, 27 Feb 2019 10:21:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=helix-net-nz.20150623.gappssmtp.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 O-WEHckBSfYA for <v6ops@ietfa.amsl.com>; Wed, 27 Feb 2019 10:21:04 -0800 (PST)
Received: from mail-yw1-xc2a.google.com (mail-yw1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) (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 1AEC113109F for <v6ops@ietf.org>; Wed, 27 Feb 2019 10:21:04 -0800 (PST)
Received: by mail-yw1-xc2a.google.com with SMTP id u200so8872901ywu.10 for <v6ops@ietf.org>; Wed, 27 Feb 2019 10:21:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=helix-net-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=xadQIo1aiZk2GMf30IiPzTtSNidl2qQU8NO1WkqR+WQ=; b=b4jBvgiQzC55XXuFJqsXYMtHdFEfpf4YAgSNauJm6fXrzDUvYSwGAeoJR1R0xPJRe1 7qYLxh59kqza5fLKRWJnTm1yKshcZ3wDbTLoATJoKOaO7VGFRD21WNfiHzjrkdPGUg6n XRrtImC5QlYlgjxc/E0CvbmD87SMR8EkaPPmm+66nllQCC+aLxXOn0/IinutO/FBqGRZ i49HyQRxAKEsaccPG6owrDLlrv2b+nqOu1Ayb4ALMjuCWMbrtpgfwNRn4FYqe3VK+ysm FISXt4cWkhYRHM75VJ0xyY0RYOmToGdu7t2pwZMWzU2Fd1z8+R2+vq8UvBwaFE5NpZ20 7LfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=xadQIo1aiZk2GMf30IiPzTtSNidl2qQU8NO1WkqR+WQ=; b=Ozp6Wk7msboTo1nfOTf+B+bAYyAnX8lvU7uQW6e3DLtiU/PY4fUMaB0znL8QacHCI3 mmUesW77vQPT/QyyVdItjmYhrdoaXZooGDCNZdSZCZDtElmkyNPWmsMIuFMNnIiwSPO+ hVhTpiVb7J721Qvdr50zXzGS3hLHqTabNb6/0WQHbetFnYDsfRHAWOfCkgs9t3Var6jr b5Q18pQToHysjJVL8E2EPyoZrijM2dUhzkeq9IBddixnaDFZadb5N3fEPN9yVjdCeim3 ckJI2Wtd7ucXBb0ugOlfeIaqcAx+yNvSDk1Wer+/a6OwF7/JtMx/9HqmE8w/RIMrIpcU R0qw==
X-Gm-Message-State: AHQUAuY9mjV6sAeSEJt3ZsB11+WmscB8sHFsPdotcmWcxlbWuWm7HXZg D1u2Ju3s72VW3y7A61tYSvZl45WVO2A=
X-Google-Smtp-Source: AHgI3IY777jNwVsSt52KHWigkQ5bTksPe2kn3UrbenEtfZ30hiI1wSp+cfSWWV2l8sso2ytsriU+5g==
X-Received: by 2002:a81:3347:: with SMTP id z68mr2294317ywz.11.1551291662815; Wed, 27 Feb 2019 10:21:02 -0800 (PST)
Received: from mail-yw1-f51.google.com (mail-yw1-f51.google.com. [209.85.161.51]) by smtp.gmail.com with ESMTPSA id f185sm7637449ywf.18.2019.02.27.10.21.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Feb 2019 10:21:00 -0800 (PST)
Received: by mail-yw1-f51.google.com with SMTP id z191so8270662ywa.6; Wed, 27 Feb 2019 10:21:00 -0800 (PST)
X-Received: by 2002:a25:4d02:: with SMTP id a2mr3190787ybb.90.1551291660049; Wed, 27 Feb 2019 10:21:00 -0800 (PST)
MIME-Version: 1.0
References: <6D78F4B2-A30D-4562-AC21-E4D3DE019D90@consulintel.es> <B6E2EC33-EEAF-40D0-AFCC-BDAFA9134ACD@consulintel.es> <20190220113603.GK71606@Space.Net> <28fbc2c305c640c9afb3704050f6e8d7@boeing.com> <20190220213107.GS71606@Space.Net> <019c552eb1624d348641d6930829fd1f@boeing.com> <CAKD1Yr0HBG+rhyFWg9zh0t3mW486Mjx9umjn+CRqAZg4z9r0dg@mail.gmail.com> <20190221073530.GT71606@Space.Net> <CAO42Z2wmB2W52b4MZ2h9sW5E9cQKm-HRjyf--q8C26jezS7LXQ@mail.gmail.com> <a73818d31db7422b99a524bc431b00ed@boeing.com> <CAO42Z2z9-48Gbb_Exf+oWUqDO=axSLpZBtqeDcxkAoFq5OziGw@mail.gmail.com> <CALx6S3624hnGauG1HaSWPMvQw0t2Q5R3gb8W4R8w3kuK7dcrWQ@mail.gmail.com> <1F07F2BB-2F37-4D12-9731-7892DF4E3D88@consulintel.es> <0a582916-af14-bd82-a4cd-002a36f8830b@huitema.net> <67515a73-26a5-3ed0-da88-1a4ce64550d3@foobar.org> <360afa02-cf23-375c-4876-780d3c2aa5ac@gont.com.ar> <CAHL_VyD34V=TRcsCp0DOO9HJNHyy5xkiMQ_cZoBa7zTE4fe5OA@mail.gmail.com> <ead01e0a-9211-7944-88d6-ae8d037c03a8@si6networks.com> <CAHL_VyAs2b5pNcrJJRV_ppthLoVN4+X4Axzte0QRxJ3s-bkNHw@mail.gmail.com> <198A82EC-532B-4390-A898-07AEE93EB004@delong.com>
In-Reply-To: <198A82EC-532B-4390-A898-07AEE93EB004@delong.com>
From: Richard Patterson <richard@helix.net.nz>
Date: Wed, 27 Feb 2019 18:20:48 +0000
X-Gmail-Original-Message-ID: <CAHL_VyCKu=0ke018J185zK9027D2qk4nEjL4WBRpdpXYoR56eA@mail.gmail.com>
Message-ID: <CAHL_VyCKu=0ke018J185zK9027D2qk4nEjL4WBRpdpXYoR56eA@mail.gmail.com>
To: Owen DeLong <owen@delong.com>
Cc: IPv6 Operations <v6ops@ietf.org>, "6man@ietf.org" <6man@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/fVrerlQ1d7MJvevOyCpY0hKnm1U>
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: Wed, 27 Feb 2019 18:21:07 -0000

Hi Owen,

On Wed, 27 Feb 2019 at 16:38, Owen DeLong <owen@delong.com> wrote:
> > On Feb 26, 2019, at 02:35 , Richard Patterson <richard@helix.net.nz> wrote:
> >
> > I get your reasoning, but I'm not sure if it's quite as dire as that,
> > a single RA update with PrefLifetime of 0 should in theory suffice,
> > but then we get in to discussing the reliability of ICMPv6 messaging.
> > (as you have done in draft-gont-6man-slaac-renum-02 )
>
> I think you’re leaving out the fact that there are two lifetimes…
>
> There’s a preferred lifetime and a valid lifetime.

The valid lifetime was intentionally omitted from my response as we
previously discussed that it cannot be lowered below 2 hours or the
RemainingLifetime.

> I’d argue that a prefix which is no longer valid on the link should
> (ideally) be advertised for some period with a valid_lifetime of 0.
> After all, if the prefix is no longer valid, there’s no benefit whatsoever
> to allowing hosts on the link to continue to believe that it is, regardless
> of the amount of time remaining in the timer on a previous RA.
>
> I believe (someone will surely correct me if I am wrong) that a host
> receiving an RA with different lifetime values is obliged to apply those
> new values overriding any time remaining on the old values, regardless
> of whether that increases or decreases the remaining time in the
> lifetime values.

As above, we can deprecate the use of a prefix with Preferred Lifetime
today, but to do the same with Valid Lifetime would require updating
4862.
Fernando documents this in 3.2 here:
https://raw.githubusercontent.com/fgont/draft-slaac-renum/master/draft-gont-6man-slaac-renum-02.txt
The second bullet-point in 3.2 triggered the below thought on how else
we could work-with-what-we've-got (the source address selection
process), to make things more robust.

> > In my head, an address with the higher Preferred Lifetime should be
> > selected over one with a lower value, however I couldn't find any
> > recommendation as such in RFC6724, is this stipulated anywhere else?
> > If not, would an update to 6724 that introduces a Preferred Lifetime
> > comparison as a tie-breaker help?  i.e. When deciding between multiple
> > non-deprecated source addresses, always pick the address with the
> > highest Preferred Lifetime?
>
> Selected for what? Source of a new session originated from the host?

Yes, I did include RFC6724 for context. :)

> (That’s the only case of selection I can think of). That’s governed by the
> source address selection rules in RFC-6724 (obsoletes RFC-3484) in
> the case where the application doesn’t bind a specific source address
> to the socket. In the case where the application does bind a specific
> source address, then, the source address selection methodology is
> entirely in the hands of the application developer and/or any runtime
> configuration said developer chooses to consider.
>
> I guess all else described in RFC6724 being equal, one could use
> longest remaining preferred lifetime as a tie-breaker, but I have yet
> to encounter a network where you would reach such a tiebreaker
> without arriving at a single prefix first by another method.
>
> I do think it might be worth considering a change to how hosts process
> Was wherein we keep track of the address of the router from which we
> received the lifetime values currently being counted down and if we
> receive a new RA from the same router that no longer includes
> one of the prefixes we are counting down, we reduce the preferred
> lifetime to zero while continuing to count down the valid lifetime.

This is just a passive host-side version of the above approach. This
would still require changing all end-host behaviour, where the above
(sending an RA with PIO Preferred Lifetime 0) can be done centrally on
the CPE today without any change to current behaviour of the
end-hosts.