Всем привет!Пытаюсь решить свою проблему в одиночку уже неделю!
Установил DHCPd-server под ОС FreeBSD
Сделал dhcpd.conf по мануалу.
Все бы хорошо, но клиентские машины получают ip-адреса ТОЛЬКО из динамической зоны.
Все, что прописано статически (через host) игнорируется :(
Ошибка в мак-адресе исключена, проверял много (поверьте, очень много) раз :)
Перечитал тонны док, пробовал omshell.
Ничего не помогает :(
ОС: FreeBSD 6.0-RELEASE
DHCPd: isc-dhcp3-server
dhcpd.conf:
option domain-name "domain.firma.com";
option domain-name-servers 192.168.111.1;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
option time-offset 7200;
option time-servers 192.168.111.1;
option ntp-servers 192.168.111.1;
use-host-decl-names on;
ddns-updates off;
authoritative ;
default-lease-time 6000;
max-lease-time 7200;
ddns-update-style none;
log-facility local7;
subnet 192.168.111.0 netmask 255.255.255.0 {
option broadcast-address 192.168.111.255;
range 192.168.111.100 192.168.111.150;
default-lease-time 14400;
max-lease-time 172800;
option routers 192.168.111.1;
}
####################
# Pupils computers #
####################
host gfl-tc1 {
option host-name "gfl-tc1";
option routers 192.168.1.1;
hardware ethernet 00:13:8F:4B:8E:82;
fixed-address 192.168.1.21;
}
host gfl1-tc2 {
option host-name "gfl-tc2";
option routers 192.168.1.1;
hardware ethernet 00:13:d4:41:5c:76;
fixed-address 192.168.1.22;
}
host gfl-tc3 {
option host-name "gfl-tc3";
option routers 192.168.1.1;
hardware ethernet 00:13:8F:6D:5B:5C;
fixed-address 192.168.1.23;
}
host gfl-tc4 {
option host-name "gfl-tc4";
option routers 192.168.1.1;
hardware ethernet 00:0b:6a:f8:4e:27;
fixed-address 192.168.1.24;
}
host gfl-tc5 {
option host-name "gfl-tc5";
option routers 192.168.1.1;
hardware ethernet 00:0F:EA:39:DD:00;
fixed-address 192.168.1.25;
}
host gfl-tc6 {
option host-name "gfl-tc6";
option routers 192.168.1.1;
hardware ethernet 00:0F:EA:39:DC:F4;
fixed-address 192.168.1.26;
}
host gfl-tc7 {
option host-name "gfl-tc7";
option routers 192.168.1.1;
hardware ethernet 00:0F:EA:39:DD:45;
fixed-address 192.168.1.27;
}
host gfl-tc8 {
option host-name "gfl-tc8";
option routers 192.168.1.1;
hardware ethernet 00:0F:EA:39:D9:C8;
fixed-address 192.168.1.28;
}
host gfl-tc9 {
option host-name "gfl-tc9";
option routers 192.168.1.1;
hardware ethernet 00:0F:EA:39:DC:E3;
fixed-address 192.168.1.29;
}
host gfl-tc10 {
option host-name "gfl-tc10";
option routers 192.168.1.1;
hardware ethernet 00:14:2A:8A:50:8C;
fixed-address 192.168.1.30;
}
######################
# Teacher's computer #
######################
host gfl-tc11 {
option host-name "gfl-tc11";
option routers 192.168.1.1;
hardware ethernet 00:15:F2:53:85:23;
fixed-address 192.168.1.31;
}