[Kea-users] Subnet ID max value?

Ben Scott bscott at isc.org
Wed Aug 27 17:15:40 UTC 2025


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.

   -- Ben

-- 
Any opinions expressed in this message are those of the author alone.
All information is provided without warranty of any kind.



More information about the Kea-users mailing list