<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 8, 2015 at 2:35 PM, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk" target="_blank">simon@thekelleys.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 04/05/15 12:42, Rick Thomas wrote:<br>
><br>
> Is there any way to set the lease time for a client derived from the<br>
> /etc/ethers file?<br>
><br>
> I can set a lease time for a lease derived from a “dhcp-range” or<br>
> “dhcp-host” config statement, but I can’t find any way to set it for<br>
> the “implied” dhcp-host config when the host comes from /etc/ethers<br>
> via a “read-ethers” config.<br>
><br>
<br>
</span>You can't put a lease time in /etc/ethers. The format of the ethers file<br>
is defined outside dnsmasq and doesn't have the syntax to represent it.<br>
<br>
You can keep the /etc/ethers file and include lease times separately in<br>
dhcp-hosts configs with just a MAC addresses or hostname and lease time.<br></blockquote><div><br></div><div>You presumably have a "dhcp-range static" option already configured, since it is needed for read-ethers to work, and the lease time can be set there for the entire group, but not individually.<br></div></div></div></div>