[Kea-users] custom option space

alexis alzrck at gmail.com
Thu Nov 6 12:10:36 UTC 2014


Hello, im trying to configure and use option 122 in KEA (i have this working perfectly on ISC) , i found your ticket #3236 but i believe that refers to have the option as common option.

Thing is, on my DHCP offer option 122 is sent, but suboptions are not sent at all (module for option 122 is 0 bytes length) , it should be working right?


Here’s my config (stripped, all suboptions are declared)

"option-def" :[
  {
          "name": "DHCP-server-1",
          "code": 1,
          "space": "pcc",
          "type": "ipv4-address",
          "record-types": "",
          "array": false,
          "encapsulate" : ""
  },{
          "name": "DHCP-server-2",
          "code": 2,
          "space": "pcc",
          "type": "ipv4-address",
          "record-types": "",
          "array": false,
          "encapsulate": ""
  },
{
          "name" :"clabs",
                  "code" : 122,
                  "space" : "dhcp4",
                  "type" : "empty",
                  "array" : false,
                  "record-types" : "",
                  "encapsulate" : “pcc"
}


and here’s how im trying to use it

"option-data" : [{
               "name" : "Provision-server",
               "space" : "pcc",
               "code" : 3,
               "csv-format" : true,
               "data" : "provisioning.my3play.net"
       },
       {
               "name" : "Kerberos-Realm",
               "space" : "pcc",
               "code" : 6,
               "csv-format" : true,
               "data" : "BASIC.1"
       },
       {
               "name": "clabs",
               "space": "dhcp4",
               "code": 122,
                "csv-format": false,
                "data" : ""
       }],



122.3 and 122.6 are not sent at all



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20141106/189b87b3/attachment.htm>


More information about the Kea-users mailing list