[kea-dev] I'd appreciate some feedback on trac ticket 3963 :)

Marcin Siodelski marcin at isc.org
Tue Aug 4 17:29:59 UTC 2015



On 04.08.2015 17:35, Angelo Failla wrote:
> On August 4, 2015 at 4:34:30 PM, Marcin Siodelski (marcin at isc.org
> <mailto:marcin at isc.org>) wrote:
>>  
>> > one nice thing to also get rid of, when enabling the stateless switch, 
>> > is to 
>> > avoid this horrible hack to allow KEA to start :) 
>> > 
>> > 'subnet4' => [ 
>> > { 
>> > 'subnet' => '0.0.0.0/0', 
>> > 'pools' => [{ 'pool' => '0.0.0.0-255.255.255.255' }] 
>> > }, 
>> > ], 
>> > 
>>
>> As a matter of curiosity. If you're having this hack already could you
>> possibly implement the lease4_select hook to set the yiaddr to non-zero
>> value in the DHCPOFFER, which would case processDiscover to not drop the
>> packet?
>>
> 
> Yeah, I will try that and report back.


Actually, wouldn't it suffice to just restrict the pool to
0.0.0.1-255.255.255.255C?

That way none of the clients would ever be assigned a zero address and
the packet wouldn't be dropped.

Marcin


More information about the kea-dev mailing list