[Dnsmasq-discuss] try to split dcp ranges into known and unknown devices

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Wed Sep 2 12:45:53 BST 2015


Hi,

i'm trying to split my devices into specific ip ranges and give all
unknown devices another range.

But it doesn't work like i expected.

devices_unknown.conf:
-------------------------------------------------------------
dhcp-option=tag:unknown_gw,3,10.0.255.1

dhcp-range=net:#known,set:unknown_gw,10.0.255.10,10.0.255.250,5m
-------------------------------------------------------------

devices_ipmi.conf:
-------------------------------------------------------------
dhcp-mac=ipmi,0c:c4:7a:*:*:*
dhcp-mac=ipmi,00:25:90:*:*:*

dhcp-option=tag:ipmi_gw,3,10.0.32.1

# set dhcp range
dhcp-range=net:ipmi,set:ipmi_gw,10.0.32.10,10.0.47.250,60m
-------------------------------------------------------------


devices_server.conf:
-------------------------------------------------------------
dhcp-mac=server,0c:aa:aa:aa:*:*

dhcp-option=tag:server_gw,3,10.0.16.1

dhcp-range=net:server,set:server_gw,10.0.16.10,10.0.31.250,60m
-------------------------------------------------------------

But when i install new ipmi or server devices it still get's an IP from
the unknown range.

Stefan



More information about the Dnsmasq-discuss mailing list