On 29-07-2019 10:30, Simon Kelley wrote:

>
> 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 
> 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.


If so, then the patch of the cool people from wifirst.fr from june 20

(
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2019q2/013087.html
)

could be a great help.


> Simon.
>

Regards

Geert Stappers

DevOps engineer @ Hendrikx ITC



_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to