I tried to use 'includes' in the dhcpd.conf but it doesn't seem to work.
I thought it would be clever to have each subnet in its own .conf file:
/etc/dhcp/dhcpd.conf
/etc/dhcp/subnets/<network.conf>
Then just have:
include "/etc/dhcp/subnets/sub10.conf";
include "/etc/dhcp/subnets/sub20.conf";
include "/etc/dhcp/subnets/statics.conf";
in the dhcpd.conf file.
For some reason it won't keep all of the configurations, just the last one read.
Each "subNN.conf" has no global, only subnet specific configurations.
I thought it would be clever to have each subnet in its own .conf file:
/etc/dhcp/dhcpd.conf
/etc/dhcp/subnets/<network.conf>
Then just have:
include "/etc/dhcp/subnets/sub10.conf";
include "/etc/dhcp/subnets/sub20.conf";
include "/etc/dhcp/subnets/statics.conf";
in the dhcpd.conf file.
For some reason it won't keep all of the configurations, just the last one read.
Each "subNN.conf" has no global, only subnet specific configurations.