Site Tools


New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
tftpserver_inst

install tftp server

reference: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/chap-installation-server-setup.html#sect-network-boot-setup-bios

install rhel server to be used as tftpserver
configure software repository --> in example HTTP export on repo server

yum install tftp-server
open firewall if needed
  firewall-cmd --add-service=tftp
yum install dhcp
edit /etc/dhcp/dhcpd.conf
option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;
option architecture-type code 93 = unsigned integer 16;

subnet 10.0.0.0 netmask 255.255.255.0 {
  option routers 10.0.0.254;
  range 10.0.0.2 10.0.0.253;

  class "pxeclients" {
      match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
      next-server 10.0.0.1;

      if option architecture-type = 00:07 {
        filename "uefi/shim.efi";
      } else {
        filename "pxelinux/pxelinux.0";
      }
  }
}
tftpserver_inst.txt · Last modified: 2022/07/10 09:34 by 127.0.0.1