[Kea-users] [Question] Listen on all interfaces except specific ones without explicit listing in interfaces-config?
Dipesh Kayastha
er.dipesh.kayastha at gmail.com
Thu Nov 13 09:35:04 UTC 2025
Hello Kea community,
I'm configuring a Kea DHCPv4 server (version 3.0.2) and need to bind it to
all available network interfaces *except* one (e.g., "Port2", where a DHCP
relay is already handling traffic).
The interfaces-config supports wildcards like "*" for all interfaces, but
there's no negation syntax (e.g., "* except Port2"). Explicitly listing all
desired interfaces (e.g., ["Port1", "Port3", "Port4"]) works but is
cumbersome if interfaces change dynamically or there are many.
Is there a built-in way or workaround to exclude specific interfaces
without having to list every allowed one? For example:
- A config option for exclusions?
- A hook library or external script to auto-generate the list?
- Upcoming features in recent releases?
Here's a minimal config snippet for context:
json
{ "Dhcp4": { "interfaces-config": { "interfaces": ["*"] //
This includes the unwanted Port2
}
}
}
Any advice or pointers to docs/examples would be greatly appreciated!
Thanks, Dipesh Kayastha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20251113/34315ce1/attachment.htm>
More information about the Kea-users
mailing list