I've noticed that occasionally on my workstation connected on the WLAN either my network latency is awful, or I'm unable to ping my main OpenWRT router.
The setup is like this:
Workstation <--802.11ac--> mesh4 <--ethernet--> openwrt (main router) <--WAN--> ISP.
mesh4 is the gateway node for an 802.11s mesh, but the connection from my workstation does not use the mesh, but the wired backhaul from mesh4 to openwrt.
When the bad latency starts, pings from zephyr to openwrt balloon to 400-600 ms, or it becomes unreachable. I'm still able to ping mesh4 from zephyr, however.
On mesh4, this is in the logs:
Tue Oct 22 13:40:11 2024 kern.info kernel: [767977.091916] br-lan: port 1(eth0) neighbor 7fff.0c:80:63:5a:18:14 lost
Tue Oct 22 13:40:11 2024 kern.info kernel: [767977.098460] br-lan: topology change detected, propagating
Tue Oct 22 13:40:11 2024 kern.info kernel: [767977.104792] br-lan: port 3(phy1-mesh0) received tcn bpdu
Tue Oct 22 13:40:11 2024 kern.info kernel: [767977.110191] br-lan: topology change detected, propagating
Tue Oct 22 13:40:12 2024 kern.info kernel: [767978.156175] br-lan: port 3(phy1-mesh0) received tcn bpdu
Tue Oct 22 13:40:12 2024 kern.info kernel: [767978.161581] br-lan: topology change detected, propagating
The MAC address of the LAN interface on openwrt is 0C:80:63:5A:18:14
.
On both mesh4 and openwrt, I have enabled STP on br-lan
.
So, why does mesh4 lose its route to openwrt on br-lan
? Nothing changed in the actual physical connections. They're both plugged into a dumb switch.