I'm trying to setup VLANs for the BPI-R2 board and went through this article, but not sure which VLAN scheme would apply in this case. The board techpage suggests it is VLAN capable. The board has 4 physical LAN ports and running the /sys/class/net command yields the following result.
The BPI-R2 uses MT7530 for networking. LuCi doesn't have any Switch/VLAN configuration option showing up. I'm confused if this chip has a built in switch or not. How should I go about creating VLANs?
For eg. A tagged 455 VLAN on WAN.
root@BPIoR2:~# dmesg | grep 802
[ 1.197802] hub 2-0:1.0: 1 port detected
[ 1.458681] 8021q: 802.1Q VLAN Support v1.8
[ 4.490323] 8021q: adding VLAN 0 to HW filter on device lan1
[ 15.890934] 8021q: adding VLAN 0 to HW filter on device lan0
[ 15.943623] 8021q: adding VLAN 0 to HW filter on device lan1
[ 15.981528] 8021q: adding VLAN 0 to HW filter on device lan2
[ 16.020478] 8021q: adding VLAN 0 to HW filter on device lan3
[ 16.061828] 8021q: adding VLAN 0 to HW filter on device wan
Thank you again wulfy23. I think this article will be the direction I need as I wasn't sure what approach to take to create VLANs on the 7530 chip from the main VLANs page, and the switch config mentioned on that wiki did not appear in my config. I may come back if I've any questions after reading it.