报错提示如下:
[root@server dhcp]# systemctl restart dhcpd.service
Job for dhcpd.service failed because the control process exited with error code. See "systemctl status dhcpd.service" and "journalctl -xe" for details.
-- The result is failed.
Aug 17 05:04:11 server dhcpd[3135]: you want, please write a subnet declaration
Aug 17 05:04:11 server systemd[1]: Unit dhcpd.service entered failed state.
Aug 17 05:04:11 server dhcpd[3135]: in your dhcpd.conf file for the network segment
Aug 17 05:04:11 server systemd[1]: dhcpd.service failed.
Aug 17 05:04:11 server dhcpd[3135]: to which interface ens33 is attached. **
Aug 17 05:04:11 server dhcpd[3135]:
Aug 17 05:04:11 server dhcpd[3135]:
Aug 17 05:04:11 server dhcpd[3135]: Not configured to listen on any interfaces!
Aug 17 05:04:11 server dhcpd[3135]:
Aug 17 05:04:11 server dhcpd[3135]: This version of ISC DHCP is based on the release av
Aug 17 05:04:11 server dhcpd[3135]: on ftp.isc.org. Features have been added and other
Aug 17 05:04:11 server dhcpd[3135]: have been made to the base software release in orde
Aug 17 05:04:11 server dhcpd[3135]: it work better with this distribution.
Aug 17 05:04:11 server dhcpd[3135]:
Aug 17 05:04:11 server dhcpd[3135]: Please report for this software via the CentOS Bugs
Aug 17 05:04:11 server dhcpd[3135]: http://bugs.centos.org/
Aug 17 05:04:11 server dhcpd[3135]:
Aug 17 05:04:11 server dhcpd[3135]: exiting.
Aug 17 05:04:11 server polkitd[619]: Unregistered Authentication Agent for unix-process
Aug 17 05:04:13 server dhclient[3110]: DHCPDISCOVER on ens33 to 255.255.255.255 port 67
Aug 17 05:04:19 server dhclient[3110]: DHCPDISCOVER on ens33 to 255.255.255.255 port 67
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。