|
Linux dhcp服务器 ics-dhcp-server
subnet 192.168.5.0 netmask 255.255.255.0 {
option routers 192.168.5.1;
#option domain-name-servers 192.168.5.238,202.101.224.69;
option domain-name-servers 192.168.5.238,233.5.5.5;
#option domain-name-servers 192.168.5.238,233.5.5.5;
option domain-name "youlian.com";
range 192.168.5.60 192.168.6.99;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 192.168.5.238;
if option arch = 00:02 {
filename "ipxe.efi";
} else if option arch = 00:06 {
filename "ipxe.efi";
} else if option arch = 00:07 {
filename "ipxe.efi";
} else if option arch = 00:09 {
filename "ipxe.efi";
} else {
filename "ipxe.kpxe";
}
}
}
|
|