[Dnsmasq-discuss] Specifying boot options for specific type of hardware.

Simon Kelley simon at thekelleys.org.uk
Sun Aug 21 12:37:43 BST 2005


Josef Wolf wrote:
> Hello!
> 
> I would like to specify specific boot options for a set of machines which
> can be identified by the first three MAC octetts. I have tried this:
> 
> dhcp-range=192.168.1.130,192.168.1.150,15m
> dhcp-range=192.168.1.155,192.168.1.190,15m
> dhcp-host=00:50:9c:*:*:*,myvendor
> dhcp-boot=net:myvendor,/tftpboot/myvendor-boot,tftpserver,192.168.1.253
> 
> But this (obviously) fails because dhcp-host gives no way to set a
> network-id.
> 
You can set the network-id in the dhcp-host, your example is almost 
correct, just change the dhcp-host line to:

dhcp-host=00:50:9c:*:*:*,net:myvendor

and it should all work fine.

HTH


Simon.





More information about the Dnsmasq-discuss mailing list