мак я написал. Что за мамки стоят - не знаю. Подозреваю что проблема именно в интегрированных сетевых картах.
Пока пришлось одному абоненту руками прописать адрес.
cat /usr/local/etc/mydhcp/1/1.conf
subnet 10.1.55.0 netmask 255.255.255.0{
host Ivanova{
fixed-address 10.1.11.78;
hardware ethernet 00:11:8c:d6:34:29;
option routers 10.1.11.1;
}
}
cat /usr/local/etc/mydhcp/2/2.conf
subnet 10.2.22.0 netmask 255.255.255.0{
host Petrova{
fixed-address 10.1.22.78;
hardware ethernet 00:12:8c:d6:34:29;
option routers 10.1.22.1;
}
}
cat /usr/local/etc/mydhcp/3/3.conf
subnet 10.3.33.0 netmask 255.255.255.0{
host Sidorova{
fixed-address 10.1.33.78;
hardware ethernet 00:13:8c:d6:34:29;
option routers 10.1.33.1;
}
}
cat /usr/local/etc/mydhcp/up1.conf
include "/usr/local/etc/mydhcp/1/1.conf";
cat /usr/local/etc/mydhcp/up2.conf
include "/usr/local/etc/mydhcp/2/2.conf";
cat /usr/local/etc/mydhcp/up3.conf
include "/usr/local/etc/mydhcp/3/3.conf";
# cat dhcpd.conf
# dhcpd.conf
default-lease-time 2592000;
max-lease-time 2592001;
ddns-update-style ad-hoc;
log-facility local7;
shared-network noks{
authtoritative;
subnet 10.10.0.0 netmask 255.255.0.0{
include "/usr/local/etc/dhcp_noks/test.conf";
include "/usr/local/etc/mydhcp/1/1.conf";
include "/usr/local/etc/mydhcp/2/2.conf";
include "/usr/local/etc/mydhcp/3/3.conf";
include "/usr/local/etc/mydhcp/4/4.conf";
}
.....
/usr/local/etc/dhcpd.conf line 13: /usr/local/etc/mydhcp/3/3.conf: bad parse.
include "/usr/local/etc/mydhcp/3/3.conf"
^
/usr/local/etc/dhcpd.conf line 14: /usr/local/etc/mydhcp/4/4.conf: bad parse.
include "/usr/local/etc/mydhcp/4/4.conf"
^
/usr/local/etc/dhcpd.conf line 16: unexpected end of file
}
^
Configuration file errors encountered -- exiting
.....
/usr/local/etc/dhcpd.conf line 13: /usr/local/etc/mydhcp/3/3.conf: bad parse.
include "/usr/local/etc/mydhcp/3/3.conf"
^
/usr/local/etc/dhcpd.conf line 14: /usr/local/etc/mydhcp/4/4.conf: bad parse.
include "/usr/local/etc/mydhcp/4/4.conf"
^
Андрей писал(а):Человеческий фактор невнимательности.
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0