Hello, I have started a new attempt with the current firmware 6.03 and a factory reset. Then I adjusted everything again to exclude errors.
Networks at the Wan port:
Default / Vlan 0 192.168.2.0/24
Vlan 208 172.19.208.0/24
The goal is to use the default gateway from Vlan 208 (172.19.208.0/24) for the Wan side via DHCP and to switch to LTE /GSM in case of network failure.
After adjusting the configuration I get an Ip on eth1.208 from the desired Vlan, but the default gateway is still Vlan 0 (192.168.2.1).
Settings:
cat /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 'eth0 tap0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
config interface 'wan'
option proto 'dhcp'
option ifname 'eth1'
option enabled '1'
config interface 'wan2'
option metric '10'
option ifname 'eth1.208'
option proto 'dhcp'
config interface 'wan3'
option proto 'dhcp'
option ifname 'wlan0'
option enabled '0'
option disabled '1'
option metric '20'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '0'
option vid '0'
option ports '0 2 3 4'
config interface 'ppp'
option enabled '1'
option backup '1'
option metric '10'
option pincode '1245'
option ifname 'wwan0'
option proto 'qmi2'
option service 'auto'
option device '/dev/cdc-wdm0'
option dialnumber '*99#'
option pppd_options 'noipdefault'
option pdptype '1'
option mtu '1500'
config interface 'ppp_usb'
#######
ifconfig
br-lan Link encap:Ethernet HWaddr 00:1E:42:15:F1:B8
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 00:1E:42:15:F1:B8
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:5
eth1 Link encap:Ethernet HWaddr 00:1E:42:15:F1:B9
inet addr:192.168.2.129 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::21e:42ff:fe15:f1b9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:4
eth1.208 Link encap:Ethernet HWaddr 00:1E:42:15:F1:B9
inet addr:172.19.208.129 Bcast:172.19.208.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
wlan0 Link encap:Ethernet HWaddr 00:1E:42:15:F1:BA
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
#######
Route
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth1
172.19.208.0 * 255.255.255.255 UH 10 0 0 eth1.208
172.19.208.0 * 255.255.255.0 U 10 0 0 eth1.208
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
192.168.2.1 * 255.255.255.255 UH 0 0 0 eth1
What do I do wrong?