Linux dhcp 服务
安装
yum install dhcp -y
配置
cat /etc/dhcp/dhcpd.conf
subnet 10.0.0.0 netmask 255.0.0.0 {
range 10.10.10.1 10.10.19.255;
option routers 10.0.0.1;
option domain-name-servers 10.255.255.254;
}
启动
service dhcpd start
#启动服务
chkconfig dhcpd on
#加入开机启动
pxe 启动参考
subnet 10.254.239.32 netmask 255.255.255.224 {
range dynamic-bootp 10.254.239.40 10.254.239.60;
option routers 10.0.0.1;
filename "pxelinux.0"; #pxe 启动文件
next-server 10.0.0.2; #tftp 服务
}
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »