DHCP "No subnet declaration for xxx (no IPv4 addresses)" 报错

一、系统及软件版本

系统 DHCP
Centos7.4 4.2.5

二、报错信息

mesages日志文件:

status:

 三、解决方法

cat /etc/sysconfig/dhcpd
vim /usr/lib/systemd/system/dhcpd.service
ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid br0 #添加DHCP分配的网络接口,我的为br0
systemctl daemon-reload
systemctl restart dhcpd
systemctl status dhcpd

原因:没有确认,其他服务器都是统一安装的,但是只有这台会报错

猜你喜欢

转载自www.cnblogs.com/panwenbin-logs/p/12744615.html