[Dnsmasq-discuss] How to return a DHCP Option value which repeats DHCP Client MAC address ?

Olivier oza.4h07 at gmail.com
Thu Aug 20 12:56:40 BST 2020


Le jeu. 20 août 2020 à 13:27, <
dnsmasq-discuss-request at lists.thekelleys.org.uk> a écrit :

>
> AIUI is the question if there is something that does expanding
> '${MAC_ADDRESS}'
>
> Yes, this is exactly what I'm looking for : variable expansion (and basic
string computing like concatenation, slicing, casing, ...) in Dnsmasq's
config files.
Maybe some other DHCP Requester-dependant variables would be appreciated
(HOSTNAME, VENDORCLASS, ...).

Current scripting mechanism seems to fit but it would need to read script
output.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20200820/2e5aabb7/attachment.html>


More information about the Dnsmasq-discuss mailing list