Beryl MT1300 has 3 Ethernet ports labeled WAN (1), and LAN (2). However, I see only one “eth0” device (CPU0) with VLAN devices defined on it and mapped to the external physical connectors and a “bridge” for the LAN ports.
Would appreciate if someone could point me to a doc or explain how physical network device is mapped out to virtual device(s).
When using 3.x firmware(openwrt 19.07 based).
The switch is divided into two VLANs: vlan1(port 0 1 2 3) and vlan2(port 4). vlan2 only uses two ports physically. port 6 is called CPU port which allows both vlan1 and vlan2 tagged traffic.
eth0 is divided into two VLAN eth0.1 and eth0.2 that are mapped to switch two VLANs.
Following command can be used to check their relation:
swconfig dev mt7530 show
And more directly, you can check the /etc/config/network config file.