Regarding the dhcp lease time
muralikrishch at gmail.com
Mon May 13 18:20:43 UTC 2019
>> What have you configured on the server for the 'default-lease-time'
600s is configured in the conf file.
>>When you change the clock, are you deleting the existing lease database?
Nothing is modified w.r.t the lease database.
Thanks & Regards,
On Mon, May 13, 2019 at 10:24 PM Bruce Hudson <Bruce.Hudson at dal.ca> wrote:
> On Mon, May 13, 2019 at 08:46:46PM +0530, Murali Krishna wrote:
> > In the current scenario client requested for the respective lease for the
> > time duration as mentioned in the conf file.
> > Here is the sequence of flow it happened:
> > 1. Client initiates DHCP Request for 3600s(1hr)
> > 2. Server acknowledges(DHCP Ack) with lease time:(158253440s) 1831 days,
> > hours, 17 minutes, 20 seconds
> > How the server is calculating the lease time which is not the one defined
> > as per the conf file.
> I suspect your timeline is incomplete. Let me propose an alternative
> which, I confess, I have no real evidence):
> 1. Client initiates DHCP Request for 3600s(1hr)
> 2. Server acknowledges this lease and records it in the lease file,
> ending at an absolute time of "now+1 hour".
> 3. System admin sets the clock back 5 years.
> 4. Client initiates DHCP Request for 3600s(1hr)
> 5. Server acknowledges the existing, still valid lease, ending at an
> absolute time the server sees as 5 years in the future.
> When you change the clock, are you deleting the existing lease
> Bruce A. Hudson | Bruce.Hudson at Dal.CA
> ITS, Networks and Systems |
> Dalhousie University |
> Halifax, Nova Scotia, Canada | (902) 494-3405
> dhcp-users mailing list
> dhcp-users at lists.isc.org
Thanks & Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users