Настройка параметров 66 и 67 для ISC DHCP-сервера

Как установить опцию 66 и опцию 67 для DHCP в isc-dhcp-сервере?

  • 066 Имя хоста загрузочного сервера
  • 067 Название загрузочного файла

1 ответ

Я должен отредактировать файл dhcpd.conf

nano -w /etc/dhcp/dhcpd.conf

и добавить следующие записи для активации опции 66 и 67.

#option 66
option tftp-server-name "w.x.y.z";

#option 67
option bootfile-name "test.cfg";

Затем перезапустить DHCP-сервер.

sudo service isc-dhcp-server restart

Человек dhcpd.conf

   next-server server-name;

   The next-server statement is  used  to  specify  the  host
   address  of  the  server  from which the initial boot file
   (specified in the filename statement)  is  to  be  loaded.
   Server-name  should  be  a  numeric IP address or a domain
   name.
Другие вопросы по тегам