[dhcwg] Other comments on the leasequery spec

Ralph Droms <rdroms@cisco.com> Wed, 07 April 2004 04:35 UTC

Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA09431 for <dhcwg-archive@odin.ietf.org>; Wed, 7 Apr 2004 00:35:44 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BB4mT-0000Ir-Ql for dhcwg-archive@odin.ietf.org; Wed, 07 Apr 2004 00:35:17 -0400
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i374ZHKS001161 for dhcwg-archive@odin.ietf.org; Wed, 7 Apr 2004 00:35:17 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BB4mT-0000Ie-NA for dhcwg-web-archive@optimus.ietf.org; Wed, 07 Apr 2004 00:35:17 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA09365 for <dhcwg-web-archive@ietf.org>; Wed, 7 Apr 2004 00:35:13 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1BB4mR-0006Lu-00 for dhcwg-web-archive@ietf.org; Wed, 07 Apr 2004 00:35:15 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BB3vj-00077r-00 for dhcwg-web-archive@ietf.org; Tue, 06 Apr 2004 23:40:48 -0400
Received: from [65.246.255.50] (helo=mx2.foretec.com) by ietf-mx with esmtp (Exim 4.12) id 1BB2kb-0000i5-00 for dhcwg-web-archive@ietf.org; Tue, 06 Apr 2004 22:25:13 -0400
Received: from optimus22.ietf.org ([132.151.6.22] helo=optimus.ietf.org) by mx2.foretec.com with esmtp (Exim 4.24) id 1BB2ga-0004Wi-A1 for dhcwg-web-archive@ietf.org; Tue, 06 Apr 2004 22:21:20 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BB2gZ-0002Ha-GH; Tue, 06 Apr 2004 22:21:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BB2fl-00022T-IJ for dhcwg@optimus.ietf.org; Tue, 06 Apr 2004 22:20:13 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA28078 for <dhcwg@ietf.org>; Tue, 6 Apr 2004 22:20:09 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1BB2fi-0000Bg-00 for dhcwg@ietf.org; Tue, 06 Apr 2004 22:20:10 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BB2DP-0003Zf-00 for dhcwg@ietf.org; Tue, 06 Apr 2004 21:50:58 -0400
Received: from rtp-iport-1.cisco.com ([64.102.122.148]) by ietf-mx with esmtp (Exim 4.12) id 1BB1Jv-0004ZW-00 for dhcwg@ietf.org; Tue, 06 Apr 2004 20:53:35 -0400
Received: from rtp-core-1.cisco.com (64.102.124.12) by rtp-iport-1.cisco.com with ESMTP; 06 Apr 2004 18:03:06 -0700
X-BrightmailFiltered: true
Received: from flask.cisco.com (IDENT:mirapoint@flask.cisco.com [161.44.122.62]) by rtp-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id i370r4cp012754 for <dhcwg@ietf.org>; Tue, 6 Apr 2004 20:53:05 -0400 (EDT)
Received: from rdroms-w2k01.cisco.com (che-vpn-cluster-1-83.cisco.com [10.86.240.83]) by flask.cisco.com (Mirapoint Messaging Server MOS 3.3.6-GR) with ESMTP id AHK37617; Tue, 6 Apr 2004 20:53:03 -0400 (EDT)
Message-Id: <4.3.2.7.2.20040406205056.02cc3c10@flask.cisco.com>
X-Sender: rdroms@flask.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Tue, 06 Apr 2004 20:53:01 -0400
To: dhcwg@ietf.org
From: Ralph Droms <rdroms@cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Subject: [dhcwg] Other comments on the leasequery spec
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>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.60

Thomas Narten:

Specific comments:

 >         For this query, the requester supplies only a MAC address in the
 >         DHCPLEASEQUERY message.  The DHCP server will return any
 >         information that it has on the IP address most recently accessed
 >         by a client with that MAC address.  In addition, it may supply
 >         addition IP addresses which have been associated with that MAC
 >         address in different subnets.  Information about these bindings
 >         can then be found using the Query by IP Address, described
 >         above.

may or does above? (multiple occurrences) Seems like this should be a
MUST (in order for good interoperability/correctness). I.e., if only
one address is returned (when there are several) it might be  the
wrong address and incorrect behavior may result.

 >    Any DHCP server which supports the DHCPLEASEQUERY message should save
 >    the information from the most recent Relay Agent Information option
 >    (option 82) [RFC 3046] associated with every IP address which it
 >    serves. It is assumed that most clients which generate the

seems like should -> MUST.

 >    A server which implements DHCPLEASEQUERY should also save the
 >    information on the most recent Vendor class identifier, option 60,
 >    associated with each IP address, since this option is also a likely
 >    candidate to be requested by clients sending the DHCPLEASEQUERY
 >    message.

Why? How is this info useful to the relay agent? Also, for
interoperabilty, SHOULD->MUST??

 >          client-last-transaction-time

is this really critical? How is it used? Document doesn't say.

 >       o DHCPLEASEUNASSIGNED
 >
 >         The server MUST respond with a DHCPLEASEUNASSIGNED message if
 >         this server has information about the IP address, but there is
 >         no active lease for the IP address.  The DHCPLEASEUNASSIGNED
 >         message is only returned for a query by IP address, and
 >         indicates that the server manages this IP address but there is
 >         no currently active lease on this IP address.

Are any DHC options returned? I'd assume no, but it would be good to
say that explicitely.

 >    If the "ciaddr" field is zero in a DHCPLEASEQUERY message, then the
 >    IP address placed in the "ciaddr" field of a DHCPLEASEACTIVE message
 >    MUST be that of an IP address for which the client that most recently
 >    used the IP address matches the Client-identifier or MAC address
 >    specified in the DHCPLEASEQUERY message.

wording: not "must recently used" but the one who currently owns the
lease. Right?

 >    In the case where more than one IP address has been accessed by the
 >    client specified by the MAC address or Client-identifier option, then
 >    the DHCP server MUST return the IP address returned to the client in
 >    the most recent transaction with the client unless the DHCP server
 >    has been configured by the server administrator to use some other
 >    preference mechanism.

Shouldn't it return _all_ the addresses? Above reads like only one
address needs to be returned.

 >    If the Client-identifier option (option 61) is specified in the
 >    Parameter Request List option (option 55), then the Client-identifier
 >    (if any) of the client associated with the IP address in the "ciaddr"
 >    field SHOULD be returned in the DHCPLEASEACTIVE message.

Does a server already normally store the client identifier option?
I.e., is this required already?

 >    In the case where more than one IP address has been involved in a
 >    DHCP message exchange with the client specified by the MAC address
 >    and/or Client-identifier option, then the list of all of the IP
 >    addresses SHOULD be returned in the associated-ip option (option
 >    TBD), if that option was requested as part of the Parameter Request
 >    List option.

Seems potentially problematic for a client to ask for just one, and
get only one, if there are many.  It might get back the wrong one and
do the wrong thing.


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