Pekny den preji, nedari se mi nastavit dhcp server, aby pri shodne casti mac adresy prideloval z jineho range a jinou ip dns serveru. V logu se vubec neobjevi zprava "matched".
subnet 172.30.0.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 172.30.0.255;
option routers 172.30.0.1;
default-lease-time 600;
option domain-name "test.local";
option ntp-servers 172.30.0.1;
class "mimo" {
match if ( substring(hardware, 1, 3) = "06:d0:96") or
( substring(hardware, 1, 3) = "f6:0f:91");
log ("matched");
}
pool {
allow members of "mimo";
range 172.30.0.30 172.30.0.39;
option domain-name-servers 172.22.0.2;
}
pool {
allow unknown-clients;
range 172.30.0.50 172.30.0.200;
option domain-name-servers 172.30.0.1, 1.1.1.1;
host host1 {
hardware ethernet 00:1E:06:XX:XX:XX;
fixed-address 172.30.0.122;
}
}
}