系统 DHCP
Centos7.4 4.2.5

二、报错信息

mesages日志文件:

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

status:

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

 三、解决方法

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

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

相关文章:

  • 2022-12-23
  • 2021-04-05
  • 2022-12-23
  • 2022-12-23
  • 2021-04-06
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-17
  • 2022-12-23
  • 2021-10-03
  • 2021-09-14
  • 2022-12-23
相关资源
相似解决方案