[Dnsmasq-discuss] Use hardware(macaddress) in dhcp-option

Arends, R.R. r.r.arends at hro.nl
Wed Jan 13 13:48:58 GMT 2010


Hi all,
 
I'm switching from dhcp3 to dnsmasq.
I want to use gpxe/pxelinux and let it load dynamic config files by using the hardware(macadres) of a machine as config filename.
But can't seem to figure out how to translate this setting to dnsmasq tho.
 
In dhcp3 i use it the following way:
option pxelinux.configfile =
        concat("?mac=", binary-to-ascii(16, 8, "", hardware));
which sets the dhcp option 209 for example to "?mac=00:21:9B:19:B1:F4"
 
How can i do the same in dnsmasq?
i only came this far :) : 
dhcp-option-force=209,?mac=
 
I hope its possible to achieve the same.
 
Thanks in advance.
 
Best regards,
 
Rene Arends
Rotterdam University
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20100113/c3da9983/attachment.htm 


More information about the Dnsmasq-discuss mailing list