From nobody Tue May 20 22:30:24 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 4b28QD4b5dz5w5Rn for ; Tue, 20 May 2025 22:30:28 +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 4b28QD3vt2z3ZgN; Tue, 20 May 2025 22:30:28 +0000 (UTC) (envelope-from ivy@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747780228; 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=n8FbVyo9K+4hUGVcXnIWuta8TIfIphZPTqDS4v76EkQ=; b=ukAogaPJC7VSsky/UmlFedyaZERdr8vfDUs5IbQUo7irITqaxg2rDVNZtmA8latnI/wFma 3FxtuH7bW4lGgvOB04LNlICKGptnj2Q0G8KwFkrNmw0CypNaFNmAHBMQAHCGAIJSwb+kFU +xiRJbkbMJdaof9LgU/uN3//vXRbr8zV/CYg8ke9hQyldT458xVfEdZFmYexp7EWHFQvFV lPEn7KUcVxeG3MZgbC2q/fOwpgSmQJmAPLHO7QzwdOIXPKe6l8yEBJ276V/6MpDAMSha9/ DdccNHTpQGqFpwDOYl8QrHtdAnbUQ7WoE9yJ2PFdP0UInEg7MbN+FF0tYgeEzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747780228; 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=n8FbVyo9K+4hUGVcXnIWuta8TIfIphZPTqDS4v76EkQ=; b=lV2QU3vqMbNapDmslf5nlRzVwMzUfxvKrUpZvUFxekGlxR3TQMeWf3umIv+vjtm7ErBMHJ 6bCUWk3//M2NnqPiTHAHw4F0UFhpzpAFFvlOfNR37R2/DCzfyLvW6DomjkIWQb+xt5pjXs UJSaNWoefmaaiJlxLa/CrPYZyfCGdu0B0VXp9+uBhBLa7OycaUjjqUKHzZmfWDoH818pU6 jUv8WS+NBnuq1Mi2wSiri+0x8acqXdvXUKKl8aj5ze+/0TV0lgLT2DyZP2XH6CfShTeW1n Zja2Q/zOhbUc4qbl0nRmB4JoZtx/HU9bIleP2upZ0cxqDvCi2T05FyrbpQnsQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747780228; a=rsa-sha256; cv=none; b=c/PgLvzxMxGVhevyGgelRCsluqsDEsrDVdOutyqtQ26hrPMpyORHOKBNNVEl6MtBkV97jA adRj3ku5+CddknfqgySg+W4R0uUvtBy5hZFt8aha+bbO7TlPKONEG8HdWY3x8wbaCy0rC9 hDfQt93V2kzYzHWY9VmGrgO2VHn2iBaUFX7xqINi9wbWb8Vh3SFYc8jwT+Rfee5X3YZZ2U vkzHv5obVL+mN4j+v4wnAaSnpNMC7fg2EjQA/XHRGZwmeoc9SgONVVWGoCvyqYEqEoyXfP FyFQ15hcXqwWRglO00LTdCiygDOEnMMyhIx8yndAlqeJYRfFYi6u/0YSvBUwWA== 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 4b28QC5T4wz1FCJ; Tue, 20 May 2025 22:30:27 +0000 (UTC) (envelope-from ivy@FreeBSD.org) Date: Tue, 20 May 2025 23:30:24 +0100 From: Lexi Winter To: A FreeBSD User Cc: "Patrick M. Hausen" , Kristof Provost , Marek Zarychta , Alexander Leidinger , rgrimes@freebsd.org, FreeBSD CURRENT Subject: Re: CURRENT: can not add device to bridge: ifconfig: BRDGADD igb0: Invalid argument Message-ID: Mail-Followup-To: A FreeBSD User , "Patrick M. Hausen" , Kristof Provost , Marek Zarychta , Alexander Leidinger , 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> <20250520112428.3de8301e@thor.sb211.local> 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="BkF1TdKdAQgHgnAJ" Content-Disposition: inline In-Reply-To: <20250520112428.3de8301e@thor.sb211.local> --BkF1TdKdAQgHgnAJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable A FreeBSD User: > I need a IPv6 prefix on bridge0. With the "wrong/faulty" concept I > simply used=20 >=20 > rtsold_flags=3D"-iu igb0" >=20 > within /etc/rc.conf. Changing this line to > rtsold_flags=3D"-iu bridge0" while bridge0 is up and running doesn't work= , neither does "rtsol > bridge0" show any results. unfortunately, i cannot reproduce this. test1# ifconfig bridge0 create test1# ifconfig bridge0 inet6 -ifdisabled auto_linklocal accept_rtadv addm = epair2b up test1# rtsol bridge0 test1# ifconfig bridge0 bridge0: flags=3D1008843 m= etric 0 mtu 1500 options=3D0 ether ea:1f:5d:1b:70:9d inet6 fe80::e81f:5dff:fe1b:709d%bridge0/64 scopeid 0xc inet6 2001:db8:100:0:e81f:5dff:fe1b:709d/64 autoconf pltime 604800 vltime = 2592000 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: epair2b flags=3D143 ifmaxaddr 0 port 11 priority 128 path cost 2000 groups: bridge nd6 options=3D23 test1# note that there is an existing, unrelated bug[0] where the bridge will not correctly set auto_linklocal and accept_rtadv by default, so you need to do this explicitly. if that isn't the issue, can you please show the output of=20 % ifconfig bridge0 prior to running rtsol? also, i understand from your other post that you need a specific MAC address on the bridge to get the right SLAAC IP address. in that case, you will need to either change the lladdr of the bridge, or set net.link.bridge.inherit_mac=3D1 to make the bridge inherit the address of the first member. [0] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254445 --BkF1TdKdAQgHgnAJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaC0CfwAKCRD1nT63mIK/ YA2aAQDyo+qBmzR+014D1RoyftQwb3ZorvFh6hPDLGufTXx7JwEAqz51Onx77uzf jWNAvgCeNtGVvUMgkOGmxrTh8ZsgPQc= =BU8i -----END PGP SIGNATURE----- --BkF1TdKdAQgHgnAJ--