#1036657 bridge-utils: inconsistent IPv6 local-link between Ethernet and WiFi

Package:
bridge-utils
Source:
bridge-utils
Description:
Utilities for configuring the Linux Ethernet bridge
Submitter:
Martin-Éric Racine
Date:
2026-01-10 10:27:25 UTC
Severity:
normal
#1036657#5
Date:
2023-05-23 22:19:06 UTC
From:
To:
I'm not use whether this is caused by ifupdown or bridge-utils. Please reassign if necessary.

Having just upgraded from Bullseye to Bookworm, I noticed that the behavior has changed once again, when it comes to whether interfaces conncted to a bridge have their own IPv6 link-local or not.

In Bullseye, Ethernet cards did not have any IPv6 local-link, while Wifi adapters did. In Bookworm, it the opposite.

It should be neither. Only configured interfaces should have an IPv6 local-link. For bridges, it means that only the bridge should have an IPv6 local-link, not the interfaces attached to it.

Martin-Éric

- -- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bridge-utils depends on:
ii  libc6  2.36-9

bridge-utils recommends no packages.

Versions of packages bridge-utils suggests:
ii  ifupdown  0.8.41

- -- Configuration Files:
/etc/default/bridge-utils changed:
BRIDGE_HOTPLUG=yes
BRIDGE_DISABLE_LINKLOCAL_IPV6_ALSO_PHYS=yes


- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmRtO9oACgkQrh+Cd8S0
17b0PA/9Evd+ErmnIfEmJwp3KjGHVa6qsGV//OFqtt6bTAr16lfRnNHrar61F1U/
KJ3GPK/e9gxw8Bxeh8lXelGW5+25vei1H7iC8bGDTPrAKOXZIGFn+FlFqll1KuIY
/uc4GAEXE85gjul+b/9aNY3KynWu6i7KpubYhbXxS/i2QlzmH29SNxpdloRLvLRj
9g7trmv0d8v0YLsFL48se2dFhUivLEaM4roSvwh+M8buuwlTXdZJ1j22L1ncHSdc
BirJdE5sCkQgOsS7vqmH5QH5idHVpgoZYefizBim0REfW8+mFueoJ1oLiU01I5YX
Dn3XZCae3/OUw2ic3yhhGEFg9+M2Zcxp9pg94CMq9++v78UmmIPCNEMgLzWanEBb
U9/IEQRRCg+GbUIfupEbTGeg0XpK4P/VQOJvYD6cApP21/jEzo+tL2TzW1aJmsJ9
+ak6c3R2Qxi6heNwAg7SInJR3TsScHo51bRdNk6Glr8kk2L3lwPEjMenjU4MvX0O
Awfaq3mgxNEVyj5prX1x0a5QnR/WibAb/q2Sq3cn3rfD6z4X+9r+1VnLJI2igOgq
xon42p4FBammOWe0Vwj1o94xX9reLy3X98VIqWDSbEHV+QcuHPAaBgLm6YqueyaW
2bs0LKg/6bx1sOgtn5Mtj3EHUqjv3AOWk4g1lOcCRLy5ZeJrkGE=
=qJP7
-----END PGP SIGNATURE-----

#1036657#10
Date:
2023-05-30 21:22:30 UTC
From:
To:
Wifi is very dependant on how you configure it, but as you say, now on
bookworm you are not getting IPv6 on them, so... let's go for ethernet
cards... on my machines I don't see any inet6 address assigned to any of the
ethernet ports asigned to the bridge ports either full physical or vlan
based.

I agree on this, can you share your setup so that I can try to replicate it?

Also... is there any Router Advertisement Daemon or dhcpV6 daemon assigning
ipV6 addresses?

Regards...

#1036657#15
Date:
2023-06-04 03:43:32 UTC
From:
To:
Odd.

allow-auto br0
allow-hotplug /en* /wl*
iface br0 inet static
    bridge_ports regex (enp3s|enp2s|wl).*
    address 172.16.1.1
iface br0 inet6 auto
    # IPv6-PD via /etc/dhcpcd.conf
    # Routing via /etc/boot.d/iptables_IPv4-MASQ_IPv6-Bridge
iface enp4s0 inet dhcp
iface enp3s0 inet manual
iface enp2s0 inet manual
iface wlx(redacted) inet manual
    hostapd /etc/hostapd/hostapd-1-2G-wlx(redacted).conf

dhcpcd delegates the IPv6 prefix to br0:

allowinterfaces enp4s0 br0
require dhcp_server_identifier, domain_name_servers, routers
slaac private temporary
duid
noipv4ll
reboot 0
waitip 64
interface enp4s0
  ia_pd 0 br0

Martin-Éric

#1036657#20
Date:
2023-06-07 07:43:10 UTC
From:
To:
Can you remove these two lines (enp2s0 and enp3s0 definitions) and see if
that makes any difference?  I don't expect that will make any difference but
for what I see they are not needed.

Also... I'd add a "bridge_ports none" statement to the br0 inet6 stanza so
that it is handled by bridge-utils, otherwise the bridge won't do a thing
about it and maybe it is even showing some kind of error because of this.

Regards.

#1036657#25
Date:
2023-06-08 15:42:18 UTC
From:
To:
On Wed, Jun 7, 2023 at 10:43 AM Santiago Garcia Mantinan <manty@debian.org> wrote:

No difference.

No difference either.

Martin-Éric

#1036657#30
Date:
2023-06-09 05:19:57 UTC
From:
To:
On Thu, Jun 8, 2023 at 6:42 PM Martin-Éric Racine <martin-eric.racine@iki.fi> wrote:

In addition to Ethernet cards having an IPv6 local-link but WiFi
dongles not having any, another noticeable change in the output of 'ip
a' is that WiFi dongles are loaded after the bridge. In Bullseye, all
available devices were loaded by ifupdown before the bridge was
created.

Martin-Éric

#1036657#35
Date:
2026-01-10 10:09:17 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.