Since the chip’s driver mvsw61xx is supposed to be statically baked into the kernel (CONFIG_MVSW61XX_PHY=y) none of the kernel module probing tools, e.g. modinfo | modprobe, are applicable.
which is a dynamic kernel module (as opposed to the aforementioned static kernel driver) and which should provide mvsw61xx.koby its definition. Yet that module is not traceable on the node (or in any medkit version for that matter).
With eth0.1 and eth0.2 being no shows and the chip not listed with lspci either it seems that the switch chip is not working. Or what am I missing?
Set port 5 tagged and I beg eth0.1 will show up if I am not mistaken (Or I don‘t fully understand what you mean)
Edit: eth0.1 should show up in physical settings in interface settings in LuCi. If you connect an interface to eth0.1 it should then show up in ifconfig,too
Think about switch chip in TO as a dedicated managed switch with two Interfaces from TO (eth0,eth2) attached to ports 5 and 6.
Configuring vlans on the switch doesn‘t necessarily mean they show up on the CPU. VLAN Interfaces on the CPU only show up if communication between switch-chip and CPU is tagged.
LuCI is not really the tool to depend on querying the actual status/presence of ifaces. Instead use ls -l /sys/class/net or ifconfig or ip l or ip a. And none is showing eth0.1 or eth0.2.
VLAN tagging is performed by putting the VLAN ID into a header/frame to identify which network it is present in. How could that possibly create an iface?
As for for any other hardware iface (layer 2) it requires a static kernel driver or dynamic kernel module or for a software emulated solution a userland app like openvswitch
That is the point - you are using a layer 3 bridge which should not be required for a VLAN to work on layer 2. Switch from bridge to direct link and there is no VLAN connectivity…
EDIT: bridge is onlly there because I added a WLAN-Interface to it. As you can see vlan-communication doesn’t depend on it. I can also ping my devices. Or do I still misunderstand you?
Since I started this from 3.11.2 medkit I was wondering whether your device been updated from stock when you procured it or whether you remember the version of the last medkit installation done perhaps?
Well, that is where it gets confusing of why it need CPU tagging for the OS being able to show the switch ifaces.
The issue I am facing now is that enabling tagging the CPU via LuCI ceases all communications with the router. It works ok however by manually editing the network via ssh and then restarting the network from the cli.
When you change CPU Port from untagged to tagged for VLAN1 (LAN) you also have to change iface of LAN interface from eth0 to eth0.1 before applying the changes
The setup/usage is clear. Not clear been the visibility of the VLANs if the CPU is untagged.
I am aware of the changes that needs to be done prior committing the changes, which as said works fine via ssh/cli but not via LuCI for some reason. Which I am not going to investigate.