Hi,
I'm struggling to define VLANs in NanoPi R4SE. I'm aware of the new DSA thing, but I'm not sure if what I need to achieve is possible (not sure if DSA or nanopi limitation), although I was able in the past (before DSA) to achieve it in an Linksys EA8500.
My TV box only works if it is in the same LAN of the ISP router. Therefore I'd need to configure a VLAN setup as the following:
The fact that the GUI's with DSA are different doesn't help the "migration", so I'm trying to achieve it with the /etc/config/network file.
I've ran a mix of commands and the DSA script , but I'm not getting anywhere.
Currently, my config file is this (no tagged, untagged ports defined because otherwise I loose contact with the switch)
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdec:8090:b28a::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1'
config device
option name 'br-wan'
option type 'bridge'
list ports 'eth0'
option macaddr '9E:13:4A:A8:F3:70'
option mtu '1500'
config device
option name 'eth1'
option macaddr '9e:13:4a:a8:f3:71'
config interface 'lan'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.1.1'
option gateway '192.168.10.1'
option broadcast '192.168.1.255'
list dns '192.168.10.1'
list dns '8.8.8.8'
option device 'br-lan.1'
config device
option name 'eth0'
option macaddr '9e:13:4a:a8:f3:70'
option igmpversion '3'
config interface 'wan'
option device 'eth0'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.10.2'
option gateway '192.168.10.1'
config interface 'wan6'
option device 'eth0'
option proto 'dhcpv6'
list ports 'eth0:u'
list ports 'lan1:u*'
config bridge-vlan 'lan_vlan'
option device 'br-lan'
option vlan '1'
list ports 'eth1'
config device
option type '8021q'
option ifname 'lan1'
option vid '1'
option name 'lan1.1'
option mtu '1500'
option macaddr '9E:13:4A:A8:F3:71'
config device
option type '8021q'
option ifname 'lan10'
option vid '10'
option name 'lan10.10'
option mtu '1500'
option macaddr '9E:13:4A:A8:F3:70'
Having this in mind, any hint on how to configure this setup in the /etc/config/network file?
Cheers