1、dhcp基础知识参考https://blog.csdn.net/ruocheng6/article/details/122363267
2、dhcp服务是C/S模式,/etc/dhcp/dhcpd.conf是服务端配置文件,/etc/dhcp/dhclient.conf是客户端配置文件
3、关于服务的一些配置命令:
systemctl start isc-dhcp-server.service //开启dhcp服务状态,使其处于running状态
systemctl restart isc-dhcp-server.service
systemctl stop isc-dhcp-server.service //关闭dhcp服务状态
systemctl status isc-dhcp-server.service //查看dhcp服务状态
systemctl enable isc-dhcp-server.service //使能dhcp服务
systemctl disable isc-dhcp-server.service //失能dhcp服务
systemctl list-units --type=service --state=running //查看处于running状态的服务
4、常见问题解决步骤
如果在执行systemctl start命令之后,使用systemctl status命令查看状态是失败的话,可以使用journalctl _PID命令查看失败的具体原因,
执行journalctl _PID=920查看失败原因:
通过该指令可以知道/etc/dhcp/dhcpd.conf的11行语法有错误
标签:服务,service,配置,server,systemctl,isc,dhcp From: https://www.cnblogs.com/jlxiaoyan/p/17976047