[PATCH] dhcp: add RFC5970 options to dhcp

Jiri Popelka jpopelka at redhat.com
Thu Mar 1 12:14:20 UTC 2012


On 03/01/2012 01:06 PM, Neil Horman wrote:
> On Thu, Mar 01, 2012 at 10:58:19AM +0100, Jiri Popelka wrote:
>> Shouldn't the net-id be defined as
>> 	{ "net-id", "BBB",		&dhcpv6_universe, 62, 1},
>> ?
>>
> I thought so too, at least according to the RFC, but the use of BBB seems to
> introduce parser problems (either that or I have the wrong syntax for providing
> 3 bytes in dhcpd.conf).  I had assumed a format of BBB could be specified as:
>
> option dhcp6.net-id 1,2,3;
>
> Is that incorrect?

option dhcp6.net-id 1 2 3;
works for me when net-id is defined as BBB

--
Jiri


More information about the dhcp-hackers mailing list