On 27.11.2013 21:35, Matti Laakso wrote: >> There was no way to determine a working config, because >> the switch (ar8337) was not working previously. >> >> -ap132) >> +ap132 |\ >> +wlr8100) >> ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" >> ucidef_add_switch "switch0" "1" "1" >> ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5" >> ucidef_add_switch_vlan "switch0" "2" "0t 1" >> ;; >> >> -ap136-010 |\ >> -wlr8100) >> +ap136-010) >> ucidef_set_interfaces_lan_wan "eth0" "eth1" >> ucidef_add_switch "switch0" "1" "1" >> ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" >> -- >> 1.8.4.4 > > Are you sure that eth1 is not used? In Archer C7 (which uses the same SoC), > for example, the second interface is connected to switch port 6. It is then > connected to the same VLAN as port 1 (WAN). > > Matti Laakso >
I made an iperf test using all the yellow switch ports and another iperf between lan-wan port. Wan is working with the above settings. After all that the performance counters via "swconfig dev switch0 show" were all 0 for port 6 If the interfaces are connected shouldn't be there some numbers changing ? after ip addr add 10.0.0.1/32 dev eth1 ping 10.0.0.1 (thats working) swconfig dev switch0 show it's still showing 0 (as is /sys/devices/platform/ag71xx.1/net/eth1/statistics ) However there is an entry for port 6: pvid: 0 link: port:6 link:up speed:1000baseT full-duplex txflow rxflow it seems the same like port 0 If i use the default config of Archer C7 then WAN is not working and port 6 still shows 0 on all counters ps: Archer C7 uses the same SoC but has a different switch (AR8327)
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel