[Dnsmasq-discuss] TFTP unique root per subnet?
Alex Morris
dnsmasq-discuss at alexmorris.co.uk
Sat Feb 6 17:11:51 UTC 2021
On Sat, 6 Feb 2021, at 15:58, Geert Stappers wrote:
>
> Focus on the goal, not on the path you think you must travell.
>
Good advice.
The goal is to have TFTP root directories isolated. I could do this with multiple TFTP servers, specifying a different option 66 for each subnet. That's easy enough to do, but introduces an overhead in managing each TFTP server separately. If it's possible, I'd like to try to achieve it with a single TFTP server.
> Back to "TFTP unique root per subnet"
> Tag DHCP request from subnets with markers (a.k.a. 'tag') from that
> subnet.
> Set bootfile based upon tag
> Do known that bootfile may contain slashes, so several directory
> levels
> Have faith in TFTP client asking next file from same directory
>
That is a fantastic suggestion for PXE booting (and I'll keep it in mind for PXE booting in the future, thank you!), but my use case isn't PXE. In this case devices don't use TFTP to boot, so don't need a boot file, but do use TFTP to obtain further information after starting up (cf. option 66 mentioned above).
--
Alex
More information about the Dnsmasq-discuss
mailing list