Re: doubt about lease...

Rajesh Saluja <rsaluja@wipinfo.soft.net> Mon, 22 April 1996 14:34 UTC

Received: from ietf.cnri.reston.va.us by IETF.CNRI.Reston.VA.US id aa11803; 22 Apr 96 10:34 EDT
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa11799; 22 Apr 96 10:34 EDT
Received: from reef.bucknell.edu by CNRI.Reston.VA.US id aa08651; 22 Apr 96 10:34 EDT
Received: from localhost by reef.bucknell.edu with SMTP (5.65/IDA-1.2.8) id AA16173; Mon, 22 Apr 1996 10:26:18 -0400
Date: Mon, 22 Apr 1996 10:26:18 -0400
Message-Id: <199604221434.TAA27349@comm10>
Errors-To: droms@bucknell.edu
Reply-To: dhcp-v4@bucknell.edu
Originator: dhcp-v4@bucknell.edu
X-Orig-Sender: dhcp-v4@bucknell.edu
Precedence: bulk
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Rajesh Saluja <rsaluja@wipinfo.soft.net>
To: Multiple recipients of list <dhcp-v4@bucknell.edu>
Subject: Re: doubt about lease...
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
X-Comment: Discussion of DHCP for IPv4
Mime-Version: 1.0
X-Mailer: ELM [version 2.4 PL24]

> 
> >I have a small doubt about the lease given by the DHCP server. Suppose
> > initially 
> >a client gets a lease of 10 hours ( lease requested by the client ) from a 
> >DHCP server. Now if the client again sends a DHCPDISCOVER (to the same server)
> >before the lease expires ( say after 2 hours ), what lease will be offered by 
> >the server? Will it be the remaining lease (in this case, 8 hours) for the 
> >same address ot it will again be 10 hours from the current time? 
> 
> It depends on the server implementation.  I think most servers will grant
> a full ten hour lease, but they're under no obligation to do so.  Some
> may provide an eight hour lease; others may allow some more sophisticated
> means of setting policy, so that it's up to the administrator configuring
> the server to decide how to handle this case (i.e., is it a "one-shot"
> lease, or one that can be extended at any time?).
> 
> The amount of lease time a server provides is a policy issue, not a
> protocol one, and as such is not covered by the DHCP spec.
> 
> -Shawn Mamros

With reference to my question above, Can you please explain the following
lines taken from the page number 27 (section 4.3.1) of dhcp draft 06.txt :

   The server must also choose an expiration time for the lease, as
              ^^^^
   follows:

   o IF the client has not requested a specific lease in the
     DHCPDISCOVER message and the client already has an assigned network
     address, the server returns the lease expiration time previously
                                                           ^^^^^^^^^^
     assigned to that address (note that the client must explicitly
     ^^^^^^^^^^^^^^^^^^^^^^^^
     request a specific lease to extend the expiration time on a
     previously assigned address), ELSE
     ...........
     ........... 

            From this text, it appears that the server must return the
     remaining lease for the assigned IP address. 
     Please correct me if I am wrong. Thanks!! 

Best Regards
Rajesh Saluja