Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2025 11:32:57 +0200
From:      "Patrick M. Hausen" <pmh@hausen.com>
To:        A FreeBSD User <freebsd@walstatt-de.de>
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:  <75D1AB21-8570-4BF5-A7AD-7A9120294057@hausen.com>
In-Reply-To: <83C4319F-81D2-4FB4-B392-02AABB4C198C@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>

index | next in thread | previous in thread | raw e-mail

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75D1AB21-8570-4BF5-A7AD-7A9120294057>