[Dnsmasq-discuss] Multiple DHCP ranges
Philippe Faure
philippe at faure.ca
Fri Sep 27 03:52:12 BST 2013
Hello,
I am looking to setup two DHCP ranges, one would bypass a proxy and
the other wouldn't.
dnsmasq should be able to use MAC address of the hardware to decide
which range it should fall into. I would like to confirm that the
following config would work.
dhcp-range=tag:bypass,10.3.0.70,10.3.0.99,72h #2013-09-26 DHCP-RANGE
Bypass Proxy HArdware
dhcp-range=10.3.0.100,10.3.0.199,72h #2010-10-07 DHCP-RANGE PROXY HARDWARE
dhcp-host=00:0e:35:47:9e:5f,set:bypass # Sheilaslaptop
dhcp-host=88:c6:63:41:e4:0f,set:bypass #Sheilas-iPod
dhcp-host=00:27:09:5e:05:77,set:bypass #Wii
dhcp-host=00:1d:c0:03:6e:57,set:bypass #envoy
dhcp-host=00:40:ad:1e:d0:cf,set:bypass #webbox150053455
dhcp-host=a0:6c:ec:d9:8f:e9,set:bypass #BLACKBERRY-036A
The way I understand the two dhcp-range, is that if the hardware isn't
set as bypass, it should fall into the second dhcp-range.
Now if I didn't set any tag to the NTP, Gateway, DNS options, they
would apply to both ranges,
dhcp-option=42,10.3.0.2 #NTP
dhcp-option=3,10.3.0.2 #gateway
dhcp-option=6,10.3.0.2, 10.3.0.1 #DNS
Thank you
Philippe
More information about the Dnsmasq-discuss
mailing list