Re: epair(4)

From: Kelly Hays <kelly.hays_at_jkhfamily.org>
Date: Sat, 17 May 2025 06:34:04 UTC
On Sat, May 17, 2025 at 12:16 AM Konstantin Belousov
<kostikbel@gmail.com> wrote:
>
> 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.
>
I think it is reasonable to expect there to be some safe way to
transition an IP address
from a physical interface to a bridge. Maybe some way to have the changes
automatically backed out after some time if there is no connectivity.
Anyway I think
this use case is common enough we should at least provide documentation of safe
procedure to switch from physical interface to bridge when IP is the only way
into the machine.

Thanks,
  Kelly