[systemd-devel] BridgeMDB specifying port and group

Jordi Auge jordi.auge at technica-engineering.de
Tue Jan 30 11:39:13 UTC 2024


To answer my own question in case anyone finds this question in a a search or something:

- BridgeMDB is implemented properly in networkd, and it works fine
- In order to add the mdb entry to the socnet0 interface, you have to put the [BridgeMDB] entry on the socnet0 network file
- The associated bridge is not explicitly set in the mdb entry, networkd already knows this interface is part of a bridge
- The permanent vs temp setting is also not necessary, it's implicit in whether you're selecting the root port of the bridge or another port.


Jordi Augé
Technica Engineering
 
 


De: Jordi Auge
Enviat el: dimarts, 23 de gener de 2024 17:58
Per a: systemd-devel at lists.freedesktop.org <systemd-devel at lists.freedesktop.org>
Tema: BridgeMDB specifying port and group 
 
Hello,

I'm configuring a BridgeMDB using networkd.

I'm trying to produce a networkd configuration with the same effect ad this command:
bridge mdb add dev br0 port socnet0 grp 239.255.42.99 permanent vid 68

This produces the following entry in "bridge mdb show":
dev br0 port socnet0 grp 239.255.42.99 permanent offload vid 68

I have this section in the network config file:
[Match]
Name=br0
(...)
[BridgeMDB]
MulticastGroupAddress=239.255.42.99
VLANId=68

Which produces this entry in "bridge mdb show":
dev br0 port br0 grp 239.255.42.99 temp vid 68

So, I need to set the port (socnet0 vs br0), and the group (temp vs permanent).

As far as I can tell, these options don't seem to be implemented in networkd.

Can anyone please confirm if these feature are supported?

Regards,

Jordi Augé
Technica Engineering


More information about the systemd-devel mailing list