[Dnsmasq-discuss] ProxyDHCP with dnsmasq 2.77 - wrong suffix
Aaron Salwat
Asareon at live.com.au
Thu Aug 31 08:39:43 BST 2017
Hello all,
I've noticed what seems to be a bug with the NBP suffix for BIOS clients in version 2.77 for dnsmasq, which was working fine in 2.76.
I have not confirmed if the issue occurs within a normal DHCP/PXE environment, only for proxyDHCP.
Along with my DHCP server, the following configuration allows proper booting for my BIOS and UEFI clients.
pxelinux options 209, 210 have been hardcoded into the NBP files, as I could not for the life of me find a way to send these options using the --pxe-service fields.
209 = /pxeboot/
210 = bios.cfg
210 = efi64.cfg (for syslinux.e64, likewise for syslinux.e32)
Relevant lines within dnsmasq.conf:
dhcp-no-override
dhcp-range=10.0.60.200,proxy,255.255.255.0
pxe-service=x86PC,"Boot BIOS PXE",lpxelinux
pxe-service=IA32_EFI,"Boot UEFI-32bit PXE",syslinux.e32
pxe-service=BC_EFI,"Boot UEFI-BC PXE",syslinux.e64
pxe-service=X86-64_EFI,"Boot UEFI-64bit PXE",syslinux.e64
Using dnsmasq 2.76, the above configuration successfully finds and boots the "/pxeboot/lpxelinux.0" NBP file.
Change over to 2.77, and I see the following within dnsmasq logs:
dnsmasq-tftp[732]: file /pxeboot/lpxelinux not found
Interestingly, if I add the suffix to the config, so that dnsmasq.conf now shows:
pxe-service=x86PC,"Boot BIOS PXE",lpxelinux.0
I now receive the following within dnsmasq logs:
dnsmasq-tftp[772]: file /pxeboot/lpxelinux.0.0 not found
The simple workaround is to just remove the suffix from the "lpxelinux" file, then it all flows normally.
Please disregard me if I am wrong, but this behaviour seems to be the complete reverse of what is described on the man page, under "--pxe-service".
Regards,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20170831/0b7dec5b/attachment.html>
More information about the Dnsmasq-discuss
mailing list