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

"Bernie Volz (volz)" <volz@cisco.com> Wed, 18 November 2015 21:43 UTC

Return-Path: <volz@cisco.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 3FF161B2FA5 for <dhcwg@ietfa.amsl.com>; Wed, 18 Nov 2015 13:43:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.086
X-Spam-Level:
X-Spam-Status: No, score=-15.086 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_HI=-5, RP_MATCHES_RCVD=-0.585, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 EBWM_14TIFw3 for <dhcwg@ietfa.amsl.com>; Wed, 18 Nov 2015 13:43:03 -0800 (PST)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 441691B2FA2 for <dhcwg@ietf.org>; Wed, 18 Nov 2015 13:43:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4507; q=dns/txt; s=iport; t=1447882983; x=1449092583; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=BOzUqMi+LscQrxiqcNOELK08Aj5qA39quQzDLakLL9c=; b=m6pXb21B7kCfYPVsVlTlq7vsmvkgdb1WQRbP0EVvu8uYo4YyTQ5qaWL9 84IZ0QIHXJCtSXqfGguGhfKYol0JkaZbfxkduzzU9fd/M5DfjA7RDYW1e b+6ZHFGaBXgDA574TjD9L/aH9VEXQ2U+TbkCgVNiM0Ddv7lMxs1NakcGM g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AoAgCN70xW/5ldJa1egztTbwavco5wAQ2BZRcKhW4CgVA4FAEBAQEBAQGBCoQ0AQEBAgEBAQEBHgFMCwUHBAIBCBEEAQECAyMCAwInCxQJCAEBBA4FCIgeCA2SB50wAZBBAQEBAQEBAQEBAQEBAQEBAQEBAQEBGH6KVIFAAYMBBoMqgUcFlkoBhSCIA4FiSZYvg3EBHwEBQoIMBR0WgUByAYQEgQcBAQE
X-IronPort-AV: E=Sophos;i="5.20,314,1444694400"; d="scan'208";a="209792159"
Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Nov 2015 21:43:02 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by rcdn-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id tAILh2Ct030542 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 18 Nov 2015 21:43:02 GMT
Received: from xch-aln-003.cisco.com (173.36.7.13) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 18 Nov 2015 15:43:01 -0600
Received: from xch-aln-003.cisco.com ([173.36.7.13]) by XCH-ALN-003.cisco.com ([173.36.7.13]) with mapi id 15.00.1104.000; Wed, 18 Nov 2015 15:43:01 -0600
From: "Bernie Volz (volz)" <volz@cisco.com>
To: 神明達哉 <jinmei@wide.ad.jp>
Thread-Topic: [dhcwg] IETF-94 Follow-up - draft-ietf-dhc-rfc3315bis - Prefix Lifetime of 0 (Ticket #152)
Thread-Index: AdEbXaJkXDqe7cguRQquu7Yc0gw1VQHCVv4AAAeRL0A=
Date: Wed, 18 Nov 2015 21:43:01 +0000
Message-ID: <2712cf0e980149b59f5c185310475e26@XCH-ALN-003.cisco.com>
References: <5d3e287c180b4e53a8240a11ebae3cdb@XCH-ALN-003.cisco.com> <CAJE_bqeD766TDqtHsg54vMyWS5DkmEOV=-tUtfDrUfO8TQ=RTQ@mail.gmail.com>
In-Reply-To: <CAJE_bqeD766TDqtHsg54vMyWS5DkmEOV=-tUtfDrUfO8TQ=RTQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.131.77.70]
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/ysKfPZ9gNbFE5V1dsFNBu8wYGFk>
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 21:43:05 -0000

Hi Jinmei:

I think your suggestions are reasonable. I am also be bit uncomfortable connecting DHCPv6 to the RAs (and if we did, this would only be for a case when the lifetime(s) from RAs change from non-zero to zero since we wouldn't want a storm of requests with each RA). I'm not sure that clients would always have access to the RAs and whether having them monitor these is worth it.

We could also be mostly silent on this issue (after all, RFC 3315 was).


It is interesting that a network I connect to which uses DHCPv6 also sends out RAs with the PIO for the stateful prefix having lifetimes of 0. It isn't yet fully clear why this is done. Note that in this case, per my above statement (when lifetimes change from non-zero to zero) should not trigger the client to Renew.

- Bernie

-----Original Message-----
From: dhcwg [mailto:dhcwg-bounces@ietf.org] On Behalf Of ????
Sent: Wednesday, November 18, 2015 2:10 PM
To: Bernie Volz (volz) <volz@cisco.com>
Cc: dhcwg@ietf.org
Subject: Re: [dhcwg] IETF-94 Follow-up - draft-ietf-dhc-rfc3315bis - Prefix Lifetime of 0 (Ticket #152)

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

_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www.ietf.org/mailman/listinfo/dhcwg