Date: Thu, 29 May 2025 15:29:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 287146] accept_rtadv does not work on bridged interface Message-ID: <bug-287146-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287146 Bug ID: 287146 Summary: accept_rtadv does not work on bridged interface Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: d8zNeCFG@aon.at Scenario: - host and router running FreeBSD stable/14 ca. Feb. 1 - router getting an IPv4 address from the DSL provider and a (global) IPv6 address using 6to4 (on stf0) - router announcing routes using rtadvd - host has bridge0 configured with a single interface em0 (this is done so that tap interfaces can be attached for bhyve) - host also runs rtsold - there are the following lines for bridge0 in /etc/rc.conf: [0]# grep bridge /etc/rc.conf bridge0_mac="42:00:01:00:13:01" # create a bridge for use by bhyve cloned_interfaces="bridge0" create_args_bridge0="ether $bridge0_mac addm em0 up" ifconfig_bridge0="inet ${hostname} netmask 255.255.255.0" ifconfig_bridge0_ipv6="inet6 accept_rtadv ${hostname} prefixlen 64" [0]# - hostname is set to the host name, and there are both IPv4 (RFC1918) and IPv6 (site-local) addresses in /etc/hosts Result: - Even though accept_rtadv is set on bridge0 and the router properly reacts to router solicitation requests, no global IPv6 address is set on bridge0. - During boot (executing of the startup scripts), rtsold complains as follows very early after the kernel startup messages: rtsol: cap_llflags_get() failed, anyway I'll try rtsol: sendmsg on bridge0: Can't assign requested address Expected result: - If bridge0 is omitted and em0 is used directly (with proper reconfiguration in rc.conf), em0 gets a global IPv6 address. The same should hold for bridge0. - Similarly, when em0 is used directly, there are now rtsol error messages during startup. The same should hold when em0 is part of bridge0. -- Martin p.s. I also wrote https://forums.freebsd.org/threads/mountd-does-not-respond-via-ipv6-over-a-bridge.97913/, but when trying this bridge0 setup again today, it mostly worked - except for the issue with rtsol. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-287146-227>
