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

1. System and software version

system DHCP
Centos7.4 4.2.5

Second, the error message

mesages log file:

status:

 Third, the solution

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 #Add the network interface assigned by DHCP, mine is br0 
systemctl daemon - reload 
systemctl restart dhcpd 
systemctl status dhcpd

Reason: No confirmation, other servers are installed uniformly, but only this one will report an error

Guess you like

Origin www.cnblogs.com/panwenbin-logs/p/12744615.html