That is correct. The br-lan has the switch (lan1-4) and also had the wan port. The wan port was the one connected to the main router until last night. Last night I removed wan from the bridge and connected lan4 to the main router to see if it would do anything new, but I'm still seeing the same weird behavior: local testing crossing the wifi ap gives me 300-400Mbps, ... wifi device internet speed testing, 100Mbps, all wired computers 940Mpbs. I remove the ooma, and the wifi device internet speed testing goes back to 300-400Mbps (or even 500Mbps if I'm right beside the wifi ap).
lan1-4 are pointing to the eth2 device. lan1 has the 100BASE ooma device, and lan4 is connected to the main router.
Not sure if relevant but the flow control in lan1 where the ooma is, is off, so the speed is negotiated. The lan4 where the main router is, flow control is on.
# ethtool -a lan1
Pause parameters for lan1:
Autonegotiate: on
RX: off
TX: off
RX negotiated: off
TX negotiated: off
Tue Aug 1 14:06:57 2023 kern.info kernel: [71473.208891] b53-srab-switch 18007000.ethernet-switch lan1: Link is Up - 100Mbps/Full - flow control off
Tue Aug 1 14:06:57 2023 kern.info kernel: [71473.218367] br-lan: port 1(lan1) entered blocking state
Tue Aug 1 14:06:57 2023 kern.info kernel: [71473.223612] br-lan: port 1(lan1) entered forwarding state
Tue Aug 1 14:06:57 2023 daemon.notice netifd: Network device 'lan1' link is up
Tue Aug 1 14:21:25 2023 kern.info kernel: [72341.594383] b53-srab-switch 18007000.ethernet-switch lan1: Link is Down
Tue Aug 1 14:21:25 2023 kern.info kernel: [72341.601091] br-lan: port 1(lan1) entered disabled state
Tue Aug 1 14:21:25 2023 daemon.notice netifd: Network device 'lan1' link is down
Tue Aug 1 14:50:18 2023 kern.info kernel: [74074.206545] b53-srab-switch 18007000.ethernet-switch lan1: Link is Up - 100Mbps/Full - flow control off
Tue Aug 1 14:50:18 2023 kern.info kernel: [74074.216031] br-lan: port 1(lan1) entered blocking state
Tue Aug 1 14:50:18 2023 kern.info kernel: [74074.221279] br-lan: port 1(lan1) entered forwarding state
Tue Aug 1 14:50:18 2023 daemon.notice netifd: Network device 'lan1' link is up
I did also a sar -n EDEV,DEV 1 while testing an nothing suspicious:
# ip route show
default via 192.168.210.1 dev br-lan
192.168.210.0/24 dev br-lan scope link src 192.168.210.2
Looking for any tracing tools to trace the network stack. ftrace doesn't seem to be available.
I wonder if I'm also looking in the wrong place, and I should be looking into the main router. However, I see nothing in the main router that could be affected by connecting a 100BASE device to the wifi ap.
When I unplug the 100BASE device and run the same internet test, there are no pauses at all.
So the throttling seems to be happening with pause frame?
The same is observed on the main router, the flow control counters go up when the 100BASE device is plugged into the wifi AP, but doesn't move when it is unplugged.
Good question. The “switch” I am referring to is just the hardware inside the R8000, and from the openwrt standpoint appears like a switch.
I have no switch in between the wifi ap and the main router, or in between the ooma 100BASE device and the wifi ap.
Im not sure if you read about it, but I read somewhere on this forum that there were some devices where the switch acted as hub in the 22.03 branch. Maybe look into that?
If this is a switch issue, why it only affect wifi connection not affecting the lan port?
If it's because the kernel issue, you might try to upgrade it to 23.05-rc2 or a snapshot version to check if it still appear.
What is this ooma device function? It is possible to login to device and set the port configuration on ooma? It has a built in wifi on that device? Have you try to connect ooma device direct to ONT and see the issue?
Exactly, it is a very weird bug. However, since it is a software bug, it is possible that it acts like a hub when some condition is true, but not on every situation.
What I'm planning to do is to simply get a separate switch to connect the Ooma and another 100BASE device I have to connect directly to the main router (got no ports left there ), and not use any of the lan port of the netgear router. The other 100BASE device I have is currently connected directly to the main router, ... no issues there.
Ooma is a home phone device for VoIP that goes over ethernet. I don't think I can get inside to do anything with it.
You can try separate it with another device such as GE/FE switch/hub. To add more ports.
Another try is to use lan port on the modem fiber (ONT) from your ISP, you can try to put ooma there on the modem lan port and see if the issue still appear.
23.05-rc2 and snapshot is using 5.15 kernel, you can try to upgrade if you have time to do in your spare time. Fallback to current firmware at anytime if you feel not ok.
The ooma is an ethernet device. The devices with low internet speed over wifi were my smartphone and my laptop. The ooma per-se doesn't have any issue to the internet. For now, I'm just keeping the ooma disconnected to allow my wifi devices have full internet speed.