[Dnsmasq-discuss] Setting multiple tags
Geert Stappers
stappers at stappers.nl
Tue Aug 4 12:15:27 BST 2020
On Tue, Aug 04, 2020 at 12:12:10PM +0200, kvaps wrote:
> Hi!
> Does dnsmasq support setting multiple tags for the dhcp clients?
>
> I'm trying to start dnsmasq with the following option
>
> --dhcp-host="02:00:ac:10:00:0a,id:*,set:foo,set:bar,set:baz,172.16.0.10,node1,infinite
>
> but it responds:
>
> dnsmasq: bad command line options: bad DHCP host name
>
The manaul page says
--dhcp-host=[<hwaddr>][,id:<client_id>|*][,set:<tag>][tag:<tag>][,<ipaddr>][,<hostname>][,<lease_time>][,ignore]
and the interesting part
[,set:<tag>]
not
[,set:<tag>[,set:<tag>]]
Please try
} --dhcp-host="02:00:ac:10:00:0a,id:*,set:foo:bar:baz,172.16.0.10,node1,infinite
and report back.
Groeten
Geert Stappers
--
Silence is hard to parse
More information about the Dnsmasq-discuss
mailing list