TP-Link MR3420 software switch
Problem: devices connected via ethernet can't discover nor ping, nor establish network conenction to other devices connected via ethernet.Solution: software switch configured as bellow.
config 'switch' 'eth0' option 'reset' '1' option 'enable_vlan' '1' config 'switch_vlan' option 'device' 'eth0' option 'vlan' '1' option 'ports' '0t 1 2 3 4' option 'vid' '1'
Note please there is no port n. 5.
It's
eth1
which you must configure as WAN interface. And example configuration. (my whole
/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 'switch' 'eth0' option 'reset' '1' option 'enable_vlan' '1' config 'switch_vlan' option 'device' 'eth0' option 'vlan' '1' option 'ports' '0t 1 2 3 4' option 'vid' '1' config 'interface' 'lan' option 'type' 'bridge' option 'proto' 'static' option 'netmask' '255.255.255.0' option 'ipaddr' '192.168.77.1' option 'gateway' '192.168.77.1' option 'broadcast' '192.168.77.255' option '_orig_ifname' 'eth0.1 wlan0' option '_orig_bridge' 'true' option 'dns' '192.168.77.1' option 'ifname' 'eth0.1' config 'interface' 'wan' option 'ifname' 'eth1' option 'proto' 'dhcp' option 'hostname' 'Jahrakal' config 'interface' 'vpn' option 'ifname' 'tap0' option 'proto' 'static' option 'ipaddr' '192.168.201.2' option 'netmask' '255.255.255.0' config 'route' option 'interface' 'vpn' option 'target' '172.17.1.0' option 'netmask' '255.255.255.0' option 'gateway' '192.168.201.1' option 'metric' '1'
Don't forget to configure your zones properly afterwards.
My device informations
system type : Atheros AR7241 rev 1 machine : TP-LINK TL-MR3420 processor : 0 cpu model : MIPS 24Kc V7.4 BogoMIPS : 266.24 wait instruction : yes microsecond timers : yes tlb_entries : 16 extra interrupt vector : yes hardware watchpoint : yes, count: 4, address/irw mask: [0x0000, 0x0220, 0x08c0, 0x0378] ASEs implemented : mips16 shadow register sets : 1 core : 0 VCED exceptions : not available VCEI exceptions : not available
date: Thu, 12 Jul 2012 07:19:03 +0000
link: CyberAsylum.eu/tp-link-mr3420-software-switch