Hello, version 4.5 and above no longer use mwan3, but kmwan, which are incompatible. When using kmwan, you should do the following:
- Change one of the LAN ports to a WAN port in the luci interface
- Add the information of your newly created WAN port to the configuration of /etc/config/kmwan
- Use /etc/init.d/kmwan restart to restart the kmwan service
Give a configuration as follows:
-
Change the eth1 port from a LAN port to a WAN port and name it wan2. At this time, the interface will be generated in /etc/config/network.

-
Add the information of the interface in /etc/config/kmwan
config member 'wan2'
option interface 'wan2'
option weight '1' #Interface weight, effective in load balancing mode
option track_mode 'force'
option addr_type '4'
option disabled '0'
option check '1'
list tracks 'ping,1.1.1.1'
list tracks 'ping,8.8.8.8'
list tracks 'ping,208.67.222.222'
list tracks 'ping,208.67.220.220'
option metric '1' #The interface priority is different from the priority of other interfaces
- Restart kmwan
/etc/init.d/kmwan restart
After you have done this, the multi-wan page will display the new WAN port information.
4.If you want to use mwan3, you need to disable kmwan. In this case, the network status information provided by the page will be inaccurate.
The command to disable kmwan is as follows:
uci set kmwan.global.enable=0
uci commit kmwan
/etc/init.d/kmwan stop
