Hi everyone. My friend bough Xiaomi BE3600 router with dual switch (we guess). Unlike R7800, this model's switch configuration is quite different. I know this is not officially supported model but since it's OpenWRT based, I hope someone can help.
Our ISP provider uses VLAN ID 35. We don't know where to put it.
Original /etc/config/network
file is here below
config device 'eth0_dev'
option name 'eth0'
config device 'eth1_dev'
option ipv6 '1'
option name 'eth1'
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config switch 'switch0'
option name 'switch0'
config switch 'switch1'
option name 'switch1'
option enable_vlan '1'
config interface 'lan'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.31.1'
option netmask '255.255.255.0'
option multicast_querier '0'
option igmp_snooping '0'
option ip6assign '64'
option macaddr '50:88:11:b2:ed:d8'
option ifname 'eth0.2 eth0.3 eth1'
config alias 'lan_ipv6_alias'
option interface 'lan'
option proto 'static'
option ip6addr 'fd00:6969:6969::1'
config interface
option ifname 'eth0'
option keepup '1'
config interface 'eth1'
option ifname 'eth1'
config interface 'wan_2'
option disabled '1'
option proto 'dhcp'
option ipv6 '0'
option wantype 'eth'
option macaddr '50:88:11:b2:ed:d9'
config interface 'miot'
option ifname 'wl13'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.32.1'
option netmask '255.255.255.0'
config switch_vlan 'vlan1'
option device 'switch1'
option ports '3 5t'
option vlan '1'
option vid '1'
config interface 'eth0_1'
option ifname 'eth0.1'
config switch_vlan 'vlan2'
option device 'switch1'
option ports '2 5t'
option vlan '2'
option vid '2'
config interface 'eth0_2'
option ifname 'eth0.2'
config switch_vlan 'vlan3'
option device 'switch1'
option ports '1 5t'
option vlan '3'
option vid '3'
config interface 'eth0_3'
option ifname 'eth0.3'
config interface 'wan'
option proto 'pppoe'
list dns '9.9.9.10'
list dns '149.112.112.10'
option mtu '1500'
option ipv6 '1'
option peerdns '0'
option wantype 'eth'
option username '******'
option special '1'
option mru '1480'
option macaddr 'cc:d8:43:1c:bb:76'
option password '*******'
option ifname 'eth0.1'