[Dnsmasq-discuss] Problem using vi-encap

Simon Kelley simon at thekelleys.org.uk
Fri Nov 12 10:04:40 GMT 2010


Timothy Redaelli wrote:
> Hi,
> 
> I'm using dnsmasq 2.52 but I cannot send an OUI as string:
> 
> If I use --dhcp-option='vi-encap:3561, 1, 000001', it tries to send
> 000001 as number and NOT as string and if I use
> --dhcp-option='vi-encap:3561, 1, "000001"' it also sends the "
> characters.
> 
> How can I do it?
> 

You're on the right lines, but double-quotes are not processed in
command line options (this is probably a bug).

put

dhcp-option='vi-encap:3561, 1, "000001"

in the dnsmasq.conf file instead and it will all work.

HTH

Simon.





More information about the Dnsmasq-discuss mailing list