<div dir="ltr"><div>Hello,</div><div><br></div><div>For some class of devices, I would like to return a DHCP Option value which repeats requester's MAC address (with case sensitivity control options).<br></div><div><br></div><div>dhcp-vendorclass=foo,"Foo"</div><div>dhcp-option=vendor:foo,43,"<a href="http://1.2.3.4/foo_">http://1.2.3.4/foo_</a><MAC_in_uper_case>.cfg"</div><div><br></div><div><div>dhcp-vendorclass=bar,"Bar"</div><div>dhcp-option=vendor:foo,43,"<a href="http://5.6.7.8/bar_">http://5.6.7.8/bar_</a><MAC_in_lower_case>.cfg"</div></div><div><br></div><div>For instance, if device of Foo class has 0123456789ab MAC, I would like to get an option 43 set with "<a href="http://1.2.3.4/foo_0123456789AB.cfg">http://1.2.3.4/foo_0123456789AB.cfg</a>".</div><div>If this device if of Bar class, I would like it to get "<a href="http://5.6.7.8/bar_0123456789ab.cfg">http://5.6.7.8/bar_0123456789ab.cfg</a>".</div><div><br></div><div>Please, note that:</div><div>- the MAC address must not include any separator,</div><div>- as such, striping leading 0 must be avoided (returning bar_123456789ab instead of bar_0123456789ab).</div><div><br></div><div>Is it possible with dnsmasq 2.80 ?</div><div><br></div><div>Best regards<br></div><div><br></div></div>