请教高手 dhcp无法启动
我配置dhcp后启动后出现如下错误 希望高手指点,不胜感激:
[ot@123 etc]# service dhcpd restart
Internet Systems Consortium DHCP Server V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
No subnet declaration for restart (0.0.0.0).
** Ignoring requests on restart. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface restart is attached. **
Not configured to listen on any interfaces!
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
exiting.
[root@123 etc]# service dhcpd restart
Internet Systems Consortium DHCP Server V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
No subnet declaration for restart (0.0.0.0).
** Ignoring requests on restart. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface restart is attached. **
Not configured to listen on any interfaces!
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
exiting.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
果然启动了 太感谢楼上了 !!!!
你的錯誤訊息很有趣:
复制代码
你畫面是說執行 service dhcpd restart,但是我認為不大可能.....
你該不會是執行 dhcpd restart 吧?這是錯的,因為等於 /usr/sbin/dhcpd restart,這個 restart 被當作是 listen 的 interface name。
你應該是使用 /usr/sbin/dhcpd 就好,或者是執行 /etc/init.d/dhcpd restart 。
==
1。我的dhcpd.conf为:
ddns-update-style interim;
ignore client-updates;
subnet 0.0.0.0 netmask 255.255.255.255 {}
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.10 192.168.0.255;
option routers 192.168.0.254;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option domain-name-servers 202.106.0.20,202.96.209.5;
option time-offset -18000;
default-lease-time 86300;
max-lease-time 86300;
host ns {
hardware ethernet 00:0A:EB:4D:97:2F;
fixed-address 192.168.0.178;
}
}
2。ip为192.168.0.178
[ 本帖最后由 johncby 于 2006-7-3 13:03 编辑 ]
1. 你的设定文档配置内容?dhcpd.conf 内容为何?
2. 你的网路组态?ifconfig 结果为何?
==