您的位置:首页 > 其它

Not configured to listen on any interfaces!

2017-02-07 20:20 363 查看
dhcp错误,日志如下
an 2 02:31:33 lylinux dhcpd: No subnet declaration for eth0 (192.168.88.128).
Jan 2 02:31:33 lylinux dhcpd: ** Ignoring requests on eth0. If this is not what
Jan 2 02:31:33 lylinux dhcpd: you want, please write a subnet declaration
Jan 2 02:31:33 lylinux dhcpd: in your dhcpd.conf file for the network segment
Jan 2 02:31:33 lylinux dhcpd: to which interface eth0 is attached. **
Jan 2 02:31:33 lylinux dhcpd:
Jan 2 02:31:33 lylinux dhcpd:
Jan 2 02:31:33 lylinux dhcpd: Not configured to listen on any interfaces!
Jan 2 02:31:33 lylinux dhcpd:
Jan 2 02:31:33 lylinux dhcpd: This version of ISC DHCP is based on the release available
Jan 2 02:31:33 lylinux dhcpd: on ftp.isc.org. Features have been added and other changes
Jan 2 02:31:33 lylinux dhcpd: have been made to the base software release in order to make
Jan 2 02:31:33 lylinux dhcpd: it work better with this distribution.
Jan 2 02:31:33 lylinux dhcpd:
Jan 2 02:31:33 lylinux dhcpd: Please report for this software via the CentOS Bugs Database:
Jan 2 02:31:33 lylinux dhcpd: http://bugs.centos.org/ Jan 2 02:31:33 lylinux dhcpd:
Jan 2 02:31:33 lylinux dhcpd: exiting.

原因:
没有读取到配置文件

解决:
# cp -f /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  dhcp