[Kea-users] custom option space
alexis
alzrck at gmail.com
Thu Nov 6 17:32:50 UTC 2014
release
administrator at mta-prov:/opt/kea/sbin$ sudo ./kea-dhcp4 -v
[sudo] password for administrator:
0.9
downloaded
administrator at mta-prov:~$ ls
kea-0.9 kea-0.9.tar.gz
> On Nov 6, 2014, at 14:15, Marcin Siodelski <marcin at isc.org> wrote:
>
> I see. What is the Kea version you're trying? Is it a 0.9 release or it
> is built from git?
>
> Marcin
>
> On 11/06/14 18:12, alexis wrote:
>> No no, look that behind says (stripped, all suboptions are declared),
>> all options are declared from 122.1 to 122.10 i just not added to the
>> mail to make it shorter and easier to read.
>>
>>> On Nov 6, 2014, at 12:22, Marcin Siodelski <marcin at isc.org
>>> <mailto:marcin at isc.org>> wrote:
>>>
>>> Hi,
>>>
>>> From this stripped configuration it seems that you provided option
>>> definitions for sub-options with codes 1 and 2. Whereas, you specify
>>> actual option-data for option 3 and 6, for which I don't see any
>>> definitions in this configuration.
>>>
>>> Perhaps you sent wrong parts of the configuration?
>>>
>>> Thanks,
>>> Marcin
>>>
>>> On 11/06/14 13:10, alexis wrote:
>>>> 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
>>>> <http://provisioning.my3play.net>
>>>> <http://provisioning.my3play.net <http://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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Kea-users mailing list
>>>> Kea-users at lists.isc.org <mailto:Kea-users at lists.isc.org>
>>>> https://lists.isc.org/mailman/listinfo/kea-users
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20141106/7ef28d18/attachment.htm>
More information about the Kea-users
mailing list