配置dhcp服务,出现不明信息?

由 janghu 在 11-05-2003 23:44 发表:

配置dhcp服务,出现不明信息?

配置dhcp.conf格式为:

subnet 219.245.36.0 netmask 255.255.255.0{

option routers 219.245.36.1;

option subnet-mask 255.255.255.0;

option domain-name "xjtu.edu.cn";

option domain-name-servers 202.117.0.20,202.117.0.21;

range dynamic-bootp 219.245.36.161 219.245.36.161;

default-lease-time 1200;

max-lease-time 87600;

ddns-update-style ad-hoc;

}

执行#//etc/rc.d/init.d/dhcpd restart

出现

root@Hero root]# /etc/rc.d/init.d/dhcpd restart

关闭 dhcpd: [失败]

启动 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 [email protected]

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.

不知是什么原因?


由 fog_proxy 在 11-06-2003 00:53 发表:


格式不对,给个例子:

ddns-update-style interim;

ignore client-updates;

subnet 172.31.12.0 netmask 255.255.255.0 {

--- default gateway

option routers 172.31.12.199;

option subnet-mask 255.255

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus