LinuxSir.cn,穿越时空的Linuxsir!

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

请问为什么DHCP无法启动

[复制链接]
发表于 2004-4-20 11:32:08 | 显示全部楼层 |阅读模式
我的系统是redhat9,现在要做一个dhcp服务器,一下是我的dhcpd.conf的配置

subnet 192.168.0.0 netmask 255.255.255.0 {
default-lease-time 86400;
max-lease-time 6220800;
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-name "mydomain.com";
#option broadcast-address 192.168.0.255;
option domain-name-servers 192.168.0.1;
range dynamic-bootp 192.168.0.21 192.168.0.253;
}
每次系统启动的时候dhcp就报错,手工启动也报错,报错内容如下,请问这是什么原因,该如何解决。谢谢

Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

** You must add a ddns-update-style statement to /etc/dhcpd.conf.
   To get the same behaviour as in 3.0b2pl11 and previous
   versions, add a line that says "ddns-update-style ad-hoc;"
   Please read the dhcpd.conf manual page for more information. **

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.
 楼主| 发表于 2004-4-20 13:35:13 | 显示全部楼层
搞定了,有几个参数我不明白,请教一下
ddns-update-style interim;
ignore client-updates;
option time-offset              -18000;
这三个参数是干什么用的,能解释一下吗?谢谢
发表于 2004-4-20 14:27:38 | 显示全部楼层
ddns-update-style是应用于DDNS解析用的,这个的具体作用我也不是太清楚,只是知道作用于DDNS
ignore client-updates用来禁止客户机自己改主机名
time-offset是本地时间与UTC之间的时间差
发表于 2004-4-20 14:27:45 | 显示全部楼层
ddns-update-style是应用于DDNS解析用的,这个的具体作用我也不是太清楚,只是知道作用于DDNS
ignore client-updates用来禁止客户机自己改主机名
time-offset是本地时间与UTC之间的时间差
发表于 2004-4-20 16:32:01 | 显示全部楼层
在最前边加这条语句
ddns-update-style interim;
保存后再重新启动服务就可以啦
发表于 2004-5-10 15:27:17 | 显示全部楼层
怎么解决的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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