My request is to include option 17 sub-options 11, 12 and 13 in DHCPv6 solicit/request and I configured the same in dhclient6.conf on my Ubuntu as below.
send dhcp6.vendor-opts 00:00:0d:e9:00:0b:00:06:42:44:56:45:52:30:00:0c:00:03:6c:61:6e:00:0d:00:06:76:61:61:75:61:39;
From packet trace I can see option 17 in solicit/request but sub-options are not proper and I guess not encapsulated.
Output snippet from tshark:
Vendor-specific Information
Option: Vendor-specific Information (17)
Length: 31
Value: 00000de9000b0006424456455230000c00036c616e000d00...
Enterprise ID: The Broadband Forum (3561)
option
Option code: 11
Option length: 6
Option data: 424456455230
option
Option code: 12
Option length: 3
Option data: 6c616e
option
Option code: 13
Option length: 6
Option data: 766161756139
Can someone please help me on how to include sub-options in a correct format.
What I tried so far:
- Went through the RFC and configured as per the format by including option_code and option_len but got malformed packet.
- Referred similar type of question and configured option-17 sub-option 2 which is absolutely fine but problem occurs with sub-options 11, 12 and 13.
Any help would be appreciated.