Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2025 21:05:18 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Kristof Provost <kp@freebsd.org>, Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>, Cy Schubert <Cy.Schubert@cschubert.com>, ivy@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: epair(4)
Message-ID:  <3492b6197379d23905db5786e111bb5c@Leidinger.net>
In-Reply-To: <aCgbbnjr0QLs_923@kib.kiev.ua>
References:  <20250515162552.9209B20E@slippy.cwsent.com> <20250515185919.87008219@slippy.cwsent.com> <45d0f49d-229b-46b4-af95-6e8c4c856661@plan-b.pwste.edu.pl> <2D38F889-E8C9-49A9-AA80-D5A46FDFFD02@FreeBSD.org> <aCgbbnjr0QLs_923@kib.kiev.ua>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 
> stating
> that 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 Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmgo3f4ACgkQEg2wmwP4
2IY6ig//YoB4uYOMOeMXwyFGAoK2ncBZN70ASNtOnDbqXCHslHxkiia5d130zr46
wvezg+s2Y8KEPfvxy0Kc/e3wubjsqKjXjajNtwH3xrLc6on9hTY9Qvld6OurziK7
GcwNajuS0qmj8phi9qTeeei7jDOlqJ30nsPhrox+4KavNUcBN/w3F7mtUr84KDXR
janeXDB1F22e35BJmcscGYM54U/8tfuYCXWrERG2K8RSc9QVa9hX4fV5pQNtAUEV
V74RGzQo3ki8IEJtIgjRdMEkJvw8rzhIRe3CDKopfMnZleFukYt+qV4ZXsXGAH/o
IwnnR1vwiUtOlnfOygOyTvqqnJLHj3vgDL7ErC1CVFWtYy5bL3KRBrbOXxt8YS3R
qHVSew0uM98+mDWSlesFXSAvRQF1ITobkCKKZ9de0fP9b0IiGl1JTQ6zaZXkhjoI
bLWhw1jTTVszTsVnm35fsAz5YpDJzlsNklm1L02ZwhTRkFiTIbCiJWfQsOt8mHil
9Y2RyQvh2avH9o0vO00lNhXw+Vio3H3WG38fYHBKTx3YcQ5gB7UjxjEC7YnIyaiM
fRGjW2+mKI+8NSyRvWoek52Lt78hlVQ+FxhhgVX/GULaVbNlymFGfhfLgX/Kc/95
0ibJ/AUcRgtbJP+7ohXTAgRr4e6kRxYUO8r+aHxnNjpz2LYwg2Y=
=Caf0
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3492b6197379d23905db5786e111bb5c>