В одном сегменте находятся два
DHCP-сервера. Один основной (Rapier 24i Allied
Telesyn), изменять настройки нет
возможности. Второй программный
(192.168.175.250) и имеет следующий конфиг:user@ltsp-server:~$ cat /etc/ltsp/dhcpd.conf
not authoritative;
option domain-name "domain.ru";
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.175.255;
option routers 192.168.175.6;
option domain-name-servers 192.168.77.28, 192.168.77.29;
option root-path "192.168.175.250:/opt/ltsp/i386";
next-server 192.168.175.250;
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
filename "/ltsp/i386/pxelinux.0";
} else {
filename "/ltsp/i386/nbi.img";
}
shared-network WORKSTATIONS {
subnet 192.168.175.0 netmask 255.255.255.0 {
}
}
host test {
hardware ethernet 08:00:27:D1:CE:B7;
fixed-address 192.168.175.253;
}
Бездисковая рабочая станция получает
IP-адрес с основного DHCP-сервера, после
чего начинает грузиться по PXE со второго.
Загрузка удается не всегда и иногда
заканчивается с ошибкой:
Decompressing Linux… Parsing ELF… done.
Booting the kernel.
Loading, please wait…
IP-Config: eth0 hardware address 08:00:27:d1:ce:b7 mtu 1500 DHCP
IP-Config: no response after 180 secs – giving up
/init: .: line 174: can’t open /tmp/net-eth0.conf
[ 186.249478] Kernel panic – not syncing: Attempted to kill init!
Получается, что бездисковая станция загружается "через раз".
Лог НЕУДАЧНОЙ загрузки:
Aug 11 12:56:53 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:56:53 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 12:56:55 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:56:55 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 12:56:59 ltsp-server dhcpd: DHCPREQUEST for 192.168.175.253 (192.168.175.250) from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:56:59 ltsp-server dhcpd: DHCPACK on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 12:56:59 ltsp-server in.tftpd[9487]: tftp: client does not accept options
Aug 11 12:57:04 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:04 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:05 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:05 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:07 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:07 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:11 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:11 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:19 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:19 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:35 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:57:35 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 12:58:07 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:58:07 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 12:59:07 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 12:59:07 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Лог УДАЧНОЙ загрузки:
Aug 11 13:08:52 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 13:08:52 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 13:08:54 ltsp-server dhcpd: DHCPREQUEST for 192.168.175.253 (192.168.175.250) from 08:00:27:d1:ce:b7 via eth0
Aug 11 13:08:54 ltsp-server dhcpd: DHCPACK on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 13:08:55 ltsp-server in.tftpd[9607]: tftp: client does not accept options
Aug 11 13:09:00 ltsp-server dhcpd: DHCPDISCOVER from 08:00:27:d1:ce:b7 via eth0
Aug 11 13:09:00 ltsp-server dhcpd: DHCPOFFER on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 13:09:00 ltsp-server dhcpd: DHCPREQUEST for 192.168.175.253 (192.168.175.250) from 08:00:27:d1:ce:b7 via eth0
Aug 11 13:09:00 ltsp-server dhcpd: DHCPACK on 192.168.175.253 to 08:00:27:d1:ce:b7 via eth0
Aug 11 13:09:00 ltsp-server mountd[2863]: authenticated mount request from 192.168.175.253:954 for /home/opt/ltsp/i386 (/home/opt/ltsp)
Добрые люди, подскажите!
Моя система Debian GNU/Linux 5.0
Все пакеты из стабильного репозитария.