Ставил во по этой статье http://www.citrin.ru/freebsd:pxe_sysinstall
Я так понимаю сетевая карта получает ip адрес от дхцп и грузит pxeboot после должен подцепиться по nfs /usr/pxe в котором лежит распакованный FreeBSD-8.1-RELEASE-i386-disc1.iso и начачаться загрузка, но после получения pxeboot система уходит в ребут. Не пойму то ли сетевуха не может переварить pxeboot то ли по nfs не подцепляется... Фаервол не стоит, в /var/log/nfsd.log пусто...
В качесте tftp сначала сделал со стандартным, потом поставил tftp-hpa ситуация не изменилась.
# tail -f dhcpd.log
Код: Выделить всё
Feb 9 09:16:08 dhcpd: DHCPOFFER on 192.168.2.252 to 00:0a:5e:13:7a:a2 via bge1
Feb 9 09:16:08 dhcpd: DHCPREQUEST for 192.168.2.252 (192.168.2.253) from 00:0a:5e:13:7a:a2 via bge1
Feb 9 09:16:08 dhcpd: DHCPACK on 192.168.2.252 to 00:0a:5e:13:7a:a2 via bge1
Feb 9 09:16:22 dhcpd: DHCPDISCOVER from 00:24:73:83:fe:f8 via bge1: network 192.168.2.0/24: no free leases
Feb 9 09:16:56 last message repeated 4 times
Код: Выделить всё
Feb 9 09:16:09 in.tftpd[3773]: RRQ from 192.168.2.252 filename pxeboot
tftp> get 192.168.2.253:pxeboot
Received 264990 bytes in 0.2 seconds
Код: Выделить всё
Exports list on localhost:
/usr/pxe Everyone
#
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers 192.168.2.2, 192.168.2.1;
authoritative;
ddns-update-style none;
# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style none;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
subnet 192.168.2.0 netmask 255.255.255.0 {
}
host bsdserv {
# тут надо вставить MAC-адрес ВАШЕГО "клиента"
hardware ethernet 00:0A:5E:13:7A:A2;
# IP-адрес "клиента"
fixed-address 192.168.2.252;
# IP-адрес "сервера"
next-server 192.168.2.253;
# путь к загрузчику
filename "pxeboot";
# корень TFTP сервера
#option root-path "/usr/tftpboot";
option root-path "192.168.2.253:/usr/pxe";
server-name "zpool";
}