ddns-update-style none; ignore client-updates;
subnet 172.16.9.0 netmask 255.255.255.0
{ option routers 172.16.9.1;
option subnet-mask 255.255.255.0;
default-lease-time 21600;
max-lease-time 43200;
range 172.16.9.201 172.16.9.254;
filename “/tftpboot/ks.cfg”;
next-server 172.16.9.1; }
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 “172.16.9.1”;
option vendor-class-identifier “PXEClient”; vendor-option-space PXE; }
这是我以前配置的dhcp,改了一下,你参考一下。 网卡地址你改一下,尝试测试一下看看