[Dnsmasq-discuss] leases file only contains a single entry

Simon Kelley simon at thekelleys.org.uk
Mon Jul 29 09:30:42 BST 2019


There's not quite enough information to be sure, but my guess is that
each of the three clients is sending the SAME client-id,
ff:00:d9:85:be:00:01:00:01:24:95:20:a9:52:54:00:d9:85:be

If a client-id is provided, it's used in preference to the MAC address
to identify the client. dnsmasq has therefore seen the same client
taking out three leases, and deleted the previous lease as it issued the
next one, because a single client can have only one lease.

Simon.


On 25/07/2019 04:20, Joseph Muro wrote:
> 
> Hi,
> 
> The dnsmasq.leases file only contains a single entry, even though 3 DHCP
> leases have been acknowledged.
> 
> Here is content of leases file:
> 
>     1564110359 52:54:00:da:34:b0 10.20.102.208 *
>     ff:00:d9:85:be:00:01:00:01:24:95:20:a9:52:54:00:d9:85:be
> 
> 
> Here is snippet of configuration:
> 
> 
>     pid-file=/home/jmuro/dnsmasq/10.20.102/dnsmasq.pid
>     dhcp-hostsfile=/home/jmuro/dnsmasq/10.20.102/hostsfile
>     addn-hosts=/home/jmuro/dnsmasq/10.20.102/addnhosts
>     dhcp-leasefile=/home/jmuro/dnsmasq/10.20.102/dnsmasq.leases
> 
>     # Log options
>     log-facility=/home/jmuro/dnsmasq/10.20.102/dnsmasq.log
>     log-queries=extra
>     log-dhcp 
> 
> 
> I attached log file.
> 
> What am I missing?
> 
> Thanks,
> Joe 
> 
> _______________________________________________
> 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