Hi All,

Happy New Year!

I'm (today) a brand new user of dnsmasq (transitioning from dhcpd/bind) and
/loving/ it!

I'm interested in seeing if I can assign all of the "private" W-Fi mac
addresses (found enabled on Apple devices) to a different IP range on my
network, while the rest of the DHCP traffic goes to the "public" range.

I took a guess at the syntax:

dhcp-range=set:private_wifi,192.168.20.100,192.168.20.200,255.255.255.0,12h
dhcp-host=*:02:*:*:*:*,set:private_wifi
dhcp-host=*:06:*:*:*:*,set:private_wifi
dhcp-host=*:0A:*:*:*:*,set:private_wifi
dhcp-host=*:0E:*:*:*:*,set:private_wifi
dhcp-range=192.168.10.10,192.168.10.250,12h

However, it isn't working:

% journalctl -xeu dnsmasq.service -f | grep --line-buffered 0e:00

Jan 02 01:10:08 new-router dnsmasq-dhcp[10107]: 3820859244
DHCPREQUEST(lan0) 192.168.10.189 0e:00:12:69:fe:61
Jan 02 01:10:08 new-router dnsmasq-dhcp[10107]: 3820859244 DHCPACK(lan0)
192.168.10.189 0e:00:12:69:fe:61

If this isn't possible, what's the best location in the source to start
poking around?

Thanks!

Nick
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to