On 16/02/2024 13:24, Matthias Lay via Dnsmasq-discuss wrote:
Hi List,
I am trying to set the *dhcp-ignore* option for a single dhcp-range
only. after reading the manpage my setup is like this:
dhcp-range=set:8,22.22.22.1,22.22.22.100
dhcp-ignore=tag:8,tag:!known
this doesnt seem to work. the tags are there and logged, but the
request is not ignored. it works without the "tag:8".
is this a timing problem? set:8 executed after the ignore handling?
any hint how this could be achieved otherwise?
Yes, this is a timing problem: the workflow is
determine tags
ignore is tags permit
use tags to pick dhcp-range, and add tags from that range
use new tag set to pick dhcp options.
does a simple
dhcp-range=tag:!known,22.22.22.1,22.22.22.100
not achieve what you want?
Simon.
thx in advance
Matze
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss