What I'm trying to to is assign all non static DHCP clients to opendns servers, they have some filtering enabled and the point is to set up a first line of defense for kids in my house. The computers for adults have static DHCP leases and I want them to use the normal DNS servers from my ISP. From other posts I've read this should be possible using the custom dnsmasq config section. So here is my setup:
DHCP range in the GUI is 192.168.1.100 - 192.168.1.149, this works fine
I have about a half dozen clients set up with static DHCP leases in the 192.168.1.50s area, this works fine
This is what I have in my dnsmasq custom config:
dhcp-range=set:red, 192.168.1.100, 192.168.1.149, 255.255.255.0
dhcp-option=net:red, 6, 208.67.222.222, 208.67.220.220
the dhcp-option line works fine, those are the opendns servers and if I set a computer to the tag red using mac address then it will get those servers when it renews it's lease, for example if I add a specific mac address like this:
dhcp-mac=red, XX:XX:XX:XX:XX:XX
So the question is how do I assign the range of 192.168.1.100 -192.168.1.149 to the tag red? This seems to work for other people but I'm not sure if they are using a newer version of dnsmasq or something.
I'm running this build of tomato on an asus n-16:
Tomato Firmware v1.28.9054 MIPSR2-beta K26 USB vpn3.6