Without delving into the "why", I need help making this possible.
I use Dnsmasq as my DHCP server and I'm playing around with the following config but Dnsmasq errors out at line 2 to 5. I don't know if it's a syntax error or if dhcp-host doesn't allow masks.
dhcp-range=set:EARTH,192.168.35.51,192.168.35.200,255.255.255.0,24h
dhcp-host=*2:*:*:*:*:*,set:random_mac
dhcp-host=*6:*:*:*:*:*,set:random_mac
dhcp-host=*a:*:*:*:*:*,set:random_mac
dhcp-host=*e:*:*:*:*:*,set:random_mac
dhcp-ignore=tag:EARTH,tag:random_mac
Honestly, I don't know what I'm doing. lol
Any helping hand will be very much appreciated.
If you dont know what you are doing read the dhcp-host directive in the man page, it explains everything:
https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
Quote from: Monviech (Cedrik) on September 28, 2025, 03:56:32 PMIf you dont know what you are doing read the dhcp-host directive in the man page, it explains everything:
https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
Ah well... so evidently, wildcard masks aren't supported.
Thank you. It was already late last night and didn't think better to look at the docs.