Hi, This is due to option precedence. I do not know what version of Kea you are using but here is a link to a diagram from 2.6.4: https://kea.readthedocs.io/en/kea-2.6.4/umls.html#building-the-options-list Please note that once an option is found, that option is ignored in later scopes (any option can be overridden by using the libdhcp_flex_option.so hook - https://kea.readthedocs.io/en/kea-2.6.4/arm/hooks.html#libdhcp-flex-option-so-flexible-option-actions-for-option-value-settings). Classes are evaluated for options just before the global scope. Subnet is much earlier so Subnet will take precedence here.
Thank you, Darren Ankney On Mon, Dec 29, 2025 at 7:38 AM lejeczek via Kea-users <[email protected]> wrote: > > Actually cancel my last "test is not matched" - was looking at wrong logs - > actually they are matched. > Which puzzles me even more - why would client not get options set there in > the class - but get those from ... "subnet4": [ > > -- > ISC funds the development of this software with paid support subscriptions. > Contact us at https://www.isc.org/contact/ for more information. > > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. > [email protected] -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. [email protected]
