Re: epair(4)

From: Lexi Winter <ivy_at_freebsd.org>
Date: Mon, 28 Jul 2025 15:52:08 UTC
Dag-Erling Smørgrav:
> Adrian Chadd <adrian@freebsd.org> writes:
> > qroxana <qroxana@protonmail.com> writes:
> > > What's the best practice for setting up bridge0 on a NFS root
> > > system?  [...]

> > That's an interesting problem that I don't think was even thought
> > about when bridge(4) was added to FreeBSD.  [...] I /think/ the tftp
> > boot path configures the interface addressing via kernel APIs, and
> > we'll need to undo it and flip it to a bridge.
 
> This is not the only scenario where you might want to add a bridge to a
> configured system.  I think it would be useful to have a setting that
> causes all of an interface's addresses and routes to be moved to the
> bridge when the interface is added to it.

i'm not opposed to this and i think the idea is reasonable, but i will
not have time to look at this prior to 15.0 and to be honest, it will be
fairly low on my list of tasks after that.

so i encourage anyone who needs this functionality to write the code :-)