[Kea-users] Subnet ID max value?

jim at wrightthisway.com jim at wrightthisway.com
Wed Aug 27 17:54:59 UTC 2025


On 2025-08-27 12:15, Ben Scott wrote:
> On 8/27/25 12:33, Jim wrote:
>> My big question is the ID for each subnet,
>> I see no info in the docs on if there is a max value for this,
> 
>   At present it is a 32-bit unsigned integer.  So 4294967295 is the 
> largest possible value (2^32-1, since it counts from zero).
> 
>   It is defined in src/lib/dhcpsrv/subnet_id.h in the code.
> 
>> my second concern would be if using large(ish)
>> values would have any performance impact.
> 
>   I'm not aware of any.  It's supposed to just be an opaque identifier. 
> There are plenty of people using "large" values here without complaint.

Thank you Ben and Jonas!  I did try searching the docs for this but 
searching for 'subnet' and 'id' weren't helpful.  LOL

Jim


More information about the Kea-users mailing list