linuxdhcp服务器怎么搭建

发布网友

我来回答

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;
}

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com