Re: [dhcwg] DHCP_DECLINE question

Ralph Droms <rdroms@cisco.com> Thu, 07 March 2002 02:54 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA24229 for <dhcwg-archive@odin.ietf.org>; Wed, 6 Mar 2002 21:54:01 -0500 (EST)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id VAA07772 for dhcwg-archive@odin.ietf.org; Wed, 6 Mar 2002 21:54:05 -0500 (EST)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id VAA07682; Wed, 6 Mar 2002 21:52:37 -0500 (EST)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id VAA07605 for <dhcwg@optimus.ietf.org>; Wed, 6 Mar 2002 21:52:34 -0500 (EST)
Received: from funnel.cisco.com (funnel.cisco.com [161.44.168.79]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA24151 for <dhcwg@ietf.org>; Wed, 6 Mar 2002 21:52:29 -0500 (EST)
Received: from rdroms-w2k.cisco.com (sjc-vpn1-150.cisco.com [10.21.96.150]) by funnel.cisco.com (8.8.5-Cisco.1/8.6.5) with ESMTP id VAA16174 for <dhcwg@ietf.org>; Wed, 6 Mar 2002 21:52:02 -0500 (EST)
Message-Id: <4.3.2.7.2.20020306214213.00b924e8@funnel.cisco.com>
X-Sender: rdroms@funnel.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Wed, 06 Mar 2002 21:51:31 -0500
To: dhcwg@ietf.org
From: Ralph Droms <rdroms@cisco.com>
Subject: Re: [dhcwg] DHCP_DECLINE question
In-Reply-To: <A828DD9A-3159-11D6-8B5E-00039367340A@nominum.com>
References: <JCELKJCFMDGAKJCIGGPNOEOPDKAA.rbhibbs@pacbell.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Sender: dhcwg-admin@ietf.org
Errors-To: dhcwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: <dhcwg.ietf.org>
X-BeenThere: dhcwg@ietf.org

Ted - I disagree with your flat statement that a server that returns 
different parameters in the DHCPACK is broken:

 From section 3.1 of RFC2131, in the 4th item in the numbered list:

      The server selected in the DHCPREQUEST message commits the
      binding for the client to persistent storage and responds with a
      DHCPACK message containing the configuration parameters for the
      requesting client.  [...]
      Any configuration parameters in the DHCPACK message SHOULD NOT
      conflict with those in the earlier DHCPOFFER message to which the
      client is responding.

The cited behavior is in conflict with the SHOULD NOT in the second 
sentence, so the server is not violating this part of the protocol spec.

I can imagine a *transient* situation in which the server's configuration 
changes between transmission of the DHCPOFFER and the DHCPACK, causing a 
difference in the parameters in the two messages *for that one 
transaction*.  In this situation, if the client sends a DHCPRELEASE and 
then tries again, the server will, presumably, either send a DHCPOFFER that 
the client will ignore (if the parameters are still unacceptable) or a 
DHCPOFFER that is followed by a consistent DHCPACK.

So, there's an existence proof that the situation might be fixable through 
the protocol.  Now, whether the possibility is worth trying to fix is open 
for discussion...

- Ralph

At 05:26 PM 3/6/2002 -0600, Ted Lemon wrote:
>I don't see what kind of traction you'd expect to get by telling a DHCP 
>server that gave you unacceptable parameters on a DHCPACK that you no 
>longer want the IP address.   The only way I can see this happening is if 
>the DHCP server is broken - it sent a DHCPOFFER with different information 
>than was contained in the DHCPACK.   If it sent the same information in 
>the DHCPACK, the client has no business declining the offer - if it didn't 
>like it, it should never have sent a DHCPREQUEST.
>
>So if the server is broken and sends different information in the DHCPACK 
>than in the DHCPOFFER, the client can either accept what the server sent, 
>or write the server off as broken.   Sending a DHCPRELEASE and then 
>reconfiguring isn't going to work, and neither is sending a DHCPDECLINE - 
>the server is broken, and no protocol action is going to fix it.
>
>
>_______________________________________________
>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