Problems setting up dhcpv6 option 59 (boot file name -- rfc5970) on bind10

Angelo Failla pallotron at fb.com
Tue Jan 28 17:40:22 UTC 2014


It looks like you treat everything < 79 like standard option in
src/lib/dhcp/libdhcp++.cc
-- 
Angelo Failla

Site Reliability Operations Dublin
Pallotron at fb.com




On 1/28/14, 9:33 AM, "Angelo Failla" <pallotron at fb.com> wrote:

>Hi,
>
>I¹m testing bind10 dhcpv6 and I¹m having troubles setting up option 59.
>
>Here is my config:
>
>> config show_json Dhcp6/
>{"option-data": [{"data": "n", "code": 144, "space": "dhcp6",
>"csv-format": true, "name": "tmpfs"}, {"data": "2401:db00:eef0:a52::,
>2401:db00:eef0:b52::", "code": 23, "space": "dhcp6", "csv-format": true,
>"name": "dns-servers"}, {"data":
>"tftp://[fe80::202:c9ff:feca:f56a]:69/efi/efidefault", "code": 59,
>"space": "dhcp6", "name": "boot-file-name", "csv-format": true}],
>"option-def": [{"code": 144, "type": "string", "record-types": "",
>"encapsulate": "", "space": "dhcp6", "array": false, "name": "tmpfs"}]}
>
>
>
>When running config commit I get this:
>
>> config commit
>Error: Configuration parsing failed: the CSV option data format can be
>used to specify values for an option that has a definition. The option
>with code 59 does not have a definition.
>Configuration not committed
>
>
>
>I tried to define option 59 like this:
>
>> config set Dhcp6/option-def[1]/name "boot-file-name"
>> config set Dhcp6/option-def[1]/code 59
>> config set Dhcp6/option-def[1]/type string
>> config set Dhcp6/option-def[1]/array false
>> config set Dhcp6/option-def[1]/record-types ""
>> config set Dhcp6/option-def[1]/space "dhcp6"
>> config set Dhcp6/option-def[1]/encapsulate ""
>
>But I get this error when committingŠ
>
>> config commit
>Error: Configuration parsing failed: unable to override definition of
>option '59' in standard option space 'dhcp6'.
>Configuration not committed
>
>Any idea of what I¹m doing wrong? I guess the server treats option 59 as a
>standard v6 option but I can¹t find any reference of it in the html guide
>(http://bind10.isc.org/docs/bind10-guide.html#dhcp6-std-options-list)
>
>I¹m running 1.1.0 (the stable version =>
>ftp://ftp.isc.org/isc/bind10/1.1.0/)
>
>
>-- 
>Angelo Failla
>
>Site Reliability Operations Dublin
>Pallotron at fb.com
>
>
>_______________________________________________
>bind10-dhcp mailing list
>bind10-dhcp at lists.isc.org
>https://lists.isc.org/mailman/listinfo/bind10-dhcp



More information about the bind10-dhcp mailing list