[Dnsmasq-discuss] dhcp-option and vendor class

Ben abnormaliti at clivepeeters.com.au
Mon Dec 29 11:23:37 GMT 2008


Simon Kelley wrote:
> 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.
>
>
>
Simon,

Thanks for the reply but i am afraid i still don't get it.

I pulled that string straight from the APC manual without knowing what 
it means. http://www.apcmedia.com/salestools/ASTE-6Z5QEW_R0_EN.pdf page 
61/62.

How would i go about representing it in a more natural way?

Ben



More information about the Dnsmasq-discuss mailing list