Re: [dhcwg] IETF-94 Follow-up - draft-ietf-dhc-rfc3315bis - Prefix Lifetime of 0 (Ticket #152)

神明達哉 <jinmei@wide.ad.jp> Wed, 18 November 2015 19:09 UTC

Return-Path: <jinmei.tatuya@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7CAD21A8BB6 for <dhcwg@ietfa.amsl.com>; Wed, 18 Nov 2015 11:09:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.921
X-Spam-Level:
X-Spam-Status: No, score=0.921 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
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 eU8PgGK911WH for <dhcwg@ietfa.amsl.com>; Wed, 18 Nov 2015 11:09:53 -0800 (PST)
Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 B82AF1A8BB4 for <dhcwg@ietf.org>; Wed, 18 Nov 2015 11:09:53 -0800 (PST)
Received: by iouu10 with SMTP id u10so65360395iou.0 for <dhcwg@ietf.org>; Wed, 18 Nov 2015 11:09:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ViDrJR0uiexW/iA58GGCgxaP4Mk1bILL3p/SLH9CVEk=; b=lleq3/lXvk3F3mixpNHidzOBlAjvt0ylxWt1bF/CBKTrkT61thlytozk/EEYSF8UeS NhVVb3x5B+IhvBp2EltQyVuEXCXqflFVSHVUOK3VrLWKg3s7H/HWPA6Q1sOONwIbEUSB tfbvQHwSLD1G41rTBuSpXd+XNLRUWsHIrTH74RlwPm/+aKWbbONrnXHmIRyaQeOVnOv/ bczql0wp/RbynaQqwbRUFNGZ3i+dBnmT9F2sDpCHsemYOdPmiWtK6l2yA8c6rx+Jc7wa ApI2f1dy6ZLciUULsZFYfJQeKrTs/RY77Q/uWixRmaVdaRXcGH5EyVLomhlehyA1u7ZI 5NXA==
MIME-Version: 1.0
X-Received: by 10.107.137.222 with SMTP id t91mr5075183ioi.172.1447873792990; Wed, 18 Nov 2015 11:09:52 -0800 (PST)
Sender: jinmei.tatuya@gmail.com
Received: by 10.107.47.217 with HTTP; Wed, 18 Nov 2015 11:09:52 -0800 (PST)
In-Reply-To: <5d3e287c180b4e53a8240a11ebae3cdb@XCH-ALN-003.cisco.com>
References: <5d3e287c180b4e53a8240a11ebae3cdb@XCH-ALN-003.cisco.com>
Date: Wed, 18 Nov 2015 11:09:52 -0800
X-Google-Sender-Auth: JeAaLpfNcs57rrdvSrZ4FBovsiA
Message-ID: <CAJE_bqeD766TDqtHsg54vMyWS5DkmEOV=-tUtfDrUfO8TQ=RTQ@mail.gmail.com>
From: 神明達哉 <jinmei@wide.ad.jp>
To: "Bernie Volz (volz)" <volz@cisco.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/ELNjVvugtpIFepXfuK4Mif97u5Q>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] IETF-94 Follow-up - draft-ietf-dhc-rfc3315bis - Prefix Lifetime of 0 (Ticket #152)
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Nov 2015 19:09:55 -0000

At Tue, 10 Nov 2015 02:15:12 +0000,
"Bernie Volz (volz)" <volz@cisco.com> wrote:

> This is to confirm on the DHC WG mailing list our proposal to
> resolve the RFC3315bis Ticket #152 (RA with prefix lifetime of 0) by
> updating RFC3315bis as follows (see
> http://trac.tools.ietf.org/group/dhcpv6bis/ticket/152 and
> https://www.ietf.org/proceedings/94/slides/slides-94-dhc-5.pdf for
> more details):

> *       A DHCPv6 client SHOULD send a DHCPv6 Renew for a DHCPv6 assigned address if a Router Advertisement is received with a PIO for a prefix with a lifetime of 0 (and the address is contained in the prefix).

First off, I think it should be clear which lifetime (valid or
preferred) of the prefix it means.  Since the preferred only affects
addresses configured using SLAAC this should be quite likely the valid
lifetime.  But I think it's still better to be clear about that.

And, more important, I'm not sure if this is a good idea as a way to
"invalidate" DHCPv6-configured addresses.  In terms of the neighbor
discovery protocol as described in RFC4861 a (valid) lifetime of 0
(with L bit on) simply means that prefix is no longer considered
on-link.  That could happen even if the prefix itself is still usable.
For example, the administrator may just want to force hosts to send
all packets to a router rather than have them communicate directly.
With the proposed new semantics of 0-lifetime prefix, we'll see
unnecessary renew-reply exchanges in such a host site.  It does not
necessarily cause a disruption, but the exchanges are simply a waste,
and doesn't seem to be very elegant as part of the standard protocol.

After all, this seems to be a hack to force DHCPv6 clients to invoke a
renew-reply exchange in that we actually have this exact feature in
DHCPv6 already: Reconfigure.  Now, I know no one is actually willing
to use it in practice, but in that case we should actually try to fix
that situation in 3315bis rather than rely on an RA-based hack since
the capability of "force renew" seems to be needed in general.

I also wonder whether we can control the prefix/address invalidation
without relying on the RA hack or Reconfigure, e.g., when this happens
as part of scheduled renumbering.  In that case the lifetimes of the
delegated prefix and/or its T1/T2 would first be decreased.  Then the
requesting PD router (acting as the DHCPv6 server for end hosts) would
decrease the lifetimes of T1/T2 of the addresses it assign to the
hosts so the end hosts will try to renew the addresses more
frequently and the addresses will expire relatively sooner.  Meanwhile,
if this is part of renumbering, the DHCPv6 server would now include
new addresses from the new prefix in subsequent Renew/Reply
exchanges.  This way the hosts will be renumbered in a more graceful
manner.

So I guess my specific suggestion would be:

- Don't describe the RA-based hack as proposed
- Explain a desired renumbering event as described above (or by
  refining it if necessary)
- Suggest using Reconfigure in case unscheduled invalidation is
  necessary provided that it can be used safely

--
JINMEI, Tatuya