复制default-lease-time 14400; ddns-update-style none; # define rules to identify DHCP Requests from PXE and Etherboot clients. class "pxe" { match if substring (option vendor-class-identifier,模式 0, 9) = "PXEClient"; } class "etherboot" { match if substring (option vendor-class-identifier, 0, 9) = "Etherboot"; } subnet 192.168.0.0 netmask 255.255.255.0 { pool { range 192.168.0.191 192.168.0.191; default-lease-time 14400; max-lease-time 172800; option broadcast-address 192.168.0.255; allow members of "pxe"; allow members of "etherboot"; # allow etherboot, too deny unknown-clients; } server-name "pxeserver"; next-server 192.168.0.191; filename "pxelinux.0"; include "/etc/bond_hosts.inc"; } 1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.