[Kea-users] Using Vendor Specific Options

Derek Lambert dlambert at dereklambert.com
Mon Jan 25 19:54:38 UTC 2016


Hi,

I'm using the kea-1.0.0-1.fc23 package for Fedora 23. I'm trying to define
and use a couple vendor specific options but they aren't being sent.
Section 7.2.10 of the documentation specifies:

"We also include the Vendor Specific Information option, the option that
conveys our sub-option "foo". This is required, else the option will not be
included in messages sent to the client."

but I'm not entirely clear how this is done. Adding an object with the
single key "name" or "code" logs an error "no option value specified".
Adding an empty value also errors.

What am I missing here?

Relevant config:

"Dhcp4":
{
  "option-def": [
    {
      "name":  "MSFT_5_0-Disable_NetBIOS_Over_TCPIP",
      "code":  1,
      "space": "vendor-encapsulated-options-space",
      "type":  "uint8",
      "encapsulate": ""
    },
    {
      "name":  "MSFT_5_0-Release_DHCP_Lease_on_Shutdown",
      "code":  2,
      "space": "vendor-encapsulated-options-space",
      "type":  "uint8",
      "encapsulate": ""
    }
  ],

  "option-data": [
    {
      "name": "domain-name-servers",
      "code": 6,
      "space": "dhcp4",
      "csv-format": true,
      "data": "10.10.50.11"
    },
    {
      "name": "netbios-node-type",
      "code": 46,
      "space": "dhcp4",
      "csv-format": true,
      "data": "2"
    },
    {
      "name": "MSFT_5_0-Disable_NetBIOS_Over_TCPIP",
      "code": 1,
      "space": "vendor-encapsulated-options-space",
      "csv-format": true,
      "data": "2"
    },
    {
      "name": "MSFT_5_0-Release_DHCP_Lease_on_Shutdown",
      "code": 2,
      "space": "vendor-encapsulated-options-space",
      "csv-format": true,
      "data": "1"
    }
  ]
}

Thanks,

Derek Lambert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20160125/dc75898a/attachment.htm>


More information about the Kea-users mailing list