limiting dnsmasq leases by MAC

Alkis Georgopoulos alkisg at gmail.com
Tue Oct 30 18:41:51 UTC 2012


sudo gedit /etc/dnsmasq.d/oursite.conf

dhcp-mac=lab1,12:34:56:78:00:01
dhcp-mac=lab1,12:34:56:78:00:02
dhcp-ignore=#lab1

sudo service dnsmasq restart

(note, #lab1 means "ignore all clients EXCEPT lab1", i.e. # stands for NOT)

Στις 30/10/2012 07:45 μμ, ο/η Sameer Verma έγραψε:
> We have ltsp-pnp setup in one of our labs. We use ltsp-pnp because of
> the one NIC limitation, the use of a fat client, and because we are no
> longer allowed to run NAT'ed subnets on our campus network. So, the
> server talks to the campus network and has a public IP. The clients
> also speak to the campus network and get a public IP. The initial tftp
> run happens via dnsmasq on the server.
> 
> Does anyone know how to limit dnsmasq to offering boot images by mac
> addresses? We'd like to limit the pxeboot service to the lab computers
> only.
> 
> cheers,
> Sameer
> 




More information about the edubuntu-users mailing list