[Dnsmasq-discuss] ignore PXE but not DHCP

Ignacio Díez ignacio.diez at alu.uclm.es
Fri Apr 30 18:29:32 BST 2010


El 30/04/10 17:32, Simon Kelley escribió:
> To stop a machine from doing PXE, but still allow DHCP
>
> dhcp-host=<MAC>,net:nopxe
>
> 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.
>
> add
>
> pxe-service=net:nopxe,x86PC,0
>
> 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.
>
>
> Cheers,
>
> Simon.
>


It doesn't seem to work, possibly because I am not using any pxe-service 
lines. Here is my dnsmasq.conf (I should have posted it earlier):

listen-address=127.0.0.1
listen-address=161.67.106.150
bind-interfaces
dhcp-range=161.67.106.250,161.67.106.254,5m
dhcp-option=vendor:MSFT,2,1i
tftp-root=/var/lib/tftpboot
dhcp-boot=pxelinux.0,hydra,161.67.106.150
dhcp-lease-max=150
dhcp-leasefile=/var/lib/misc/dnsmasq.leases
dhcp-hostsfile=~/hydra/manager/nodes.list


This nodes.list file contains something like:

00:30:1b:ad:07:d7,ignore
00:11:85:5e:26:24,ignore


I tried writting net:nopxe in the dhcp-boot line and the ignore lines, 
but it still refuses DHCP requests.
-------------- next part --------------
___________________________________________________

Enviado a trav??s de http://alumnos.uclm.es/webmail


More information about the Dnsmasq-discuss mailing list