kirkwood: enable switch on Linksys EA3500
[openwrt.git] / target / linux / kirkwood / base-files / etc / uci-defaults / 02_network
index 9fd6845..994d7e8 100644 (file)
@@ -55,6 +55,9 @@ case "$board" in
        ;;
 "ea3500")
        ucidef_set_interfaces_lan_wan "eth0" "eth1"
+       ucidef_add_switch "switch0" "1" "0"
+       add_port_based_vlan "switch0" "1" "0 1 2 3 5"
+       add_port_based_vlan "switch0" "2" "4 6"
        ;;
 "ea4500")
        ucidef_set_interfaces_lan_wan "eth0" "eth1"