I'm having issues with DHCP classes matching mac addresses.
We have a lot of one type of machine and I want to get the IPMI cards in the same pool.
I've tried the following;
class "IPMI" {
match if (substring(hardware, 0, 3) = 0c:c4:7a);
}
subnet 10.0.0.0 netmask 255.255.0.0 {
option routers 10.0.0.1;
pool {
range 10.0.1.0 10.0.1.255;
allow members of "IPMI";
}
}
For some reason nothing is getting matched and the machines aren't picking up reservations.
Oct 14 11:32:52 gotti dhcpd: DHCPDISCOVER from 0c:c4:7a:1c:d4:37 via em1: network LAN: no free leases
Any ideas?