DHCPv6 Server - how to created suboption under Option 17 ?

Tur Le tregiengchan at gmail.com
Fri Aug 17 04:28:14 UTC 2018


Could you change to use kea DHCP?
I can setup CL_OPTION_CCC on kea as below:
"option-def": [ { "comment": "CableLabs PacketCable Primary DHCPv4 Server
IP address", "name": "CL_OPTION_CCC", "code": 2170, "space": "vendor-4491",
"type": "record", "record-types": "uint16, uint16, ipv4-address", "array":
false, "encapsulate": "" }

"option-data": [
                                {
                                    "name": "CL_OPTION_CCC",
                                    "space": "vendor-4491",
                                    "data": "1, 4, 0.0.0.0"
                                } ]

You can see the format of DHCP option as below:

   The format of DHCP options is:

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |          option-code          |           option-len          |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                          option-data                          |
      |                      (option-len octets)                      |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20180817/2ae8ca64/attachment.html>


More information about the dhcp-users mailing list