Re: [Dnsmasq-discuss] Configuring DHCPv6 Vendor specific information using Option 17

2019-03-04 Thread Simon Kelley
You need something like

--dhcp-option=vi-encap:47196,option6:100,\
"AOS-Switch:Top:Tokyo,3ffe:501::100::abcd,aruba123"


Check the vendor-specific option number. I got the value of 100 from the
data you provided, but I may have decoded it wrong.

Cheers,

Simon.


On 04/03/2019 10:01, P, Sreelakshmi wrote:
> Hi All,
> 
>  
> 
> How to we configure vendor specific information in dnsmasqv6 using
> option 17?
> 
>  
> 
> Every time I tried to configure option 17 as below :
> 
>  
> 
> dnsmasq
> --dhcp-option=option6:17,003db85c00640035414f532d5377697463683a546f703a546f6b3
> –test
> 
>  
> 
> I ended up getting the below error:
> 
>     dnsmasq: bad command line options: bad IPv6 address
> 
>  
> 
>  
> 
> What is the proper way to configure option 17 in dnsmasq? Below is my
> enterprise id and data:
> 
>  
> 
> Enterprise Id : *47196*
> 
> Data : *¸\d5AOS-Switch:Top:Tokyo,3ffe:501::100::abcd,aruba123*
> 
>  
> 
> If we try to configure the same value using other DHCPv6 servers, it
> works fine.
> 
> Any example? Can we configure the value as ASCII or HEX? Any help will
> be greatly appreciated.
> 
>  
> 
> Regards,
> 
> Sree
> 
>  
> 
> 
> ___
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Configuring DHCPv6 Vendor specific information using Option 17

2019-03-04 Thread P, Sreelakshmi
Hi All,

How to we configure vendor specific information in dnsmasqv6 using option 17?

Every time I tried to configure option 17 as below :

dnsmasq 
--dhcp-option=option6:17,003db85c00640035414f532d5377697463683a546f703a546f6b3
 -test

I ended up getting the below error:
dnsmasq: bad command line options: bad IPv6 address


What is the proper way to configure option 17 in dnsmasq? Below is my 
enterprise id and data:

Enterprise Id : 47196
Data : ¸\d5AOS-Switch:Top:Tokyo,3ffe:501::100::abcd,aruba123

If we try to configure the same value using other DHCPv6 servers, it works fine.
Any example? Can we configure the value as ASCII or HEX? Any help will be 
greatly appreciated.

Regards,
Sree

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss