[Kea-users] failed to allocate an IPv6 address after 65515 attempt(s)

Torbjörn Eklöv torbjorn.eklov at interlan.se
Wed Jul 24 16:08:01 UTC 2019


> On 24 Jul 2019, at 17:57, Sandeep Adapala <sandeepadapala11 at gmail.com> wrote:
> 
> Oops, I am sorry for the dum question. I forgot that 15-ffff has only
> 65k addresses
> 
> so below should work right?
> 
> "subnet6": [
>> 
>>             {
>> 
>>                 "subnet": "fd00:1:dead:beef::/64",
>> 
>>                 "id": 1024,
>> 
>>                 "interface": "bond0",
>> 
>>                 "pools": [
>> 
>>                     { "pool": "fd00:1:dead:beef::15-fd00:1:dead:beef::ffff" } ,
>                         { "pool":
> "fd00:1:dead:beef:1::15-fd00:1:dead:beef:1::ffff” }

I have had problem with DHCPv6 assigned addresses that’s end with 0. Some years ago but I always start a pool with an ending 1 now.

/Tobbe


>> 
>>                 ]
>> 
>>             }
>> 
>>         ]
> 
> On Wed, Jul 24, 2019 at 11:52 AM Thomas Markwalder <tmark at isc.org> wrote:
>> 
>> Hello
>> 
>> You have specified the pool as an address range beginning at
>> fd00:1:dead:beef::15 and ending at fd00:1:dead:beef::ffff.  Which only
>> includes 65520 addresses to begin with. You use any of the following
>> alternatives:
>> 
>> 1. increase the pool end address
>> 2. specify it as address/length:  fd00:1:dead:beef::/64
>> 3. Add additional pools
>> 
>> You could specify it as fd00:1:dead::beef::15/64
>> 
>> On 7/24/19 11:31 AM, Sandeep Adapala wrote:
>>> Hello All,
>>> 
>>> I am using version 1.5.0 Kea DHCPv6 version. I have allocated a /64
>>> subnet as below
>>> 
>>>   "subnet6": [
>>> 
>>>             {
>>> 
>>>                 "subnet": "fd00:1:dead:beef::/64",
>>> 
>>>                 "id": 1024,
>>> 
>>>                 "interface": "bond0",
>>> 
>>>                 "pools": [
>>> 
>>>                     { "pool": "fd00:1:dead:beef::15-fd00:1:dead:beef::ffff" }
>>> 
>>>                 ]
>>> 
>>>             }
>>> 
>>>         ]
>>> 
>>> But somehow it is not able to allocate more than 65515 ip's in that
>>> subnet. Is there variable I can change to support more than that?
>>> 
>>> 
>> 
>> _______________________________________________
>> Kea-users mailing list
>> Kea-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/kea-users
> 
> 
> 
> --
> Regards,
> Sandeep Adapala
> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users




Torbjörn Eklöv | Interlan Gefle AB
Marielundsvägen 2, 803 22 GÄVLE
Växel: 026-18 50 00 | Direkt: 070-683 51 75
http://www.dnssecandipv6.se

"A home without IPv6 is just a house"



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20190724/a35fc021/attachment.bin>


More information about the Kea-users mailing list