I’m having a problem with my mwan3 setup - probably since the 3.11 update but as I didn’t get an upgrade notification I’m not 100% sure.
I have two connections, PPPOE via VDSL Modem and Cable via Provider-Router (UM ConnectBox).
This was working fine for 1+ years, I’ve set up some rules based on source/dest IP, TCP/UDP ports etc.
Now both Interfaces show as offline, and therefore the rules do not work (traffic is using only wan Interface).
I’m not sure if the error message regarding “local” was there before as I usually did my configuration via Luci.
root@turris:~# mwan3 status
/lib/mwan3/mwan3.sh: line 3: local: can only be used in a function
Interface status:
interface wan2 is offline and tracking is down
interface wan 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:
root@turris:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 62.155.246.44 0.0.0.0 UG 0 0 0 pppoe-wan2
10.85.3.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
10.85.4.0 10.85.4.2 255.255.255.0 UG 0 0 0 tun_turris
10.85.4.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun_turris
62.155.246.44 0.0.0.0 255.255.255.255 UH 0 0 0 pppoe-wan2
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth1
192.168.21.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.9
root@turris:~# ping -4 -c 3 -W 1 -I eth1 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=122 time=23.540 ms
64 bytes from 8.8.8.8: seq=1 ttl=122 time=13.103 ms
64 bytes from 8.8.8.8: seq=2 ttl=122 time=17.934 ms
— 8.8.8.8 ping statistics —
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 13.103/18.192/23.540 ms
root@turris:~# ping -4 -c 3 -W 1 -I pppoe-wan2 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=125 time=19.149 ms
64 bytes from 8.8.8.8: seq=1 ttl=125 time=19.291 ms
64 bytes from 8.8.8.8: seq=2 ttl=125 time=19.239 ms
— 8.8.8.8 ping statistics —
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 19.149/19.226/19.291 ms
root@turris:~# cat /etc/turris-version
3.11