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-64/bootx64.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;
}
下面是我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-64/bootx64.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;
}
Storm代理
2023-05-30 广告
2023-05-30 广告
StormProxies是全球大数据IP资源服务商,其住宅代理网络由真实的家庭住宅IP组成,可为企业或个人提供满足各种场景的代理产品。点击免费测试(注册即送1G流量)StormProxies有哪些优势?1、IP+端口提取形式,不限带宽,IP...
点击进入详情页
本回答由Storm代理提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询