Mwan3 configuration not working

Hello, I need help, I'm trying to get mwan3 working on my installation, but I can't
I have put a metric of 10 on the wan, but I can't see it on the routing table "2"
I can only see the wanb with route metric 20

root@Routeur:~# ip route list table 2
default via 192.168.0.1 dev eth0.3 proto static metric 20
10.13.13.0/24 via 192.168.13.252 dev br-lan proto static
10.99.99.0/24 via 192.168.13.252 dev br-lan proto static
192.168.0.0/24 dev eth0.3 proto static scope link metric 20
192.168.13.0/24 dev br-lan proto kernel scope link src 192.168.13.254
192.168.31.0/24 dev eth0.2 proto static scope link metric 10
192.168.77.0/24 via 192.168.13.252 dev br-lan proto static

here is the configuration
thank you



root@Router:~# uci show network
network.globals=globals
network.lan=interface
network.lan.proto='static'
network.lan.netmask='255.255.255.0'
network.lan.ipaddr='192.168.13.254'
network.lan.broadcast='192.168.13.255'
network.lan.delegate='0'
network.lan.device='br-lan'
network.lan.dns='8.8.8.8'
network.wanb=interface
network.wanb.device='eth0.3'
network.wanb.proto='static'
network.wanb.ipaddr='192.168.0.2'
network.wanb.netmask='255.255.255.0'
network.wanb.gateway='192.168.0.1'
network.wanb.dns='8.8.8.8' '8.8.4.4'
network.wanb.metric='20'
network.wanb.delegate='0'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].vid='1'
network.@switch_vlan[0].ports='0t 2 4 5'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].vid='2'
network.@switch_vlan[1].ports='6t 1'
network.@route[0]=route
network.@route[0].interface='lan'
network.@route[0].netmask='255.255.255.0'
network.@route[0].target='192.168.77.0'
network.@route[0].gateway='192.168.13.252'
network.@route[1]=route
network.@route[1].interface='lan'
network.@route[1].target='10.99.99.0'
network.@route[1].netmask='255.255.255.0'
network.@route[1].gateway='192.168.13.252'
network.@route[2]=route
network.@route[2].interface='lan'
network.@route[2].target='10.13.13.0'
network.@route[2].netmask='255.255.255.0'
network.@route[2].gateway='192.168.13.252'
network.@device[0]=device
network.@device[0].name='br-lan'
network.@device[0].type='bridge'
network.@device[0].ports='eth1'
network.Wan=interface
network.Wan.proto='static'
network.Wan.ipaddr='192.168.31.1'
network.Wan.netmask='255.255.255.0'
network.Wan.gateway='192.168.31.2'
network.Wan.delegate='0'
network.Wan.device='eth0.2'
network.Wan.metric='10'
network.Wan.dns='8.8.8.8' '8.8.4.4'
network.@switch_vlan[2]=switch_vlan
network.@switch_vlan[2].device='switch0'
network.@switch_vlan[2].vlan='3'
network.@switch_vlan[2].vid='3'
network.@switch_vlan[2].ports='6t 3'
network.@device[1]=device
network.@device[1].name='eth0.2'
network.@device[1].type='8021q'
network.@device[1].ifname='eth0'
network.@device[1].vid='2'
network.@device[1].ipv6='0'
network.@device[2]=device
network.@device[2].name='eth0.3'
network.@device[2].type='8021q'
network.@device[2].ifname='eth0'
network.@device[2].vid='3'
network.@device[2].ipv6='0'

any help please :face_with_peeking_eye:

Interface names among other things are case sensitive. Use the name Wan everywhere, or (better) change it to wan in /etc/config/network

thank you very much pavelgl
it's working now :pray:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.