From nobody Mon May 19 08:53:13 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 4b1BKm0PfFz5wmQP for ; Mon, 19 May 2025 08:53:16 +0000 (UTC) (envelope-from ivy@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 4b1BKl6xRpz42R9; Mon, 19 May 2025 08:53:15 +0000 (UTC) (envelope-from ivy@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747644796; 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=B6XPQjryHpZ1x+GuNuLdq2hkz4rX4nUSjAOjMNRNbl4=; b=LimJnVfIAAg+kjuB1P8Q7pcultIn9Xy/0k1fwDTM+FUvQxcnnP24A+Ty3kVe4P8ALQcGAA 5OXxyouK/cq9y99K5+m5zU6rD9CpJa+Ns5gqdjzasVzgNyXGXJrHPFkslmozzpJqzl6g8f D/AF0zOlkvY/5u7T19ONRNBnmsPuB/73rAGE5Llsc3EK2J1elqYi9cvjy+Lb1sX08KN0IG sJVzUF6ICNyNztna0pR088BGv/gJv/dcPDWoIY1v5ZZ8xQRX4fI1zFe+focy6HjZk3gCW3 y5YjvOBpRycY2yLtOeEssQrE4vDPp3FfFsQ1Glwx6hrdDwXFDZUwLy6Nu8u+4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747644796; 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=B6XPQjryHpZ1x+GuNuLdq2hkz4rX4nUSjAOjMNRNbl4=; b=oVkBzgH8V7Z3g9+y1jkGqsSyvTEV45ER2ReL2jdqwuJXQK2+4nrx+qnyUcRwVv9wWgMKO+ Cm92EzMyLXoCLr1gYGoXbV+BIP62IH7VE8Z3ukqLhbeexuGa9c284IOW2OCjiZnvpL9irP wNZxupqd9VBKwwQIctVY2TV9qiTKNkYxhM7B63heU5Thy5GYTOOuHTIpQ+7xUHfyL439W9 sp00qvE4HHQoG6ddsujNMoe47FAe1DlliVmCMQ7FcmLxBPvd6LtYbQHl431HdSRc4MKYAG RySV0JTAutc3TSxtDTlkFMIaTNmrlvHk17yyHXaeJzh5jhvjHzczTwyagb+bEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747644796; a=rsa-sha256; cv=none; b=Lj9V8QXjMeUL6exPA/G4mS6NCtdd6W4VSXjEWHLG+UvCInLLB66mEsXNWVro+D6qyiuQbb N+sgH1O0XGeF60kiu2Vqc7Mhzz/evuHji5899dnYWmScroEd5wVjPTqDBL9QeBH3Kvf+Nv Z7rrs4iY0lOvdYLQYZ+/zAT1ahj0RmhbNApc05xPjlndXoiTjYSJizgqJCqZp/OVZ6wc7S mvjjEdQRVoUIKIv0cMFfn7Wd4tQaNZBCufWtdXIuEqhFv6PKxn0x0NFQjxku/dxE75AB4h zlfhvSguS37X2cgdNSX3B+a/+xLo+VkwHt1qMGqAx5BhZtTKVKUkqM32pilZGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ragweed.eden.le-fay.org (ragweed.eden.le-fay.org [IPv6:2001:8b0:aab5:c401:1::1]) (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 did not present a certificate) (Authenticated sender: ivy/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4b1BKl1jYvz9gw; Mon, 19 May 2025 08:53:15 +0000 (UTC) (envelope-from ivy@FreeBSD.org) Date: Mon, 19 May 2025 09:53:13 +0100 From: Lexi Winter To: Kristof Provost Cc: Marek Zarychta , Alexander Leidinger , A FreeBSD User , rgrimes@freebsd.org, FreeBSD CURRENT Subject: Re: CURRENT: can not add device to bridge: ifconfig: BRDGADD igb0: Invalid argument Message-ID: Mail-Followup-To: Kristof Provost , Marek Zarychta , Alexander Leidinger , A FreeBSD User , rgrimes@freebsd.org, FreeBSD CURRENT References: <20250518180658.2e58d55a@thor.sb211.local> <192c8e37-4a85-4916-9986-0a556333a527@plan-b.pwste.edu.pl> <20250518182404.3a760da9@thor.sb211.local> <1ca30cdfb783848eafce24b77f10c0a5@Leidinger.net> <310d460a-d372-47c8-8275-2908bb8417ad@plan-b.pwste.edu.pl> <7A4E0DDE-77F7-4CDC-8C52-BE938298E105@FreeBSD.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/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tLnpZKfC5e35S2ma" Content-Disposition: inline In-Reply-To: <7A4E0DDE-77F7-4CDC-8C52-BE938298E105@FreeBSD.org> --tLnpZKfC5e35S2ma Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Kristof Provost: > On 18 May 2025, at 21:24, Marek Zarychta wrote: > > W dniu 18.05.2025 o=A019:48, Alexander Leidinger pisze: > >> You want to make it work without this. Short: use the IP on the > >> bridge itself, not in the member IF. > > I'm not sure we should be dictating to Oliver what he must do. =20 > Oliver is of course free to solve his problem however he wishes, but > setting the sysctl is the worst option available. This will break > again later, and will continue to break multicast. i think it's worth mentioning that this doesn't just break multicast. i recently ran into a user with some weird arp problem where dmesg kept logging messages that an IP address was moving from one MAC address to another. after they moved their IP address from the bridge member to the bridge itself, the problem was solved. the basic problem here is that putting IP addresses on a bridge member is a layering violation and it's just not reasonable (or even possible) to support this in a sensible way in bridge. this is why most dedicated network devices (switches, routers, etc.) don't let you do this. i appreciate there are some specific use-cases that are currently still easier if this is allowed, this is why the sysctl exists. hopefully, we can fix all of these before 16.0-RELEASE. and to be clear, i didn't make this change out of a random desire to break everything's network because i think that's fun. i am planning a lot of changes to bridge(4) to make it faster and more functional, and fixing basic issues like IP addresses on member addresses makes those changes a lot easier. --tLnpZKfC5e35S2ma Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaCrxeAAKCRD1nT63mIK/ YBMRAP4vtTWGxLC9azCaaslYWgIl2Hl/uQh9Bn7zamua/x23FAEA3gzJM7ldQut9 6W1x65WT8GOz92mJrT/fvSCXRMYjBwA= =Exyy -----END PGP SIGNATURE----- --tLnpZKfC5e35S2ma--