Aug 08 05:13:24 localhost.localdomain dhcpd[8744]: Not searching LDAP since ldap-server, ldap-port and lda...file\nAug 08 05:13:24 localhost.localdomain dhcpd[8744]: Wrote 0 leases to leases file.\nAug 08 05:13:24 localhost.localdomain dhcpd[8744]:\nAug 08 05:13:24 localhost.localdomain dhcpd[8744]: No subnet declaration for ens34 (no IPv4 addresses).\nAug 08 05:13:24 localhost.localdomain dhcpd[8744]: ** Ignoring requests on ens34. If this is not what\nAug 08 05:13:24 localhost.localdomain dhcpd[8744]: you want, please write a subnet declaration\nAug 08 05:13:24 localhost.localdomain systemd[1]: dhcpd.service: main process exited, code=exited, status=...LURE\nAug 08 05:13:24 localhost.localdomain systemd[1]: Failed to start DHCPv4 Server Daemon.\nAug 08 05:13:24 localhost.localdomain systemd[1]: Unit dhcpd.service entered failed state.\nAug 08 05:13:24 localhost.localdomain systemd[1]: dhcpd.service failed.\nHint: Some lines were ellipsized, use -l to show in full.\n报错内容:报错信息显示了dhcpd服务启动失败的原因。具体原因是没有为网络接口ens34定义子网声明,因此忽略了ens34上的请求。要解决这个问题,需要在dhcpd的配置文件中添加适当的子网声明。


原文地址: https://www.cveoy.top/t/topic/qe0f 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录