среда, 27 июля 2011 г.

tftp

Поднимаем tftp сервис

Centos
Можно через штатный
#yum -y install tftp-server xinetd
#chkconfig tftp on
#chkconfig xinetd on
#chmod 777 /tftpboot

Дальше описано тут:
http://www.manageserver.ru/2009/09/21/tftp-просто-передать-файл-посети/
Но я не переношу xinetd, так что пока ищу альтернативный вариант.

Теперь надо настроить dhcp (опционально) для загрузки по сети
allow booting;
allow bootp;
class "pxeclients" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
next-server ;
filename "linux-install/pxelinux.0";
}
where the next-server should be replaced with the IP address of the tftp server.

http://www.centos.org/docs/5/html/5.2/Installation_Guide/ch31s05.html

Или, в случае с циской,
ip dhcp pool ts
import all
network 10.10.6.0 255.255.255.0
! option 67 ascii "thinstation.nbi.0"
bootfile thinstation.nbi.zpxe // Это как 67 опция. Для сетевух, которые не понимают большие загрузчики - .zpxe, как-то так.
option 66 ip 10.10.6.254

interface FastEthernet0/0
ip address 10.10.6.254 255.255.255.0
ip helper-address 10.10.6.254 // Вот! Без этого не прёт.

tftp-server flash:thinstation.nbi
tftp-server flash:thinstation.nbi.zpxe

http://www.anticisco.ru/forum/viewtopic.php?f=2&t=132

Комментариев нет:

Отправить комментарий