ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
class "virtual" {
match if substring(hardware,1,3) = 00:01:4a;
}
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option nis-domain "domain.org";
option domain-name "domain.org";
option domain-name-servers 192.168.0.1;
option time-offset -18000; # Eastern Standard Time
default-lease-time 21600;
max-lease-time 43200;
pool {
allow members of "virtual";
range 192.168.0.10 192.168.0.20;
}
pool{
deny members of "virtual";
range 192.168.0.21 192.168.0.30;
}
}
filename "ks.cfg";
next-server 192.168.0.55;
option space PXE;
class "PXE" {
match if substring(option vendor-class-identifier,0,9)="PXEClient";
option vendor-encapsulated-options 01:04:00:00:00:00:ff;
option boot-size 0x1;
filename "pxelinux.0";
option tftp-server-name "192.168.0.55";
option vendor-class-identifier "PXEClient";
vendor-option-space PXE;
}
阅读(727) | 评论(0) | 转发(0) |