Re: small clarification!!

Rob Stevens <robs@join.com> Sat, 10 February 1996 02:23 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa02005; 9 Feb 96 21:23 EST
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa02001; 9 Feb 96 21:23 EST
Received: from reef.bucknell.edu by CNRI.Reston.VA.US id aa18534; 9 Feb 96 21:23 EST
Received: from localhost by reef.bucknell.edu with SMTP (5.65/IDA-1.2.8) id AA10151; Fri, 9 Feb 1996 21:19:59 -0500
Date: Fri, 9 Feb 1996 21:19:59 -0500
Message-Id: <9602100132.AA02544@join.com>
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: Rob Stevens <robs@join.com>
To: Multiple recipients of list <dhcp-v4@bucknell.edu>
Subject: Re: small clarification!!
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
X-Comment: Discussion of DHCP for IPv4

Pratap reddy writes:

> I want to clarify myself about offering LEASE TIME while forming DHCPOFFER.
> It is given in the recent spec. that:
> 
> ---
> 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
> 

If the server finds that the clients has a valid, unexpired lease
for the client on the net in question it has two options:

1. If the lease expires at time Te and the time now is Tn then
   the server may choose to deliver a duration of (Te - Tn)

2. or.. the server may choose to deliver some other duration, say Td
   and adjust its database so that the expiration therein becomes
   Tn + Td

Which of these the server chooses to do is mainly a policy and
implementation question. However choosing (1) would not make
very much sense if the time to live on the existing lease was
only a few seconds.. I've forgotten whether the current doc
now says that the minimum lease is one hour, but delivering
a lease much shorter than this may be pointless.

Rob.