[Dnsmasq-discuss] How to disable bootp and all pxe boot in Dnsamsq?
Simon Kelley
simon at thekelleys.org.uk
Wed Mar 16 20:30:12 GMT 2011
Frank wrote:
> Hi experts:
> In my subnet there is an bare metal provision system called
> "linmin" which will serve pxe installation, I am also using dnsmasq in
> same subnet as a programmable DHCP server.
> now I want to disable all bootp and pxe stuff in dnsmasq because if
> dnsmasq offers IP during pxe installation, the linmin system will not work.
> I see from the man page simply ignores parameter will disable the
> functionality, so I add "dhcp-boot" in /etc/dnsmasq.conf, unlucky the
> dnsmasq cannot start error message:
>
> Starting dnsmasq:
> dnsmasq: missing parameter at line 87 of /etc/dnsmasq.conf
>
> So what should I do to disable it? thank you.
>
PXE boot ROMS make DHCP requests with the vendor-class set to a string
which starts with "PXEClient" you can test for this with
dhcp-vendorclass=set:pxestuff,"PXEClient"
and then tell dnsmasq to ignore anything which matches with
dhcp-ignore=tag:pxestuff
That syntax assumes a reasonably up-to-date dnsmasq version. You can do
the same thing with older code but the syntax is different, so check
back here for a translation.
HTH
Simon.
More information about the Dnsmasq-discuss
mailing list