Is there any way to associate a group to subnet in dhcpd.conf?
I want hosts in a specific group to be locked to an IP range defined in subnet.
Something like this:
Code:
authoritative;
ddns-update-style ad-hoc;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.1 192.168.0.100;
option blah1;
option blah2;
}
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.101 192.168.0.200;
option blah3;
option blah4;
}
group {
# How do a link this group to range 1-100?
host test1 { hardware ethernet 00:11:22:33:44:55; }
host test2 { hardware ethernet 00:22:22:33:44:66; }
}
group {
# How do a link this group to range 101-200?
host test3 { hardware ethernet 00:22:55:66:99:88; }
host test4 { hardware ethernet 00:33:77:11:22:44; }
}
Thanks in advance.