[Dnsmasq-discuss] Configuring DHCPv6 Vendor specific information using Option 17
P, Sreelakshmi
sreelakshmi.p at hpe.com
Thu Mar 14 03:13:55 GMT 2019
Thanks Simon, this works!
In case of DHCP v4 vendor option, it's not mandatory to provide encapsulated vendor specific information. Here in DHCPv6, I see that the option 17 doesn't work without giving enterprise ID for encapsulation. Why so?
Also, is there a way to give hex as vendor option value that can include enterprise ID as well?
Regards,
Sree
-----Original Message-----
From: Dnsmasq-discuss [mailto:dnsmasq-discuss-bounces at lists.thekelleys.org.uk] On Behalf Of Simon Kelley
Sent: Tuesday, March 5, 2019 4:04 AM
To: dnsmasq-discuss at lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] Configuring DHCPv6 Vendor specific information using Option 17
You need something like
--dhcp-option=vi-encap:47196,option6:100,\
"AOS-Switch:Top:Tokyo,3ffe:501:ffff: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,003d0000b85c00640035414f532d5377697463683a546
> f703a546f6b3
> -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:ffff: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 at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss at lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
More information about the Dnsmasq-discuss
mailing list