Hi
My router is a TP-Link TL-WR841N/ND v9 with Chaos Calmer 15.05, and I'm struggling to set 2 working vlan's.
After applying the configuration below and reboot I lose connectivity to the router on all ports.
/etc/config/network
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 ifname 'eth1.1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.2.254'
option netmask '255.255.255.0'
config interface 'lan2'
option ifname 'eth1.2'
option type 'bridge'
option proto 'static'
option ipaddr '10.0.0.254'
option netmask '255.255.255.0'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'config switch_vlan 'eth1_1'
option device 'switch0'
option vlan '1'
option ports '1 2 3 0t'
config switch_vlan 'eth1_2'
option device 'switch0'
option vlan '2'
option ports '4 0t'
adding to /etc/config/firewall
config zone
option name 'lan2'
option network 'lan2'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
adding to /etc/config/dhcp
config dhcp 'lan2'
option interface 'lan2'
option start '200'
option limit '250'
option leasetime '12h'
Is there any problem with this configuration?
Many thanks,
Silva
(Last edited by thxred on 27 Nov 2016, 01:58)