[Dnsmasq-discuss] Can not set lease time to less than 2m

Tomas Hozza thozza at redhat.com
Tue Feb 24 15:11:29 GMT 2015


Hi.

Even though I configure dnsmasq to git leases
e.g. for 1 minute it always configures it self
with 2m lease time. I was not able to get under
2m, however if the value is greater than 2m, dnsmasq
configures itself correctly.

using:
...
dhcp-range=192.168.99.2,192.168.99.254,1m
dhcp-range=fd00:dead:beef:55::100,fd00:dead:beef:55::1ff,1m
...

gives:
...
dnsmasq-dhcp: DHCP, IP range 192.168.99.2 -- 192.168.99.254, lease time 2m
dnsmasq-dhcp: DHCPv6, IP range fd00:dead:beef:55::100 -- fd00:dead:beef:55::1ff,
lease time 2m
...

Why it is so? Seems like a bug IMHO.

Regards,
-- 
Tomas Hozza
Software Engineer - EMEA ENG Developer Experience

PGP: 1D9F3C2D
Red Hat Inc.                               http://cz.redhat.com



More information about the Dnsmasq-discuss mailing list