Redundant Internet connections on consumer hardware with OpenWrt and Mwan3

Load Balancing is Standard

In configurations with multiple network interfaces, Mwan3's default operating mode is to perform load balancing. If you don't want Mwan3 to perform load balancing, replace the value balanced with WAN_WAN2 in the rule paragraphs at the end of the /etc/config/mwan3 file (Figure 5). The WAN_WAN2 setting means Mwan3 will only use WAN2 in cases when the first interface WAN1 is offline.

Figure 5: The rule entries in the Mwan3 configuration determine how Mwan3 routes packets.

Conclusion

If you think you would benefit from the load balancing and redundancy of a dual uplink configuration, or even if you just want to experiment with new tricks on an old home router, download OpenWrt and get started with the Mwan3 extension.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Tuning WLAN Routers

    Learn how to take control of your home routing device with OpenWrt.

  • Free Software Projects

    OpenWRT puts Linux on WLAN routers and helps users set up large-scale WLANs at home, and the FreeWRT derivative adds a professional touch. If you don’t have your own compile farm, the OpenSUSE build service may be just what you need. And we investigate the obstacles to new packages for Debian.

  • Gargoyle: Web Interface for Router Configuration

    The Gargoyle project is working on an alternative web interface for better router configuration. The project has now reached its first stable version 1.0.

  • Repurposed Router Projects

    If you have an old router lying around, you can put it to good use with a few easy projects and learn something along the way.

  • SSH Reverse Tunnels

    We’ll show you a practical project for monitoring home energy usage with SSH and OpenWrt.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News