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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Sandeep Adapala
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?


--
Regards,
Sandeep Adapala
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

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

Thomas Markwalder
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
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

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

Sandeep Adapala
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" }
>
>                  ]
>
>              }
>
>          ]

On Wed, Jul 24, 2019 at 11:52 AM Thomas Markwalder <[hidden email]> 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
> [hidden email]
> https://lists.isc.org/mailman/listinfo/kea-users



--
Regards,
Sandeep Adapala
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

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

Torbjörn Eklöv

> On 24 Jul 2019, at 17:57, Sandeep Adapala <[hidden email]> 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 <[hidden email]> 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
>> [hidden email]
>> https://lists.isc.org/mailman/listinfo/kea-users
>
>
>
> --
> Regards,
> Sandeep Adapala
> _______________________________________________
> Kea-users mailing list
> [hidden email]
> 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"




_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Sandeep Adapala
Thanks a lot Thomas, Tobbe. the issue is fixed now. So sorry for the
dumb question.

On Wed, Jul 24, 2019 at 12:08 PM Torbjörn Eklöv
<[hidden email]> wrote:

>
>
> > On 24 Jul 2019, at 17:57, Sandeep Adapala <[hidden email]> 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 <[hidden email]> 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
> >> [hidden email]
> >> https://lists.isc.org/mailman/listinfo/kea-users
> >
> >
> >
> > --
> > Regards,
> > Sandeep Adapala
> > _______________________________________________
> > Kea-users mailing list
> > [hidden email]
> > 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"
>
>
>


--
Regards,
Sandeep Adapala
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users