From nobody Sat May 17 19:05:18 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b0D260vNgz5w2hH for ; Sat, 17 May 2025 19:06:22 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b0D253RDHz3MXN; Sat, 17 May 2025 19:06:21 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1747508773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PxPMlgSgQSli67k2VsmEyhU2MkZ9psITir9iR3Xq/Ac=; b=1CSPmf50se/OnraGEIzK5wCHPSVyujI+HnBvFWvnhcs0Y9anvwvDjLcIgMaHaHcXFM90Fu gTLYi78+sopw86fJiTZqrJVzStg8f2kjWn2nBxF3p55lzkuQKkWNSWgYXBGTBFs5GkIwNE WSVty4hQIgeKd4a1oWpBN9/fEnZbGgxHCRGsa2mb8ZNQXZLSc4EE20zElGB7tJTukYq/CO sJAPiXJoj+b23Emg/XuR+yKmj2vF4C8BX5GPv8nQo71DUqBK4njZFMof4206l56i2q5cVh a7gK3T5TEVGaNmH+HDkDpi1nNxbGKv7zLR4DFUDrE5xENtE/5Nn2t5d/Ssn7EQ== Date: Sat, 17 May 2025 21:05:18 +0200 From: Alexander Leidinger To: Konstantin Belousov Cc: Kristof Provost , Marek Zarychta , Cy Schubert , ivy@freebsd.org, freebsd-current@freebsd.org Subject: Re: epair(4) In-Reply-To: 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> Message-ID: <3492b6197379d23905db5786e111bb5c@Leidinger.net> Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_1f256d89c905a1f24d29a58e94d13928"; micalg=pgp-sha256 X-Rspamd-Queue-Id: 4b0D253RDHz3MXN X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE] X-Spamd-Bar: ---- This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_1f256d89c905a1f24d29a58e94d13928 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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 ; 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 --=_1f256d89c905a1f24d29a58e94d13928 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----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----- --=_1f256d89c905a1f24d29a58e94d13928--