[Dnsmasq-discuss] Default Lease Time

Edward Smith edward.ralph.smith at gmail.com
Sun Jun 26 19:07:46 BST 2005


I would like be able to set a default for the addresses in
/etc/ethers.  Which reminds me.  When I had an /etc/ethers defining
addresses from 192.168.5.100 to 200 AND a line like this

dhcp-range=192.168.5.100,192.168.5.200,2h

People were getting double leases.  So the guy who was assigned .100
by ethers would get 100 and also someone who had no entry in ethers
would get 100.  So now I just have ethers and no dhcp-range statements
in use.

Edward

On 6/24/05, Simon Kelley <simon at thekelleys.org.uk> wrote:
> Edward Smith wrote:
> > I see.  I can make it work mapping the mac to the lease time.   It
> > would be a nice feature to add a global default lease time for people
> > like me.
> >
> 
> There is a global default lease time (or at least a per-DHCP-range
> leasetime). Just add it to the dhcp-range config.
> 
> eg.
> 
> dhcp-range=192.168.100.10,192.168.100.30,24h
> 
> Cheers,
> 
> Simon.
>



More information about the Dnsmasq-discuss mailing list