Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2025 07:28:09 +0200
From:      A FreeBSD User <freebsd@walstatt-de.de>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   if_bridge(): IPv6 EUI-64 seemingly not working
Message-ID:  <20250611072836.2a0b026a@thor.sb211.local>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello development folks,

after the announcement not supporting set IPs on NICS member of a bridge I tried to switch on
all of my administered CURRENT and 14 boxes towards the proposed scheme - with different
results.

Background: several boxes sit behind dynamically changing uplinks. The boxes are identified
via dynamic DNS entries containing the NIC's MAC address at my dyn DNS provider. A
prerequisite is to configure the if_bridge() in question to inherit the/a (persistent) MAC of
a/the first inherited NIC. In my case, this part works without flaw.
net.link.bridge.pfil_bridge
When it comes to obtain an IPv6, CURRENT, in contrast to 14-STABLE, fails to set the host part
according EUI-64. The resulting 64 host bit, which are considered to contain the 48 bit of the
MAC, do contain anything but not anything similar to ANY of the attached NIC/NICs. 

For the record, here the sysctl settings changing default settings of OIDs involving bridge
(according to some docs when jails share epair() devices on that bridge):

[...]
net.link.bridge.inherit_mac=1
net.link.bridge.pfil_local_phys=0
net.link.bridge.pfil_member=0
net.link.bridge.pfil_bridge=0
net.link.bridge.pfil_onlyip=0
[...]

I do not see the described (mutual) misbehaviour on 14-STABLE and or 14.2-RELENG.

So the negative effect of this is that the hosts in questions are not accessible/known anymore
to the net.

A bug or a "feature (due to simple dumb misconfiguration)?

Thanks in advance,
oh

-- 

A FreeBSD user

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCaEkUBAAKCRCxzvs8Oqok
r4aoAQCE6LX0jRtSPnsVvQ8j/GJybAoNO/xC7Vg3lGY9gbDrdwEAywmD7EMy2ILf
gL+0wleOUIy0VMBsVu256oz/bTmvGgU=
=tUX5
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250611072836.2a0b026a>