From nobody Tue May 20 21:30:05 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 4b274f3xFxz5w1bX for ; Tue, 20 May 2025 21:30:10 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b274f2xGGz3ShB; Tue, 20 May 2025 21:30:10 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747776610; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QIZcSPFp14bDRT7uhB9BM4Syf017tRJkfRcYcNN7DGM=; b=Ot9Jfwf72ZFfLWOgaJGPgQ2xtyjczMNDS8VORgWWjyGIHakrmYOI5A83FkoVpMtp0YOlk6 vB5NJ1t6/OMoR5lTrSfXD83aBkicVxU4SLzZtiTOBM32CqF/9BUTyPrn8Tn4XOXPgdNRPb dqIOd14vCvFEDfVZnrQEvlXJjxmeIL8aZ+LV6mGU+O8Mrz6XrhrH6lk/77Q2qIk0ZQ7GVy ZKFBxQZVe9JdbRzmMD9xCtb60HQauGMcb0CUtN22/HM34IFKnypaM8G93twr+KWn3gX2kc OHv2HFUZi2PdXAqO8hhvCzjz6D6SJln+f8zoQZej2gOVia4YUlNK4BFXHGkA8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747776610; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QIZcSPFp14bDRT7uhB9BM4Syf017tRJkfRcYcNN7DGM=; b=l6iqNNodLdENxoqrEJbLeZkk1baTJWO2kIExmqCfNNTqyqNzDS332g+Hxx4Gm9gmrXhSdE YBKQD9TyN4NFggc3SQlje7uNXj/X3gTfDhSo7qCRrb4y0+V21WweGlipqk1hcohPYMAP3E KJf4EYz8hIR283VxN/krNFtZ7XS2zwWv5ZCGEHilbZ0tfbXbHVHiumI6vy9q5G43wjr4Il Ov0Rcn+ossoMDiRa4Eejn/PDOyiDiKbNjeHscQIgcDP9taYuTg/96guL8Vw4Odj1US967G pbqNPjI4dmqUVNCNLuymwqdkC6Gy9EOqa7W4vYZEzraXlq6k/E5DehpIGfXNGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747776610; a=rsa-sha256; cv=none; b=j1bQsNM1rIBV8RLGXMaoYLLXZluIVuUW47OWwQx+Z5o7pHaoQ10FV8U0o1qP/ozT83h9rL O/pc4PGF6npMxy5J1l2S0EY1ljmHp9+HT22WjLPTTET9PKchLS7QSyyE5qHsTT+ezT1eW2 iA3PXQuxcBe62cFTRF30h0kxHKFIaCTFC5pzwWeXWFtI0j+Pc2dynjGnMs+2yd7i3qekmN qQeFW7S76A50BFolOhe1jxjn8xQ7/ZYhq37wXZ5I6vN2fimZ0w1Rxlq3RyJAJpGIUcZ5OK rG71Knz5VAboae8k4s7ofSuznt1rh+LAFfHN9VPsCVaW1VyB5YgqwwUGLLtoYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx1.codepro.be", Issuer "R11" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 4b274f1ThSz1D8d; Tue, 20 May 2025 21:30:10 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 01500B99C; Tue, 20 May 2025 23:30:07 +0200 (CEST) From: Kristof Provost To: Michael Grimm Cc: freebsd-current@freebsd.org Subject: Re: epair(4) Date: Tue, 20 May 2025 23:30:05 +0200 X-Mailer: MailMate (2.0r6255) Message-ID: <369F5F7C-F88E-4C92-9DE0-C0FB0E5EFD54@FreeBSD.org> In-Reply-To: <75A8047F-73E0-467F-8005-7CA1ADA09788@ellael.org> 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> <6e33a247-4b2a-4f7c-8e1f-14a549db27cd@plan-b.pwste.edu.pl> <47624B57-16CA-4141-9761-A51F9E3F4078@FreeBSD.org> <75A8047F-73E0-467F-8005-7CA1ADA09788@ellael.org> 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 Content-Type: multipart/alternative; boundary="=_MailMate_CD2C9C5C-7B36-4434-9ABE-6FF3D5AF724F_=" Content-Transfer-Encoding: 8bit --=_MailMate_CD2C9C5C-7B36-4434-9ABE-6FF3D5AF724F_= Content-Type: text/plain; charset=UTF-8; format=flowed; markup=markdown Content-Transfer-Encoding: 8bit On 20 May 2025, at 22:13, Michael Grimm wrote: > Kristof Provost wrote: > >> There’s no reason to ever assign IP addresses to member interfaces. > >> Again, ifconfig bridge0 inet 192.0.2.1/24 is perfectly okay and will >> continue to work. ifconfig bridge0 addm epair0a ; ifconfig epair0a >> inet 192.0.2.1/24 is not. > > I have read all mails in this and the other thread's mails and I am > still puzzled by the wording: > >> The documentation has had this warning for a long time: “If the >> bridge host needs an IP address, set it on the bridge interface, not >> on the member interfaces.“ > > Das "member interfaces" *include* or *exclude* the corresponding > epair0b part? > It does not. Typically you’d insert epair0b in a different vnet, but either way, it is not a member interface of the bridge, so it can have IP addresses assigned to it. — Kristof --=_MailMate_CD2C9C5C-7B36-4434-9ABE-6FF3D5AF724F_= Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On 20 May 2025, at 22:13, Michael Grimm wrote:

Kristof Provost kp@free= bsd.org wrote:

There=E2=80=99s no reason to ever assign IP addresses to = member interfaces.

Again, ifconfig bridge0 inet 192.0.2.1/24 is perfectly ok= ay and will continue to work. ifconfig bridge0 addm epair0a ; ifconfig ep= air0a inet 192.0.2.1/24 is not.

I have read all mails in this and the other thread's mail= s and I am still puzzled by the wording:

The documentation has had this warning for a long time: =E2= =80=9CIf the bridge host needs an IP address, set it on the bridge interf= ace, not on the member interfaces.=E2=80=9C

Das "member interfaces" include or exclude the corresponding epair0b part?

It does not. Typically you=E2=80=99d insert epair0b in a = different vnet, but either way, it is not a member interface of the bridg= e, so it can have IP addresses assigned to it.

=E2=80=94
Kristof

--=_MailMate_CD2C9C5C-7B36-4434-9ABE-6FF3D5AF724F_=--