Hello. I did a little research, but I still can not configure my device properly.
I have 1043ND and here is, what I would like to achieve:
Cable modem gives me 3 addresses. And I would like to use all 3... but that is not so important.
The 1043ND has 4 LAN and 1 WAN port. I would like to separate LAN 1,2,3 to behave like normal dumb switch (eg TL-SG1005D to be more clear).
Here is what I have for now. The aimed interface is at the bottom named UPCSwitch.
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option type 'bridge'
option proto 'static'
option ipaddr '10.0.0.1'
option _orig_ifname 'eth0.1 wlan0'
option _orig_bridge 'true'
option ifname 'eth0.1 tap0'
option netmask '255.255.255.0'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config switch
option name 'rtl8366rb'
option reset '1'
option enable_vlan '1'
option enable_vlan4k '1'
config switch_vlan
option device 'rtl8366rb'
option vlan '1'
option ports '4 5t'
config switch_vlan
option device 'rtl8366rb'
option vlan '2'
option ports '0 5t'
config interface 'WiFree'
option _orig_ifname 'wlan0-1'
option _orig_bridge 'false'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
config switch_vlan
option device 'rtl8366rb'
option vlan '11'
option ports '1 2 3 5t'
config interface 'UPCSwitch'
option ifname 'eth0.11'
option _orig_ifname 'eth0.11'
option _orig_bridge 'false'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.30.1'