输入:systemctl start dhcpd

报错:Job for dhcpd.service failed because the control process exited with error code. See “systemctl status dhcpd.service” and “journalctl -xe” for details.

编辑:vim /etc/dhcp/dhcpd.conf
在这里插入图片描述
确保该网段与虚拟机的网卡是一致的
在这里插入图片描述
相一致的情况下才能启动dhcpd服务

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐