конфиг dhcpd.conf:
Код: Выделить всё
ddns-update-style none;
subnet 192.168.2.0 netmask 255.255.255.252 {
range 192.168.2.2 192.168.2.2;
option domain-name-servers 192.168.2.1;
option routers 192.168.2.1;
option ntp-servers 192.168.2.1;
default-lease-time 3600;
max-lease-time 86400;
host ADMIN {
hardware ethernet 00:22:15:CC:D5:B6;
fixed-address 192.168.2.2;
}
}
subnet 192.168.3.0 netmask 255.255.255.252 {
range 192.168.3.2 192.168.3.2;
option domain-name-servers 192.168.3.1;
option routers 192.168.3.1;
option ntp-servers 192.168.3.1;
default-lease-time 3600;
max-lease-time 86400;
host ADMIN2 {
hardware ethernet 00:22:15:CC:D5:D5;
fixed-address 192.168.3.2;
}
}при запуске выдает следующее:
Код: Выделить всё
#rcdhcpd restart
Shutting down DHCP server
Starting DHCP server Internet Systems Consortium DHCP Server V3.1-ESV
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
WARNING: Host declarations are global. They are not limited to the scope you declared them in.
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Interface eth0 matches multiple shared networks
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.Если убрать:
subnet 192.168.3.0 netmask 255.255.255.252 {
range 192.168.3.2 192.168.3.2;
option domain-name-servers 192.168.3.1;
option routers 192.168.3.1;
option ntp-servers 192.168.3.1;
default-lease-time 3600;
max-lease-time 86400;
host ADMIN2 {
hardware ethernet 00:22:15:CC:D5:D5;
fixed-address 192.168.3.2;
}
}
то запускается
Куда рыть?