LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 684|回复: 2

启动DHCP报错~~

[复制链接]
发表于 2005-2-28 13:31:15 | 显示全部楼层 |阅读模式
我是在虚拟机里面按照帖子上的方法设置DHCP服务器的,
http://www.linuxsir.cn/forum.php ... p;highlight=DHCP)
虚拟机的IP是192.168.101.1
配置如下:
default-lease-time 259200;

max-lease-time 518400;

#option domain-name                redhat007.local;

option domain-name-servers        192.168.101.254;

option subnet-mask              255.255.255.0;

ddns-update-style ad-hoc;

subnet 192.168.101.0 netmask 255.255.255.0{

range 192.168.101.100 192.168.101.200;

option broadcast-address 192.168.101.255;

}


可是当我启动时候却报错
$ service dhcpd start
Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl2
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Wrote 1 leases to leases file.
No subnet declaration for var/lib/dhcp/dhcpd.leases (101.97.115.101).
** Ignoring requests on var/lib/dhcp/dhcpd.leases.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface var/lib/dhcp/dhcpd.leases is attached. **
No subnet declaration for if (0.0.0.0).
** Ignoring requests on if.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface if 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.
[FAILED]

请问这是什么错误啊?大伙儿指教一下啊
发表于 2005-2-28 17:32:59 | 显示全部楼层
是在dhcpd.conf 中配置的吗,错误说:无子网声明呀
回复 支持 反对

使用道具 举报

发表于 2005-3-14 14:34:51 | 显示全部楼层
我的也是
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表