求助:CenOS7无法重启DHCP服务

各位路过的看客,本人刚学Linux,跟着视频教程搭建DHCP服务

 vi /etc/sysconfig/network-scripts/ifcfg-eth0

已经将BOOTPROTO=static了,DHCP的配置文件dhcpd.conf也修改为eth0内的IP和子网了。

但是重启DHCP,systemctl restart dhcpd时,
总是报错“Job for dhcpd.service failed because the control process exited with error code. See “systemctl status dhcpd.service” and “journalctl -xe” for details.”,
查看journalctl -xe
报出2个问题,Not configured to listen on any interfaces!No subnet declaration for eth0 .
希望有大佬帮忙看一下,怎么解决?十分感谢

你可能感兴趣的:(求助)