[Kea-users] problem in custom option

Patrice KOCH patrice.koch at univ-fcomte.fr
Thu Mar 30 13:18:23 UTC 2017


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 
____________________________________________________________________ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20170330/70b0746f/attachment.htm>


More information about the Kea-users mailing list