On Wed, Sep 09, 2020 at 12:32:37PM +0100, Jerome Vuarand wrote:
> On Tue, 8 Sep 2020 at 12:59, Geert Stappers 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=[][,id:|*][,set:][tag:][,][,][,][,ignore]
> >text ... allocated the same hostname, IP address ... more text ...
>
> All sections are optional in that line.
Yes, for a valid syntax.
('valid syntax' meaning "no syntax error")
> 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).
So it seems you either want
dhcp-host=id:target,192.168.4.2
or
dhcp-host=id:target,target
> The problem happens when that same client connects a second time.
The reason we have this email thread.
Please pursuit the problem further
and pretty please report back how it is going.
Groeten
Geert Stappers
--
Silence is hard to parse
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss