Re: DHCPv6 and OPTION_USER_CLASS
Roy Marples
Thu Apr 19 10:16:11 2018
Hi Mattieu
On 19/04/2018 00:43, Mattieu Baptiste wrote:
Great, it's working fine. Option 15 is correctly formated in the packet.
Yay!
But it seems I have problems with the two other options required.
Boo!
- DHCPv6 option 16 OPTION_VENDOR_CLASS: my ISP requires IANA
Enterprise Number 1038, and data set to "sagem".
So I have this in dhcpcd.conf:
vendclass 1038 sagem
But when I tcpdump the request, dhcpcd correctly set the enterprise
number, but the five characters of the data field are zeroed:
00 00 04 0e 00 05 00 00 00 00 00
Fixed here:
https://roy.marples.name/git/dhcpcd.git/commit/?id=b07a075609ced2d7f50145c5dc6bd6a504b90365
- DHCPv6 option 11 OPTION_AUTH: my ISP requires a string of the form
"fti/xxxxxxx", where xxxxxxx is my customer id.
I have this in my dhcpcd.conf:
authtoken 0 "" 0 fti/xxxxxxx
But the option isn't added in the packet. Am I missing something?
You're missing setting the type of authentication to use.
Add this to dhcpcd.conf, ideally before the authtoken line:
authprotocol token
Let me know if this now fixes it for you!
Also, what ISP are you using?
Roy
Archive administrator: postmaster@marples.name