Adaptive lease time patch

Christof Chen christof at chen.de
Fri Sep 9 23:21:17 UTC 2005


On Saturday 10 September 2005 00:40, Ted Lemon wrote:
> Why is this better than using classes and subclasses?  

I'm not sure how to apply classes/subclasses to my situation.
I cannot distinguish the machines (laptops) in the office from those of the 
visitors. In fact, the machines from the visitors are the "usual office 
machines" from the other branch office right over the street. How would 
subclassing work in such an environment?

> with the change as
> you've described it, won't office machines also get short leases when
> there are a lot of visitors?

Yes, but probably the lease will not be scheduled for renewal while the horde 
is in (the leases are usually long) and it is no problem if the leases are 
short during exceptional circumstances anyway - the regular machines get 
longer leases as soon as the visitors leave. 
It is a safeguard to gracefully handle the usually rare event that there are 
more people coming within an lease interval into an office than i have 
IP-addresses there.



More information about the dhcp-hackers mailing list