PXE\TFTP setup

torquenada

Cadet
Joined
Dec 12, 2019
Messages
1
FreeNAS and PXE newbie here.

I am trying to setup PXE but I am running into problems. I'm not sure if my setup is wrong, my troubleshooting is wrong, or both.

It looks like the TFTP is requesting a host IP, but FTP doesn't. That kinda confuses me. I have entered the IP for the TRUENAS server. Perhaps that is wrong. Does TFTP require it's own interface?

Here is system info:
TrueNAS-12.0-U4
interface: 192.168.2.4

Services > TFTP = running, start automatically
TFPT edit settings
directory: /mnt/NAS/PXE/PXE_B
host: 192.168.2.4
port: 69
username: nobody
file permissions: default
allow new files: unchecked
aux parameters: (blank)



I am using a VM booting to network and it is unable to connect.

My troubleshooting steps were to verify if the TFTP service is even running properly before trying to troubleshoot the router passing the PXE info. I am running these tests from the same computer as I am using to browse to the TrueNAS admin page.

To me it looks like the TFTP port (69) is closed. I checked other ports (80, 21) and they seem to be open.

From CMD:
tftp -i 192.168.2.4 get pxelinux.0
Connect request failed


From PowerShell:

Test-NetConnection 192.168.2.4 -port 69

WARNING: TCP connect to (192.168.2.4 : 69) failed
ComputerName : 192.168.2.4
RemoteAddress : 192.168.2.4
RemotePort : 69
InterfaceAlias : Ethernet 3
SourceAddress : 192.168.2.184
PingSucceeded : True
PingReplyDetails (RTT) : 0 ms
TcpTestSucceeded : False



Test-NetConnection 192.168.2.4 -port 80

ComputerName : 192.168.2.4
RemoteAddress : 192.168.2.4
RemotePort : 80
InterfaceAlias : Ethernet 3
SourceAddress : 192.168.2.184
TcpTestSucceeded : True



Test-NetConnection 192.168.2.4 -port 21

ComputerName : 192.168.2.4
RemoteAddress : 192.168.2.4
RemotePort : 21
InterfaceAlias : Ethernet 3
SourceAddress : 192.168.2.184
TcpTestSucceeded : True



Please let me know if I can provide any additional info.

Thank you in advance!
 

meshkoff

Cadet
Joined
Aug 6, 2021
Messages
1
Hello, same issue for me, did you manage to solve this?
Seems like TFTP is unusual service for TrueNAS users, i was searching around the community how to debug this and find not much info.
Did you try connect from TrueNAS CLI using local ip adress (127.0.0.1)?
Code:
tftp > connect 127.0.0.1
tftp > get test.file
 
Top