[Dnsmasq-discuss] Mitel specific dhcp-options

Simon Kelley simon at thekelleys.org.uk
Mon Oct 1 17:06:35 BST 2012


On 01/10/12 16:39, Chris MacLean wrote:
> Hi,
> 
> Having some big problems with this and can't seem to make any headway.
> 
> I'm specifying:
> 
> dhcp-option=130,"MITEL IP PHONE"
> dhcp-option=132,40
> dhcp-option=133,6
> 
> which I 'converted' from my old dhcpd configuration:
> 
> option mitel-identity code 130 = string;
> option mitel-vlan-id code 132 = unsigned integer 32;
> option mitel-priority code 133 = unsigned integer 32;
> option mitel-identity "MITEL IP PHONE";
> option mitel-vlan-id 0x64;
> option mitel-priority 0x6;
> 

For options 132 and 133, you need to give dnsmasq a hint on the length
of the integer. I'm pretty sure that dnsmasq is actually sending the
correct bytes for option 130, it's just pretty-printing it wrong in the
log - what version are you using?


Correct config is something like:

dhcp-option=130,"MITEL IP PHONE"
dhcp-option=132,40i
dhcp-option=133,6i

Cheers,

Simon.









More information about the Dnsmasq-discuss mailing list