Re: [dhcwg] lease query question

Thomas Narten <narten@us.ibm.com> Tue, 11 February 2003 17:54 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA13144 for <dhcwg-archive@odin.ietf.org>; Tue, 11 Feb 2003 12:54:44 -0500 (EST)
Received: (from mailnull@localhost) by www1.ietf.org (8.11.6/8.11.6) id h1BI3iA32141 for dhcwg-archive@odin.ietf.org; Tue, 11 Feb 2003 13:03:44 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h1BI3ip32138 for <dhcwg-web-archive@optimus.ietf.org>; Tue, 11 Feb 2003 13:03:44 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA13132 for <dhcwg-web-archive@ietf.org>; Tue, 11 Feb 2003 12:54:13 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h1BI1Wp32068; Tue, 11 Feb 2003 13:01:32 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h1BI0dp31997 for <dhcwg@optimus.ietf.org>; Tue, 11 Feb 2003 13:00:39 -0500
Received: from e34.co.us.ibm.com (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA13032 for <dhcwg@ietf.org>; Tue, 11 Feb 2003 12:51:08 -0500 (EST)
Received: from westrelay01.boulder.ibm.com (westrelay01.boulder.ibm.com [9.17.194.22]) by e34.co.us.ibm.com (8.12.7/8.12.2) with ESMTP id h1BHrsBf062836; Tue, 11 Feb 2003 12:53:55 -0500
Received: from cichlid.adsl.duke.edu (sig-9-65-198-184.mts.ibm.com [9.65.198.184]) by westrelay01.boulder.ibm.com (8.12.3/NCO/VER6.5) with ESMTP id h1BHrU9Z152302; Tue, 11 Feb 2003 10:53:31 -0700
Received: from cichlid.adsl.duke.edu (narten@localhost) by cichlid.adsl.duke.edu (8.11.6/8.9.3) with ESMTP id h1BHpMQ02918; Tue, 11 Feb 2003 12:51:22 -0500
Message-Id: <200302111751.h1BHpMQ02918@cichlid.adsl.duke.edu>
To: Kim Kinnear <kkinnear@cisco.com>
cc: dhcwg@ietf.org, rdroms@cisco.com, "Woundy, Richard" <Richard_Woundy@cable.comcast.com>
Subject: Re: [dhcwg] lease query question
In-Reply-To: Message from kkinnear@cisco.com of "Mon, 10 Feb 2003 18:31:56 EST." <4.3.2.7.2.20030210170642.025d8f08@goblet.cisco.com>
Date: Tue, 11 Feb 2003 12:51:22 -0500
From: Thomas Narten <narten@us.ibm.com>
Sender: dhcwg-admin@ietf.org
Errors-To: dhcwg-admin@ietf.org
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Id: <dhcwg.ietf.org>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>

Hi Kim.

>         Having said that (which is true), I don't see significant
>         deviation from at least my conceptualization of the
>         current problem the leasequery protocol/draft solves.

I guess I do. I could imagine solving the simple problem by having
just a pair of messages (request and reply), with the reply saying
"yes there is a lease" or "no there is not" and not having the R bit
at all. Thus, I'd like to understand whether and why the more complex
solution is really necessary. Ideally, this would follow from the
problem statement.

>         There are implementations of this capability in the field
>         today, and the actual draft is informed by not only our
>         intellectual exercises in protocol design but by actual
>         implementations and actual users of those implementations
>         with real requirements.  If you think there is dramatic
>         mis-match between the problem statement with the actual
>         protocol, we can certainly revise the problem statement
>         to whatever degree you deem necessary.

Well, one can always revise a problem statement to make sure that a
proposed solution follows from it. But that isn't generally the way to
get good protocols. What I would rather understand is the actual
problem, independent of the solution. If it happens that the solution
is a reasonable one given the problem statement, that would be
great. But if there are simpler solutions, they should be considered
too.

So far, you've provided a very high-level, general problem
description. From it, I don't see the need for some of the proposed
protocol features.  I really do want to understand if the proposed
solution is the best one for the actual problem.

>         So, for instance, if a "real" DHCP client was talking to
>         the DHCP server, it would give the client a lease (as
>         opposed to telling the client that it had a lease at some
>         point in the past).  However, the client for a leasequery
>         request isn't looking for a lease -- it is looking for
>         information *about* a lease.  Allowing a server to return
>         information that indicates that a lease existed for a
>         client at sometime in the past may well be useful to a
>         device which is trying to rebuild its state, since this
>         is information that it normally would have available if
>         it had not lost its state.

The above is not obvious to me. Why should the relay agent care if an
address used to be in use on a particular link in the past? I would
think that the relay agent shouldn't be creating ARP state based on
that because:

 - in fact that address might be in use by a different node elsewhere
   on a different link now (and the server responding might not know
   that because its not coordinating properly with the other server).

 - if the lease is no longer valid, presumably the device using that
   address shouldn't be using that address anymore (after all, it
   didn't renew the lease). So why should the relay agent forward
   packets for that address to the site where a device used to be in
   the past?

>         The R bit is designed to allow a device which uses DHCP
>         gleaning to also operate correctly in the event that some
>         IP addresses are "hard coded" or "hand configured".  In
>         this case, if the DHCP server is supplied with a
>         reservation for the hand configured IP<->MAC
>         relationship, then if the DHCP client asks for an IP
>         address, it will get the proper one.

Makes complete sense for normal DHC usage.

>	  More importantly,
>         the leasequery client doesn't have to be configured with
>         the hand-configured IP address, since it can determine
>         which IP addresses are "allowable" from the results of a
>         leasequery.  This is indeed a capability that the
>         leasequery protocol allows that isn't possible in a
>         straightforward way without it.

The above I don't follow, for the reason I mentioned above. Seems to
me, the relay agent shouldn't be populating it's ARP cache *unless*
there is a valid lease. Thus, knowing that an address is reserved, but
not currently in use, doesn't seem to be info the relay agent really
needs. Am I missing some other important detail here?

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