Hi,
I have had a good search of the forums and are unable to find a solution to my problem. Hopefully the experts here can help! (I'm certainly not one).
- I have a GL.iNet GL-MT6000 on OpenWrt 24.10.0.
- I have two internet connections that I wish to load balance with mwan3.
- I have configured the first lan port on the router to be a second wan by removing it from the 'br-lan' dsa.
- Both wan ports have their own unique metric.
- Both wan's are DHCP.
My issue is that mwan3 when monitored with bmon doesn't load balance. It will saturate one wan and leave the other idle.
- With both modems plugged in, if I unplug one modem, mwan3 it will fail over and use the alternative connection, this works for both wan ports, which is great.
- If both modems are plugged in at the same time, and I test outbound connectivity of one wan port, it will be up and working, but the other will be down. This is really strange given the prior test proving that each wan port can work, so long as the other isn't plugged in.
I feel theres something I've missed thats likely obvious to a lot of people here. It's my first time playing with mwan3, so any help would be greatly appreciated!
Thanks so much.
/etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdc2:2e56:5346::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'lan5'
config device
option name 'lan1'
option macaddr 'removed'
config device
option name 'lan2'
option macaddr 'removed'
config device
option name 'lan3'
option macaddr 'removed'
config device
option name 'lan4'
option macaddr 'removed'
config device
option name 'lan5'
option macaddr 'removed'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '10.0.0.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option name 'eth1'
option macaddr 'removed'
config interface 'wan'
option device 'eth1'
option proto 'dhcp'
option peerdns '0'
list dns '1.1.1.1'
option metric '1'
config interface 'wan6'
option device 'eth1'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
option norelease '1'
option metric '3'
config interface 'modem'
option proto 'static'
option device 'eth1'
option ipaddr '192.168.1.10'
option netmask '255.255.255.0'
option delegate '0'
config interface 'modem2'
option proto 'static'
option device 'lan1'
option ipaddr '192.168.0.10'
option netmask '255.255.255.0'
config interface 'wg0'
removed
config device
option name 'wg0'
option mtu '1280'
config wireguard_wg0
removed
config wireguard_wg0
removed
config wireguard_wg0
removed
config wireguard_wg0
removed
config interface 'wanb'
option proto 'dhcp'
option device 'lan1'
option peerdns '0'
list dns '1.1.1.1'
option metric '2'
config interface 'wanb6'
option proto 'dhcpv6'
option device 'lan1'
option reqaddress 'try'
option reqprefix 'auto'
option norelease '1'
option metric '4'
/etc/config/firewall
config defaults
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option mtu_fix '1'
list network 'lan'
list network 'wg0'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
list network 'modem'
list network 'modem2'
list network 'wan'
list network 'wan6'
list network 'wanb'
list network 'wanb6'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config forwarding
option src 'lan'
option dest 'wan'
config rule 'wg'
option name 'Allow-wg0'
option src 'wan'
option dest_port '2000'
option proto 'udp'
option target 'ACCEPT'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'Allow-443'
option src 'wan'
option src_dport '443'
option dest_port '443'
option dest_ip '10.0.0.10'