[Dnsmasq-discuss] ignore PXE but not DHCP
simon at thekelleys.org.uk
Fri Apr 30 16:32:52 BST 2010
Ignacio Díez wrote:
> I have dnsmasq configured both as a PXE and a DHCP server. I can
> make the computers boot from their HDD or from PXE with the
> dhcp-host:MAC,ignore line.
> However, if dnsmasq ignores the petition, the PC boots from the disk
> but it cannot get an IP, as dnsmasq ignores both the PXE and the DHCP
> requests. How can I make dnsmasq ignore only PXE request but serve DHCP
> I've been trying to find the solution over the internet and the
> dnsmasq documentation, but I seem unable to find it.
To stop a machine from doing PXE, but still allow DHCP
which sets the tag "nopxe"
add "net:#nopxe" to all your existing pxe-service lines, that makes them
valid only when "nopxe" is NOT set.
which provides a single pxe-service to hosts with nopxe set, to do boot
from local disk.
You're setting a pxe-prompt, you may need to add "net:#nopxe" to that too.
I think that should work, let me kow if it doesn't and I'll think some more.
More information about the Dnsmasq-discuss