[Kea-users] problem in custom option

James Sumners JamesSumners at clayton.edu
Thu Mar 30 13:31:26 UTC 2017


See this thread — https://lists.isc.org/pipermail/kea-users/2017-January/000790.html




On March 30, 2017 at 9:18:32 AM, Patrice KOCH (patrice.koch at univ-fcomte.fr<mailto:patrice.koch at univ-fcomte.fr>) wrote:

Hi everyone,

I try to define a custom dhcp4 option in kea (1.1.0) and I fall face to one problem
the mistake is probably in the definition of the data section
the definition of my option :
"option-def": [
{
"name": "option-242",
"code": 242,
"space": "dhcp4",
"type": "string",
"record-types": "",
"array": false,
"encapsulate": ""
}
]

the content of my customized option :
{
"name": "option-242",
"code": 242,
"space": "dhcp4",
"csv-format": true,
"data": "MCIPADD=10.10.10.10,MCPORT=1719,L2Q=1,L2QVLAN=3033,HTTPSRVR=10.10.10.11,HTTPPORT=80,DHCPSTDT=1"
}

to my mind it is correct but in my log debug file only the first part before the comma is sent to my dhcp client !?

the result in my debug file :
type=242, len=022: "MCIPADD=10.10.10.10" (string)

Could someone give me some help ?

Thanks, pK.

____________________________________________________________________
Patrice KOCH Patrice.Koch at univ-fcomte.fr
Directeur du CRI
Centre de Ressources Informatiques tel : 03 81 66 61 29
Universite de Franche-Comte fax : 03 81 66 61 77
16, route de GRAY
25030 BESANCON Cedex
____________________________________________________________________

_______________________________________________
Kea-users mailing list
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/20170330/0222c7ad/attachment.htm>


More information about the Kea-users mailing list