Re: CURRENT: can not add device to bridge: ifconfig: BRDGADD igb0: Invalid argument

From: Patrick M. Hausen <pmh_at_hausen.com>
Date: Tue, 20 May 2025 09:32:57 UTC
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