<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi folks,<br></div><div><br></div><div>Would it make sense to have an option to explicitly enable PXE without having to use or enabling pxe-prompt or pxe-service?<br></div><div><br></div><div>I'd like the following to work, and then it would end up being a minimal command for PXE booting using proxyDHCP, without having to do seemingly arbitrary / unnecessary things (which by their arbitraryness are non-intuitive):<br></div><div><br></div><div>dnsmasq -d --bind-interface --port=0 -l leases --dhcp-range=192.168.101.1,proxy --enable-tftp --tftp-root="$(realpath ./files)" --dhcp-boot=pxelinux.0<br></div><div><br></div><div>Currently what the command actually needs to be is:<br></div><div><div><br></div><div>dnsmasq -d --bind-interface --port=0 -l leases --dhcp-range=192.168.101.1,proxy --enable-tftp --tftp-root="$(realpath ./files)" --pxe-service=254,dummy --dhcp-boot=pxelinux.0,,192.168.101.1<br></div><div><br></div><div>Currently<br></div><div>1. <a href="https://github.com/ipxe/ipxe/issues/954">https://github.com/ipxe/ipxe/issues/954</a> , if it is indeed a bug in dnsmasq, would need to get fixed to shorten dhcp-boot, and<br></div><div>2.  the other issue is is that (proxy dhcp) pxe mode is only enabled if pxe-prompt or pxe-service is passed. Is this really necessary? Also, shouldn't proxy mode enable it? I'm not sure a --enable-pxe option makes much sense for proxy mode, though maybe it does for normal dhcp. <br></div><div><br></div><div>Unrelated:<br></div><div>3. dnsmasq seems to pass pxe prompt suboptions (IIRC) 6 and 10 even when pxe-prompt isnt set / suboption 9 isn't sent (i.e. pxe-prompt isnt set, I think). Is this necessary?<br></div><div><br></div></div><div>Regards,<br></div></body></html>