Am 2025-05-17 07:15, schrieb Konstantin Belousov:
On Fri, May 16, 2025 at 10:38:58PM +0200, Kristof Provost wrote:As Lexi pointed out in another e-mail: users should assign addresses to the bridge, never to bridge member interfaces.Could you, please, also explain why this is the requirement, besides statingthat the configuration is invalid?Let me give some context there: for me, such config appears when I set up normal host, with the usual setting of IP address on a physical interface. Then some time later, realizing that I want to run a bhyve there as well,I need to add a bridge. But for situation where the host is remote and even without console access, it means to either keep the invalid config if IP address on interface, or blindly do the sensitive config update without a way to test it before reboot.
for ZFS based systems: - create new BE - mount new BE - edit rc.conf - unmount new BE - bectl activate -t new_BE - reboot- it it doesn't work, do a remote reboot (if you don't have that, add a rc.local with a "(sleep <suitable_time>; shutdown -r now)&")
That's how I did it some years ago after noticing that the IP shall be on the bridge.
Bye, Alexander. -- http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netch...@freebsd.org : PGP 0x8F31830F9F2772BF
signature.asc
Description: OpenPGP digital signature