dhcpcd-discuss

Re: DHCPv6 and OPTION_USER_CLASS

Roy Marples

Wed Apr 04 14:15:56 2018

Hi Mattieu

On 04/04/2018 12:46, Mattieu Baptiste wrote:
I'd like to use dhcpcd to get my IPv6 prefixe delegation on my home router.
Alas, my ISP requires three options :
- DHCPv6 option 11 OPTION_AUTH,
- DHCPv6 option 15 OPTION_USER_CLASS,
- DHCPv6 option 16 OPTION_VENDOR_CLASS.

If I read the code correctly, DHCPv6 options 11 and 16 are implemented
in dhcpcd with ''authtoken'' and ''vendclass'' parameters.
But I can't find a way to set the OPTION_USER_CLASS option, as
''userclass'' parameter seems DHCPv4 only.
Are there any way to circumvent this?

DHCPv6 option 15 is not implemented.
I also need to check that the existing vendor is RFC compliant as I'm pretty sure the DHCPv4 one isn't - once it is we can move it to cover DHCPv6 as well.

Roy

References:
DHCPv6 and OPTION_USER_CLASSMattieu Baptiste
Archive administrator: postmaster@marples.name