DHCP
dhcp运行失败
/var/log/message里关于dhcpd启动的报错信息,
Nov 1 16:12:08 centos6-1 dhcpd: No subnet declaration for eth1 (192.168.10.1). #(没有声明子网信息吗? 但是配置文件里面是指定了的)
Nov 1 16:12:08 centos6-1 dhcpd: ** Ignoring requests on eth1. If this is not what
Nov 1 16:12:08 centos6-1 dhcpd: you want, please write a subnet declaration
Nov 1 16:12:08 centos6-1 dhcpd: in your dhcpd.conf file for the network segment
Nov 1 16:12:08 centos6-1 dhcpd: to which interface eth1 is attached. **
Nov 1 16:12:08 centos6-1 dhcpd:
Nov 1 16:12:08 centos6-1 dhcpd:
Nov 1 16:12:08 centos6-1 dhcpd: Not configured to listen on any interfaces!
Nov 1 16:12:08 centos6-1 dhcpd:
Nov 1 16:12:08 centos6-1 dhcpd: This version of ISC DHCP is based on the release available
Nov 1 16:12:08 centos6-1 dhcpd: on ftp.isc.org. Features have been added and other changes
Nov 1 16:12:08 centos6-1 dhcpd: have been made to the base software release in order to make
Nov 1 16:12:08 centos6-1 dhcpd: it work better with this distribution.
Nov 1 16:12:08 centos6-1 dhcpd:
Nov 1 16:12:08 centos6-1 dhcpd: Please report for this software via the CentOS Bugs Database:
Nov 1 16:12:08 centos6-1 dhcpd: http://bugs.centos.org/
Nov 1 16:12:08 centos6-1 dhcpd:
Nov 1 16:12:08 centos6-1 dhcpd: exiting.
dhcp -cf /etc/dhcp/dhcpd 检查错误
查看/etc/init.d/dhcpd 配置文件路径是否一致
你看下init.d下的dhcpd脚本里面dhcpd.conf指向的是那个文件,不是/etc/dhcpd.conf的话,修改下测试下(最好先备份)
dhcp运行失败
/var/log/message里关于dhcpd启动的报错信息,
Nov 1 16:12:08 centos6-1 dhcpd: No subnet declaration for eth1 (192.168.10.1). #(没有声明子网信息吗? 但是配置文件里面是指定了的)
Nov 1 16:12:08 centos6-1 dhcpd: ** Ignoring requests on eth1. If this is not what
Nov 1 16:12:08 centos6-1 dhcpd: you want, please write a subnet declaration
Nov 1 16:12:08 centos6-1 dhcpd: in your dhcpd.conf file for the network segment
Nov 1 16:12:08 centos6-1 dhcpd: to which interface eth1 is attached. **
Nov 1 16:12:08 centos6-1 dhcpd:
Nov 1 16:12:08 centos6-1 dhcpd:
Nov 1 16:12:08 centos6-1 dhcpd: Not configured to listen on any interfaces!
Nov 1 16:12:08 centos6-1 dhcpd:
Nov 1 16:12:08 centos6-1 dhcpd: This version of ISC DHCP is based on the release available
Nov 1 16:12:08 centos6-1 dhcpd: on ftp.isc.org. Features have been added and other changes
Nov 1 16:12:08 centos6-1 dhcpd: have been made to the base software release in order to make
Nov 1 16:12:08 centos6-1 dhcpd: it work better with this distribution.
Nov 1 16:12:08 centos6-1 dhcpd:
Nov 1 16:12:08 centos6-1 dhcpd: Please report for this software via the CentOS Bugs Database:
Nov 1 16:12:08 centos6-1 dhcpd: http://bugs.centos.org/
Nov 1 16:12:08 centos6-1 dhcpd:
Nov 1 16:12:08 centos6-1 dhcpd: exiting.
dhcp -cf /etc/dhcp/dhcpd 检查错误
查看/etc/init.d/dhcpd 配置文件路径是否一致
你看下init.d下的dhcpd脚本里面dhcpd.conf指向的是那个文件,不是/etc/dhcpd.conf的话,修改下测试下(最好先备份)
编辑回复