[Dnsmasq-discuss] Specify DHCP range based on Mac ADdress
Philippe Faure
philippe at faure.ca
Sun Sep 29 02:45:03 BST 2013
Hello,
I am looking to have two dhcp ranges:
Range 1- will only be allows to be used by specific MAC Addresses.
Range 2- will be used by all other MAC Addresses.
ie:
dhcp-range=tag:bypass,10.3.0.70,10.3.0.99,72h
dhcp-range=tag:!bypass,10.3.0.100,10.3.0.199,72h
Found reference here:
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2011q1/004846.html
then I would set the following.
dhcp-host=00:0e:35:47:9e:5f,set:bypass
The question is, can I leave the dhcp options (gateway, dns, ntp,etc)
as follows (dhcp-option=42,10.3.0.2), or do I have to assign those also?
dhcp-option=tag:bypass,42,10.3.0.2
dhcp-option=tag:!bypass,42,10.3.0.2
Even though it both entries will point to the same location?
Thank you
More information about the Dnsmasq-discuss
mailing list