OpenWRT LoadBalancing - LTE backup internet line multiwan

Diese Seite gibt es auch in Deutsch

With OpenWrt, it is possible to combine two Internet connections, which not only increases availability, but also bandwidth: In the test setup, the download and upload rates added up, the Internet connection thus becomes twice as fast and should one connection fail: the Internet simply continues to function over the remaining connection.

OpenWrt is available for a variety of routers as an alternative operating system: Alternative Router Firmware : OpenWrt

I tested the Load Balancing feature with the already existing WAN cable connection and a mobile WLAN router (hotspot).

Connecting to the hotspot

The router additionally connects as a client to the other WLAN router (hotspot). To separate the WLAN path to the hotspot from the other WLAN devices, it is advantageous if the router has several WLAN modules installed.

So for the setup I used a free WLAN module:

“Network”, “Wireless” under Wireless Overview on the desired WLAN module and on “Scan”.

Join Network

The name used under “Name of the network”, here “WWAN”, will be used later as “Interface” name.

LoadBalancing Package

For the actual LoadBalancing function the package multiwan is required: luci-app-mwan3

see also openwrt.org/docs/guide-user/network/wan/multiwan/mwan3

After installation, the metric should be set to the same value for all WAN interfaces used for the Internet. If the same metric is used, the bandwidth is bundled: active / active.

You can find the setting under “Interfaces”, then for “WAN” and “WWAN” under “Advanced Settings”, Use gateway metric to 10.

Then under “Network”, “Load Balancing” I removed the interfaces with “Disabled” and created an additional interface:

In the settings of the interfaces I used different DNS servers as “Tracking hostname or IP address” and selected “Check link quality”.

For members, create 2 members as follows and assign the interfaces:

Now we need a policy for the members:

at this point the predefined policy “balanced” is sufficient, in it store the previously created members ...

positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Publication: 2022-05-26 from Bernhard 🔔


Top articles in this section


Ping with Port | cmd vs. PowerShell: Test-Netconnection
As is well known, the tool ping can be used to test the access to a certain network device and its response time. Not all devices will respond to a ping, but they may respond to a particular Tcp-Port if a particular network service is provided through it. Windows PowerShell allows you to test a specific port using Windows board tools. The psping tool can also measure the response time to a specific port.

OpenWRT hardware recommendation - available devices 2022
OpenWRT provides a uniform and up-to-date software for different network devices like routers or access points and delivers countless additional setting options, software packages and functions. This makes it possible to combine new and old devices from different manufacturers and, among other things, to use low-cost hardware in a common WiFi, see: Setting up a home network: Extending LAN and WLAN | Improving.

List all IP addresses in the network even if the firewall is enabled
If you want to get a quick overview of all active devices in a network, you can do this with network discovery, commands in the command prompt, in PowerShell or with special IP scanners. The PowerShell commands presented at the beginning of this post give a quick overview of all devices on the local network and may make special programs for scanning the network unnecessary. If you would like to see the commands in action, you can do so in my YouTube video. For expanding your own network, see als...

Questions / Comments


By continuing to browse the site, you agree to our use of cookies. More Details