【求助】DHCP的設定



贊助商連結


devilgod
2002-02-23, 10:13 AM
輸入#dhcpd start
就會出現下面的訊息
Internet Software Consortiun DHCP Server V3.0rc12
Copyright 1995-2001 Internet Software Consortiun.
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 in3.0b2pl11 and previous
versions, add a line that says "ddns-uupdate-style ad-hoc;"
Please read the dhcpd.conf manual page for more information.**
......................
(中間的訊息略過)
......................
exiting.

我的dhcpd.conf如下:
default-lease-time 259200;
max-lease-time 777600;
option domain-name "alex";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.200 192.168.1.254;
option broadcast-address 192.168.0.255;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.1.1;
}


加了ddns-update-style none;後
錯誤就變成
No subnet declaration for setup (0.0.0.0).
** Ignoring requests on setup. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface setup is attached. **
誰能幫我,我已經設了好幾天了,都試不出來....@@