Hello Geert.
I'd like to confirm that the solutions posted by you and Petr worked
perfectly.
Sorry for my late reply, I didn't receive the email from the mailing list
(I assume I changed my settings wrongly), and Geert's email got caught up
in the Gmail spam filter.
Thanks to you both, foxtdev
Hello you,
(Cc to dnsmasq mailinglist)
On Fri, May 13, 2022 at 03:58:30PM +0200, Petr Menšík wrote:
> On 5/12/22 16:32, m...@foxt.dev wrote:
> > Hello,
> > Is it possible to script dnsmasq's IP generation. I'm aware it's
> > possible to run a script when dnsmasq generates a lease, but as far
I think you should be able to use dhcp-mac to assign tags, then use
separate dhcp-range only for selected tags. If you are able to create
patterns matching this way, no external script would be required.
dhcp-mac=set:special,AA:BB:CC:*:*:*
dhcp-range=tag:special,192.168.2.2,192.168.2.255
Hello,
Is it possible to script dnsmasq's IP generation. I'm aware it's
possible to run a script when dnsmasq generates a lease, but as far as I'm
aware it's not possible to send data from the script back into dnsmasq.
My ideal use case is the ability to use a different IP range for