Does anyone have a working example of the classification options ? I have tried a number of things and they aren't reflected in the dnsmasq.conf file being generated - from which I take it that I got the syntax incorrect.
I am trying this kind of thing:
config vendorclass 'ubnt'
option classifier 'ubnt'
list dhcp_option 'vendor:ubnt,1,192.168.1.10'
I'm also not sure how networkid fits in - there is a description that seems to imply that it ends up being used as a tag - but not clear how this would work on non static leases - and in any case attempting to add this to a static lease doesn't end up with any changes being reflected in the generated dnsmasq.conf file.
vendorid is one of the possible values for classifier listed.
This isn't however what I'm trying to do - I want to send a vendor option (option 43) with a nested (vendor specific ID 1) inside it. The equivalent option in the dnsmasq.conf file itself would be:
dhcp-option=vendor:ubnt,1,192.168.1.6
which in fact works, and is a supported config, see this by the dnsmasq author:
However this isn't possible because the init.d script just blindly adds the networkid to the dhcp_option, and there is no other config option that will achieve anything like this.