From nobody Tue May 20 09:32:57 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 4b1q9M2YHXz5w6vY for ; Tue, 20 May 2025 09:33:11 +0000 (UTC) (envelope-from pmh@hausen.com) Received: from mail2.pluspunkthosting.de (mail2.pluspunkthosting.de [217.29.33.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4b1q9K64wtz490k; Tue, 20 May 2025 09:33:09 +0000 (UTC) (envelope-from pmh@hausen.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of pmh@hausen.com designates 217.29.33.228 as permitted sender) smtp.mailfrom=pmh@hausen.com; dmarc=none Received: from smtpclient.apple (87.138.185.145) by mail2.pluspunkthosting.de (Axigen) with (ECDHE-RSA-AES256-GCM-SHA384 encrypted) ESMTPSA id 257159; Tue, 20 May 2025 11:33:08 +0200 Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3826.500.181.1.5\)) Subject: Re: CURRENT: can not add device to bridge: ifconfig: BRDGADD igb0: Invalid argument From: "Patrick M. Hausen" In-Reply-To: <83C4319F-81D2-4FB4-B392-02AABB4C198C@hausen.com> Date: Tue, 20 May 2025 11:32:57 +0200 Cc: Lexi Winter , Kristof Provost , Marek Zarychta , Alexander Leidinger , rgrimes@freebsd.org, FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <75D1AB21-8570-4BF5-A7AD-7A9120294057@hausen.com> 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> <83C4319F-81D2-4FB4-B392-02AABB4C198C@hausen.com> To: A FreeBSD User X-Mailer: Apple Mail (2.3826.500.181.1.5) X-Rspamd-Queue-Id: 4b1q9K64wtz490k X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.25 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.989]; MV_CASE(0.50)[]; NEURAL_HAM_SHORT(-0.46)[-0.459]; R_SPF_ALLOW(-0.20)[+a:mail2.pluspunkthosting.de]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_SEVEN(0.00)[7]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[hausen.com]; RCVD_TLS_ALL(0.00)[] Sorry, missed a detail: > Am 20.05.2025 um 11:29 schrieb Patrick M. Hausen : >=20 > Hi all, >=20 >> Am 20.05.2025 um 11:24 schrieb 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. >=20 > Do you also have >=20 > ifconfig_bridge0_ipv6=3D"inet6 accept_rtadv auto_linklocal" >=20 > ? To get a stable SLAAC address it also helps to have in /boot/loader.conf: if_bridge_load=3D"YES" /etc/sysctl.conf: net.link.bridge.inherit_mac=3D1 This way the bridge IF clones the MAC address of the first member IF and SLAAC works as intended. HTH, Patrick=