发布网友
共1个回答
热心网友
用示例文件修改一下就好了,修改完在启动服务之前先运行一下 service dhcpd configtest,看一下语法有没有问题
下面是我PXE SERVER的DHCP设定档:
dhcpd.conf
#iddns-update-style interim;
ddns-update-style none;
ignore client-updates;
allow booting;
allow bootp;
class "pxeclients"{
match if substring(option vendor-class-identifier,0,9)="PXEClient";
filename "linux-install/pxelinux.0";
#filename "linux-install/sles11.1-/bootx.efi";
next-server 192.168.0.1;
}
subnet 192.168.0.0 netmask 255.255.255.0{
range 192.168.0.2 192.168.0.254;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
}