ar71xx: adjust ew-dorin platform for LAN+WAN setup
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 02_network
index dac75ae..9a1a285 100755 (executable)
@@ -46,7 +46,8 @@ tl-wr1043nd-v2)
        ucidef_add_switch_vlan "switch0" "2" "5 6"
        ;;
 
-archer-c7)
+archer-c7 |\
+tl-wdr4900-v2)
        ucidef_set_interfaces_lan_wan "eth1" "eth0"
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "0 2 3 4 5"
@@ -310,9 +311,10 @@ wzr-hp-g450h)
        ;;
 
 ew-dorin)
-       ucidef_set_interface_lan "eth0"
+       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "switch0" "1" "1"
-       ucidef_add_switch_vlan "switch0" "1" "0 1 2 3"
+       ucidef_add_switch_vlan "switch0" "1" "0t 1 2"
+       ucidef_add_switch_vlan "switch0" "2" "0t 3"
        ;;
 
 ew-dorin-router)