DHCPv6 Server - how to created suboption under Option 17 ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DHCPv6 Server - how to created suboption under Option 17 ?

Tur Le
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,

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users