[Bug 275765] Automatically add carp(4) interfaces to interface group "carp"
Date: Thu, 14 Dec 2023 16:02:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275765 Kristof Provost <kp@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kp@freebsd.org --- Comment #1 from Kristof Provost <kp@freebsd.org> --- vlan and bridge interfaces are automagically added to their respective groups because they're cloned interfaces. (See ifc_link_ifp() in sys/net/if_clone.c). There's no such thing as a carp interface. There are carp addresses on other interfaces, but it'd be surprising for a new address to cause an interface to be added to an interface group. It may be possible to emulate this in userspace using the CARP notifications in devd. I'm not convinced that it'd be a good idea to try to do this from the kernel, but for those who want to try, ifc_link_ifp() and carp_alloc()/carp_destroy() are the places to start looking, -- You are receiving this mail because: You are the assignee for the bug.