[Dnsmasq-discuss] dhcp-option and vendor class

Simon Kelley simon at thekelleys.org.uk
Mon Dec 29 09:57:45 GMT 2008


Ben wrote:
> This works:
> 
>  dhcp-vendorclass=apc,APC
>  dhcp-option=apc,43,01:04:31:41:50:43:02:01:01
> 
> but this doesn't:
> 
>  dhcp-option=vendor:APC,43,01:04:31:41:50:43:02:01:01
> 
> What am I missing here?  Shouldn't the "vendor:APC" syntax work?

It does work: it does the encapsulation for you, so you need

dhcp-option=vendor:APC,01,31:41:50:43
dhcp-option=vendor:APC,02,01:01

depending on what those options are, you may what to use a more natural 
representation than hex bytes.


Your second example is taking the already-encapsulated options, treating 
them as a single option and encapsulating them again, which confuses 
things somewhat.
> 

Cheers,

Simon.





More information about the Dnsmasq-discuss mailing list