Hello, can someone please help me understand how mac address should be configured in DSA bridged ports?
This is the default config on a Redmi AX6000 (mediatek/filogic):
Switch ports LAN2, LAN3 & LAN4 are bridged in br-lan device. The ports and the bridge share the same mac address.
WAN port has a manually assigned mac address on its config:
br-lan device is used for the lan interface and wan port device is used for the wan & wan6 interfaces, this configuration obviously works as it is.
However if i remove ports LAN3 & LAN4 from the br-lan bridge and add them to a new separate bridge device, and assign this new bridge device to a new independent interface, luci shows this configuration:
The new bridge device ends up using the LAN3/4 port default mac address, which is also the same as the LAN2 mac address, which belong to a different bridge.
The new lan34 interface also ends up sharing the same mac address with the original lan interface.
This configuration apparently works this way, despite of mac address being not unique.
My question would be:
- Is this how its supposed to work or is just that luci is not prepared to handle this kind of DSA switch port config?
- Is it ok for different devices / interfaces to share the same mac address?
- If its not, which is my uninformed assumption, how should I configure them?
- Should I manually assign a unique mac address to each switch port?
- Should I leave the ports mac untouched and assign a unique mac address to the bridge device so its different from the other bridge mac address?