[Kea-users] [kea-dev] Vendor Specific Options (Code 17)

sathish k sat98 at hotmail.com
Fri Apr 1 02:30:24 UTC 2022


Hi Francis

    Can you provide Sample config file that supports multiple vendors scenario below . Thanks


"option-data": [
       {
        "space": "dhcp6",
        "name": "vendor-opts",
        "code": 17,
        "data": "0x270f"
      },
       {
        "space": "dhcp6",
        "name": "vendor-opts",
        "code": 17,
        "data": "0x6774"
      },
      {
        "space": "vendor-26484",
        "name": "xyz-addr",
        "code": 3,
        "data": "2001::11:ff90",
        "always-send": true
      },
      {
        "space": "vendor-26484",
        "name": "xyz-port",
        "code": 4,
        "data": "11000",
        "always-send": true
                },
      {
        "space": "vendor-9999",
        "name": "abc-addr",
        "code": 1,
        "data": "2001::11:ff80",
         "always-send": true
      },
      {
        "space": "vendor-9999",
        "name": "abc-port",
        "code": 2,
        "data": "11000",
         "always-send": true
      },
      {
        "space": "dhcp6",
        "name": "rapid-commit",
        "code": 14,
        "data": ""
      },
      {
        "space": "dhcp6",
        "name": "serverid",
        "code": 2,
//      "original-data": "00:03:00:06:00:01:02:03:11:22:33:44",
        "csv-format": false,
        "data": "000300060001020311223344"
      }
    ],
    "option-def": [
      {
        "space": "vendor-9999",
        "name": "abc-addr",
        "code": 1,
        "type": "ipv6-address"
      },
      {
        "space": "vendor-9999",
        "name": "abc-port",
        "code": 2,
        "type": "uint16"
      },
      {
        "space": "vendor-26484",
        "name": "xyz-addr",
        "code": 3,
        "type": "ipv6-address"
      },
      {
        "space": "vendor-26484",
        "name": "xyz-port",
        "code": 4,
        "type": "uint16"
      }
    ],

The Relay -Reply that I got shows only one vendor (Cisco ) even though option-data has Cisco and xyz(9999)

[cid:be8332ec-493a-41ff-a8c5-7c77f2040575]







________________________________
From: Francis Dupont <fdupont at isc.org>
Sent: Tuesday, March 29, 2022 9:19 AM
To: sathish k <sat98 at hotmail.com>
Cc: Francis Dupont <fdupont at isc.org>; kea-dev at lists.isc.org <kea-dev at lists.isc.org>
Subject: Re: [kea-dev] Vendor Specific Options (Code 17)

sathish k writes:
>         "data": 9999    //  Do you want me to change this to Hex ?? Tried c=
> hanging this to Hex but service fails to start with error .

=> this does not parse: the value of the data entry must be a (JSON) string.

Regards

Francis Dupont <fdupont at isc.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220401/ccfa9caf/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 113614 bytes
Desc: image.png
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220401/ccfa9caf/attachment-0001.png>


More information about the Kea-users mailing list