Re: [dhcwg] Other comments on the leasequery spec

Kim Kinnear <kkinnear@cisco.com> Thu, 08 April 2004 04:44 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 AAA14781 for <dhcwg-archive@odin.ietf.org>; Thu, 8 Apr 2004 00:44:19 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BBROL-0000m6-7A for dhcwg-archive@odin.ietf.org; Thu, 08 Apr 2004 00:43:53 -0400
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i384hrBL002979 for dhcwg-archive@odin.ietf.org; Thu, 8 Apr 2004 00:43:53 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BBROL-0000ly-22 for dhcwg-web-archive@optimus.ietf.org; Thu, 08 Apr 2004 00:43:53 -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 AAA14702 for <dhcwg-web-archive@ietf.org>; Thu, 8 Apr 2004 00:43:49 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1BBROI-0000M1-00 for dhcwg-web-archive@ietf.org; Thu, 08 Apr 2004 00:43:50 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BBOme-0000yx-00 for dhcwg-web-archive@ietf.org; Wed, 07 Apr 2004 21:56:50 -0400
Received: from [65.246.255.50] (helo=mx2.foretec.com) by ietf-mx with esmtp (Exim 4.12) id 1BBNaT-00046p-01 for dhcwg-web-archive@ietf.org; Wed, 07 Apr 2004 20:40:09 -0400
Received: from optimus22.ietf.org ([132.151.6.22] helo=optimus.ietf.org) by mx2.foretec.com with esmtp (Exim 4.24) id 1BBNZT-0004Ag-S8 for dhcwg-web-archive@ietf.org; Wed, 07 Apr 2004 20:39:07 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BBNZO-0006aI-9V; Wed, 07 Apr 2004 20:39:02 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1BBNZL-0006Za-Sx for dhcwg@optimus.ietf.org; Wed, 07 Apr 2004 20:38:59 -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 UAA22849 for <dhcwg@ietf.org>; Wed, 7 Apr 2004 20:38:57 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1BBNZJ-0003uW-00 for dhcwg@ietf.org; Wed, 07 Apr 2004 20:38:57 -0400
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1BBLGH-0005n8-00 for dhcwg@ietf.org; Wed, 07 Apr 2004 18:11:11 -0400
Received: from rtp-iport-2.cisco.com ([64.102.122.149]) by ietf-mx with esmtp (Exim 4.12) id 1BBKA2-0002UL-00 for dhcwg@ietf.org; Wed, 07 Apr 2004 17:00:38 -0400
Received: from rtp-core-1.cisco.com (64.102.124.12) by rtp-iport-2.cisco.com with ESMTP; 07 Apr 2004 13:57:22 -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 i37L06cp017219; Wed, 7 Apr 2004 17:00:06 -0400 (EDT)
Received: from kkinnear-w2k03.cisco.com ([161.44.65.230]) by flask.cisco.com (Mirapoint Messaging Server MOS 3.3.6-GR) with ESMTP id AHL11713; Wed, 7 Apr 2004 17:00:04 -0400 (EDT)
Message-Id: <4.3.2.7.2.20040407164610.026a2930@goblet.cisco.com>
X-Sender: kkinnear@goblet.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Wed, 07 Apr 2004 17:00:03 -0400
To: Ralph Droms <rdroms@cisco.com>, dhcwg@ietf.org
From: Kim Kinnear <kkinnear@cisco.com>
Subject: Re: [dhcwg] Other comments on the leasequery spec
Cc: kkinnear@cisco.com
In-Reply-To: <4.3.2.7.2.20040406205056.02cc3c10@flask.cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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=none autolearn=no version=2.60

At 08:53 PM 4/6/2004, Ralph Droms wrote:
>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.

        Yes, it MUST supply them if any exist, so the client
        "may" or "may not" see any, depending on whether they
        exist.  We'll fix this.



>>    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.

        Sure.  Except that you said that section 5 couldn't have
        SHOULD or MUST's in it, since it is the overview.


>>    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? 

        Some devices (notably DOCSIS) encode lots of stuff in the
        vendor-class-id.

>Also, for
>interoperabilty, SHOULD->MUST??

        Sure, but again, we either need to rescind the
        prohibition on RFC 2119 keywords in the overview, or just
        make sure that we do this properly elsewhere (or both, of
        course).


>>          client-last-transaction-time
>
>is this really critical? How is it used? Document doesn't say.

        That certainly slipped through the cracks.  The
        client-last-transaction time is what is used to decide
        the "latest" and therefore most important IP address to
        return in the ciaddr when the query is by MAC address or
        client-identifier.  It is also used to order the list of
        other IP addresses, returned in the associated-ip option.

        We'll make sure that we add that somewhere.


>>       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.

        I agree with your assumption.  We can certainly say that
        explicitly.


>>    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?

        Yes.


>>    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.

        It returns the IP address associated with this client
        that was most recently accessed by this client.  It
        returns this one and all of the others in the
        associated-ip option.  We can make that more clear.


>>    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?

        Yes.


>>    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.

        What is the "wrong" one?  If it gets the one most
        recently accessed by the client, then that is only the
        wrong one if it wants something else.  If it wants
        something else, it should ask for all of them.  I guess I
        don't see the problem here.  If you want the most recent,
        then you don't have to ask for them all.  If you don't
        want the most recent, then you should ask for them all.

        Cheers -- Kim



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


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