Hi,
I recently migrated from OpenWRT 19.07 to 22.03 and MWAN is not working anymore. I had to reinstall and reconfigure manually because of the DSA change.
I have two wan interfaces wan (cable internet) and wan2 (LTE backup) and two openvpn interfaces tun0 (through wan) and tun1 (through wan2). A month ago I also created a wireguard interface which has worked well under 19.07.
First I got error 15 for some interfaces, after some fiddling around the errors are gone. But none of the interfaces are tracking, and the policies are not shown either.
Any help is appreciated!
Interface status:
interface wan is offline and tracking is down
interface wan2 is offline and tracking is down
interface tun0 is offline and tracking is down
interface tun1 is offline and tracking is down
interface wireguard is offline and tracking is down
Current ipv4 policies:
Current ipv6 policies:
Directly connected ipv4 networks:
Directly connected ipv6 networks:
Active ipv4 user rules:
Active ipv6 user rules:
Here is the troubleshooting output:
Software-Version
-------------------------------------------------
OpenWrt - 22.03.0
Output of "ip -4 a show"
-------------------------------------------------
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
6: lan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
inet 192.168.1.20/24 brd 192.168.1.255 scope global lan1
valid_lft forever preferred_lft forever
7: wan@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
inet 213.47.14.155/24 brd 213.47.14.255 scope global wan
valid_lft forever preferred_lft forever
10: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
inet 192.168.123.1/24 brd 192.168.123.255 scope global br-lan
valid_lft forever preferred_lft forever
14: tun1: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500
inet 10.18.0.6/16 scope global tun1
valid_lft forever preferred_lft forever
16: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500
inet 10.36.0.7/16 scope global tun0
valid_lft forever preferred_lft forever
18: wireguard: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
inet 10.2.0.2/32 brd 255.255.255.255 scope global wireguard
valid_lft forever preferred_lft forever
Output of "ip -4 route show"
-------------------------------------------------
default via 213.47.14.1 dev wan proto static src 213.47.14.55 metric 10
default via 192.168.1.1 dev lan1 proto static metric 20
default dev wireguard proto static scope link metric 25
default via 10.36.0.1 dev tun0 metric 55
default via 10.18.0.1 dev tun1 metric 65
10.2.0.2 dev wireguard proto static scope link metric 25
10.18.0.0/16 dev tun1 proto kernel scope link src 10.18.0.6
10.36.0.0/16 dev tun0 proto kernel scope link src 10.36.0.7
185.159.158.56 via 192.168.1.1 dev lan1 proto static metric 20
185.159.158.106 via 192.168.1.1 dev lan1 proto static metric 20
185.159.158.139 via 192.168.1.1 dev lan1 proto static metric 20
192.168.1.0/24 dev lan1 proto static scope link metric 20
192.168.123.0/24 dev br-lan proto kernel scope link src 192.168.123.1
213.47.14.0/24 dev wan proto static scope link metric 10
Output of "ip -4 rule show"
-------------------------------------------------
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
Output of "ip -4 route list table 1-250"
-------------------------------------------------
No data found
Output of "iptables -t mangle -w -L -v -n"
-------------------------------------------------
Chain PREROUTING (policy ACCEPT 101K packets, 87M bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 18470 packets, 4636K bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 82526 packets, 83M bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 16913 packets, 17M bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 99430 packets, 100M bytes)
pkts bytes target prot opt in out source destination