由 haod 在 09-24-2004 06:05 发表:
请高手帮我看看 我的 DHCP ~~
linux:~ # /usr/sbin/dhcpd
Internet Software Consortium DHCP Server V3.0.1rc13
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Address range 192.168.1.10 to 192.168.1.100 not on net 219.148.133.0/255.255.255.0!
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.
由 haod 在 09-24-2004 06:07 发表:
照着精华帖子配的 ,配置文件 dhcpd.conf 内容如下:
option domain-name "linux";
default-lease-time 1200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1,192.168.1.2;
subnet 219.148.133.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
max-lease-time 9200;
}
由 haod 在 09-24-2004 06:09 发表:
我没有 固定IP,
subnet 219.148.133.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
max-lease-time 9200;
}
这段是我用yast2 它自动生成的 。我用的是SUSE 9
由 haod 在 09-24-2004 07:02 发表:
把配置文件改成下面:
option domain-name "linux";
option domain-name-servers 192.168.1.1;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.125;
ddns-update-style none;
default-lease-time 28800;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
max-lease-time 43200;
}
又有错误:
linux:/home/haod # /usr/sbin/dhcpd
Internet Software Consortium DHCP Server V3.0.1rc13
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 leases to leases file.
No subnet declaration for eth0 (219.148.133.50).
** Ignoring requests on eth0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth0 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 f