3. Install and configure TFTP

After a PXE client gets its IP and subnet information from the DHCP server, it will move forward and contact next-server via TFTP. In our case this server will again be our master node, which has the IP 192.168.16.1 in that subnet. Now we need to create the necessary TFTP server to host kernel and initial ram disks which are then booted from.

  1. Install the TFTP server and client

    [root@master ~]# dnf install tftp-server tftp
    
  2. Enable the daemon

    [root@master ~]# systemctl enable tftp
    [root@master ~]# systemctl start tftp
    

TFTP server will be started when a socket is created with port 69. You can try this by connecting to it locally.

[root@master ~]# tftp localhost
tftp> get test
Error code 1: File not found

You will see that the daemon has started by itself.

[root@master ~]# systemctl status tftp
● tftp.service - Tftp Server
   Loaded: loaded (/usr/lib/systemd/system/tftp.service; indirect; vendor preset: disabled)
   Active: active (running) since Wed 2025-06-11 13:40:37 EDT; 59s ago
   Docs: man:in.tftpd
Main PID: 7151 (in.tftpd)
   Tasks: 1 (limit: 11140)
   Memory: 200.0K
   CGroup: /system.slice/tftp.service
         └─7151 /usr/sbin/in.tftpd -s /var/lib/tftpboot

Jun 11 13:40:37 master systemd[1]: Started Tftp Server.