Why my lan gets macaddr of wlan

Probably since 6.4.4 I have this problem. Lan’s macaddr is overwritten by wlan’s macaddr.

→ Similar problem mentioned here but no solution

In my case looks like this, only wlan0 is correct(original macaddr masked).

wlan0     Link encap:Ethernet  HWaddr 11:22:33:44:55:66

br-lan    Link encap:Ethernet  HWaddr 11:22:33:44:55:66
br-lan.1  Link encap:Ethernet  HWaddr 11:22:33:44:55:66
br-lan.2  Link encap:Ethernet  HWaddr 11:22:33:44:55:66
br-lan.3  Link encap:Ethernet  HWaddr 11:22:33:44:55:66

Is wlan0 bridged to br-lan?

Nope, there is not even such option.


Wifi config is like above, attached to the lan interface.

Beside this mac issue everything works fine, no issues.

The wifi devices are somewhat specially treated in Luci. You can find the complete bridge specification by calling brctl show br-lan in the command line. Or you can check Network/Wireless and click Edit near an SSID:

This shows you that this SSID is a part of the br-lan bridge.

Further, it is normal that bridges in Linux assume the MAC address of one of the bridged devices. I’m not sure if this selection is stable or not, but I wouldn’t be surprised the bridge has the same MAC as one of the wlan interfaces.

Screenshot 2024-01-04 114624

Yes, it is like that. But see the macs, overwritten by wlan0’s mac.

As I said, that’s normal. MACs of the physical ports (lan0-4) are the same as eth1, which is given by the configuration of the internal switch. MACs of the bridge and its VLAN interfaces are the same as those of one of the bridged interfaces, in this case wlan0. That’s also normal.

Does it cause any problems to you?

It doesn’t cause any problem, but looks weird.
I expect that lan’s and vlans’ macaddr should be the macaddr of the eth1.