[Dnsmasq-discuss] dhcp-vendorclass versus dhcp-option=vendor:
parasitid at yahoo.fr
parasitid at yahoo.fr
Fri Jul 7 11:39:14 UTC 2023
hi,
we have a the following working setup to bootstrap servers using tfp which is based on vendor serial numbers to send devices specific files:(NOTE: we match on vendor class because we can't know the mac address at this stage)
lets say that device A has vendorclass AAA, and device B BBB and that corresponding tftp files are named AAA.tftp and BBB.tftp
dnsmasq.conf:
```... dhcp-vendorclass=AAA,AAAdhcp-option=AAA,67,AAA.tftpdhcp-vendorclass=BBB,BBBdhcp-option=BBB,67,BBB.tftp...```
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 featureand add devices dynamically by writing the following files into the dhcp opts dir without having to restart the dnsmasq service:
AAA.conf:
```vendor:AAA,67,AAA.tftp
```and
BBB.conf:
```vendor:BBB,67,BBB.tftp
```
but it seems that the "vendor:*," doesn't match our vendorclass devices, whereas the same dhcp-vendorclass dnsmasq option does.
is this a bug or a bad comprehension of the "vendor:" dhcp option feature ?is there another way to achieve the same result (add devices conf without restarting dnsmasq) ?
thanks a lot.
best regards
yann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20230707/94353858/attachment.htm>
More information about the Dnsmasq-discuss
mailing list