[Dnsmasq-discuss] Possible lease matching/reuse bug
Jerome Vuarand
jerome.vuarand at gmail.com
Wed Sep 9 12:32:37 BST 2020
On Tue, 8 Sep 2020 at 12:59, Geert Stappers <stappers at stappers.nl> wrote:
>>>> dhcp-host=target
>
>>> 'dhcp-host=target,192.168.4.2'
>
> ???
>
> Manual page snippet from http://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
>
> --dhcp-host=[<hwaddr>][,id:<client_id>|*][,set:<tag>][tag:<tag>][,<ipaddr>][,<hostname>][,<lease_time>][,ignore]
> text ... allocated the same hostname, IP address ... more text ...
All sections are optional in that line. I provided the hostname and
hostname+ipaddr in the two examples above.
> It says provide server side with information how to identify client side
> so it can do the wanted assignment
The client sends its hostname "target" which seems to be enough to
identify it and give it the associated ipaddr (either from
dnsmasq.conf or from /etc/hosts). The problem happens when that same
client connects a second time.
More information about the Dnsmasq-discuss
mailing list