[Dnsmasq-discuss] Specifying boot options for specific type of
hardware.
Josef Wolf
jw at
Sun Aug 21 13:20:23 BST 2005
On Sun, Aug 21, 2005 at 12:37:43PM +0100, Simon Kelley wrote:
Thanks for the quick answer!
> >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
Hmm, the man-page seems to be inaccurate here. The dhcp-host section
refers to the dhcp-range section for the <network-id> description. But
the dhcp-range section says:
When it is prefixed with 'net:' then its meaning changes from setting
a tag to matching it.
That is, the meaning is reversed.
An other problem is the specification of the ip-address. When I omit the
ip-address from the dhcp-host setting, I get
BOOTP(eth0) 00:03:12:54:ab:de no address configured
How do I specify that for the given range of mac addresses dynamic
ip-adresses should be used?
--
No software patents in Europe -- http://nosoftwarepatents.com
-- Josef Wolf -- jw at raven.inka.de --
More information about the Dnsmasq-discuss
mailing list