Date: Tue, 20 May 2025 13:08:23 +0200 From: A FreeBSD User <freebsd@walstatt-de.de> To: "Patrick M. Hausen" <pmh@hausen.com> Cc: Lexi Winter <ivy@FreeBSD.org>, Kristof Provost <kp@FreeBSD.org>, Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>, Alexander Leidinger <Alexander@Leidinger.net>, rgrimes@freebsd.org, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: CURRENT: can not add device to bridge: ifconfig: BRDGADD igb0: Invalid argument Message-ID: <20250520130850.0a808284@thor.sb211.local> In-Reply-To: <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> <aCrxeWv2FmAdEMkB@ragweed.eden.le-fay.org> <C3DAAC11-7029-4964-BA19-AE7AB2D941DA@hausen.com> <20250520112428.3de8301e@thor.sb211.local> <83C4319F-81D2-4FB4-B392-02AABB4C198C@hausen.com> <75D1AB21-8570-4BF5-A7AD-7A9120294057@hausen.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Am Tage des Herren Tue, 20 May 2025 11:32:57 +0200 "Patrick M. Hausen" <pmh@hausen.com> schrieb: > Sorry, missed a detail: > > > Am 20.05.2025 um 11:29 schrieb Patrick M. Hausen <pmh@hausen.com>: > > > > Hi all, > > > >> Am 20.05.2025 um 11:24 schrieb A FreeBSD User <freebsd@walstatt-de.de>: > >> I need a IPv6 prefix on bridge0. With the "wrong/faulty" concept I simply used > >> > >> rtsold_flags="-iu igb0" > >> > >> within /etc/rc.conf. Changing this line to > >> rtsold_flags="-iu bridge0" while bridge0 is up and running doesn't work, neither does > >> "rtsol bridge0" show any results. > > > > Do you also have > > > > ifconfig_bridge0_ipv6="inet6 accept_rtadv auto_linklocal" > > > > ? > > To get a stable SLAAC address it also helps to have in > > /boot/loader.conf: if_bridge_load="YES" > /etc/sysctl.conf: net.link.bridge.inherit_mac=1 > > This way the bridge IF clones the MAC address of the first member IF and > SLAAC works as intended. > > HTH, > Patrick In my case(es), if_bridge is statically compiled into the CURRENT kernel. Since I have to (mis)use dyndns v6 services to identify my hosts via MAC portion, first bridge-attached device is the NIC I usually was using for attaching to the network (em0 or igb0, depending on the CURRENT host, I have several ones). Regards, oh -- A FreeBSD user [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCaCxiwgAKCRCxzvs8Oqok r2hPAQCxOQj86VGclJEWzk00zu5ZqUVI/MJ9BVfmFGP/bgnWbwEAofdJqQnuLBbl 1ndUqwE+Up+IVp+KjkQDkTnrW8V77wY= =Gqdw -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250520130850.0a808284>
