|
|
我是在虚拟机里面按照帖子上的方法设置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]
请问这是什么错误啊?大伙儿指教一下啊 |
|