I would like to set a different TFTP server in the DHCP than the one in the net server, but I can’t manage it.
The other TFTP server is located on a Synology NAS and is configured and started:
$ tftp 172.16.1.196
tftp> status
Connected to 172.16.1.196.
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp>
In the web interface I have entered the IP address in the settings of the DHCP server in the form at the location of the TFTP server:
I also executed the following commands on the net server:
I started a virtual machine and connected it to the network via a network bridge. The PXE boot menu from the Nethserver still appears there, and besides, the dnsmasq doesn’t seem to work so well anymore.
Can someone help me with my problem? Am I missing something? Is the configuration correct?
Is the TFTP server set correctly ?
Is it reachable for the whole subnet ? 172.16.1.1 -> 172.16.4.255 ?
Check that you have DHCP in NS set correctly.
You can try:
Set the DHCP and TFTP server in the same subnet 255 and see from there.
See if you can get the whole TFTP files default and /pxelinux.0
Thank you Ctek and fausp for your reactions to my questions.
My goal is to create a Relax-and-Recover-environment and to enable the recovery via PXE.
@Ctek
In the beginning it worked somehow already, even with the TFTP server on the NAS. Only when I wanted to undo the configuration or since I undoed it, there are these problems.
@fausp
That sounds promising to me at first. I’ll give it a try. Thank you! This FOG looks interesting. I’ll take a closer look at it.
This is in my todo list since two years ago. I never found time to test it. Please, keep me updated, if possible.
Regarding the tftp server, I have it running on a system that is not my dhcp server, I think it’s the same setup of yours.
In my dhcp server (running nethserver) I have the following custom template: