<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">You must have a very small network and very special requirements?</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">From the man pages for dhcp-range:</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif"><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">Enable the DHCP server. Addresses will be given out from the range <start-addr> to <end-addr> and from statically defined addresses given in </span><b style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">dhcp-host </b><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">options.</span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">If the lease time is given, then leases will be given for that length of time. The lease time is in seconds, or minutes (eg 45m) or hours (eg 1h) or "infinite". If not given, the default lease time is one hour.</span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"><br></span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">The minimum lease time is two minutes. </span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium"><br></span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium">For IPv6 ranges, the lease time maybe "deprecated"; this sets the preferred lifetime sent in a DHCP lease or router advertisement to zero, which causes clients to use other addresses, if available, for new connections as a prelude to renumbering.</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 10:11 AM, Tomas Hozza <span dir="ltr"><<a href="mailto:thozza@redhat.com" target="_blank">thozza@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br>
<br>
Even though I configure dnsmasq to git leases<br>
e.g. for 1 minute it always configures it self<br>
with 2m lease time. I was not able to get under<br>
2m, however if the value is greater than 2m, dnsmasq<br>
configures itself correctly.<br>
<br>
using:<br>
...<br>
dhcp-range=192.168.99.2,192.168.99.254,1m<br>
dhcp-range=fd00:dead:beef:55::100,fd00:dead:beef:55::1ff,1m<br>
...<br>
<br>
gives:<br>
...<br>
dnsmasq-dhcp: DHCP, IP range 192.168.99.2 -- 192.168.99.254, lease time 2m<br>
dnsmasq-dhcp: DHCPv6, IP range fd00:dead:beef:55::100 -- fd00:dead:beef:55::1ff,<br>
lease time 2m<br>
...<br>
<br>
Why it is so? Seems like a bug IMHO.<br>
<br>
Regards,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Tomas Hozza<br>
Software Engineer - EMEA ENG Developer Experience<br>
<br>
PGP: 1D9F3C2D<br>
Red Hat Inc. <a href="http://cz.redhat.com" target="_blank">http://cz.redhat.com</a><br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</font></span></blockquote></div><br></div>