<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">hi,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">we have a the following working setup to bootstrap servers using tfp which is based on vendor serial numbers to send devices specific files:</div><div dir="ltr" data-setdir="false">(NOTE: we match on vendor class because we can't know the mac address at this stage)<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">lets say that device A has vendorclass AAA, and device B BBB and that corresponding tftp files are named AAA.tftp and BBB.tftp<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">dnsmasq.conf:<br></div><div dir="ltr" data-setdir="false">```</div><div dir="ltr" data-setdir="false">...</div> <div><div dir="ltr" data-setdir="false">dhcp-vendorclass=AAA,AAA</div><div dir="ltr" data-setdir="false">dhcp-option=AAA,67,AAA.tftp</div></div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false">dhcp-vendorclass=BBB,BBB</div><div dir="ltr" data-setdir="false">dhcp-option=BBB,67,BBB.tftp</div></div></div><div dir="ltr" data-setdir="false">...</div><div dir="ltr" data-setdir="false">```<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">this works perfectly fine, yet we would like to review our setup to be based on dhcp options only, so that we can benefit from the dhcp-optsdir inotify feature</div><div dir="ltr" data-setdir="false">and add devices dynamically by writing the following files into the dhcp opts dir without having to restart the dnsmasq service:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">AAA.conf:<br></div><div dir="ltr" data-setdir="false">```</div><div dir="ltr" data-setdir="false">vendor:AAA,67,AAA.tftp<br></div><div dir="ltr" data-setdir="false">```</div><div dir="ltr" data-setdir="false">and<br></div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false"> <br></div><div dir="ltr" data-setdir="false">BBB.conf:<br></div><div dir="ltr" data-setdir="false">```</div><div dir="ltr" data-setdir="false">vendor:BBB,67,BBB.tftp<br></div><div>```</div><div><br></div><div dir="ltr" data-setdir="false">but it seems that the "vendor:*," doesn't match our vendorclass devices, whereas the same dhcp-vendorclass dnsmasq option does.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">is this a bug or a bad comprehension of the "vendor:" dhcp option feature ?</div><div dir="ltr" data-setdir="false">is there another way to achieve the same result (add devices conf without restarting dnsmasq) ?<br></div><div><br></div><div><br></div><div dir="ltr" data-setdir="false">thanks a lot.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">best regards</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">yann<br></div></div><div><br></div></div></div></body></html>