[Dnsmasq-discuss] Any way to set the lease-time for hosts derived from /etc/ethers?

Simon Kelley simon at thekelleys.org.uk
Fri May 8 20:35:36 BST 2015


On 04/05/15 12:42, Rick Thomas wrote:
> 
> Is there any way to set the lease time for a client derived from the
> /etc/ethers file?
> 
> I can set a lease time for a lease derived from a “dhcp-range” or
> “dhcp-host” config statement, but I can’t find any way to set it for
> the “implied” dhcp-host config when the host comes from /etc/ethers
> via a “read-ethers” config.
> 

You can't put a lease time in /etc/ethers. The format of the ethers file
is defined outside dnsmasq and doesn't have the syntax to represent it.

You can keep the /etc/ethers file and include lease times separately  in
dhcp-hosts configs with just a MAC addresses or hostname and lease time.

Cheers,

Simon.


> Thanks!
> 
> Rick _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk 
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list