FS#2981 - no switch0 device on Xiaomi Mi Router 3G (and V2) #7751
Apparently since kernel 5.4, the switch0 is not working correctly anymore. With a plain network config, ethernet ports are available. When using VLAN, the ports don't work anymore; even the LEDs are off.
Devices: Xioami Mi Router 3G and Xiaomi Mi Router 3G V2
Routers work fine with kernel 4.14.xxx
The text was updated successfully, but these errors were encountered:
This is expected insofar as there is no swconfig anymore. As noted above, the platform switched to DSA which attempts to abstract the switch configuration as netdevs, so in theory you should be able to simply bridge the per-port netdevs together to do vlan tagged traffic, e.g. "option ifname lan1.234" to speak VLAN 234 on ethernet port LAN 1.
If that is not working, it needs to be fixed in DSA.
Please see also http://lists.infradead.org/pipermail/openwrt-devel/2020-April/022670.html - apparently there is bugs in DSA VLAN egress handling.
The correct method for VLAN management of DSA ports (switch downstream ports) is via the