PDA

View Full Version : If you subscribed 2 opennets got 2 WANs, running Ubuntu, don't have a Load-Balancing


Sammyboy RSS Feed
26-09-2018, 07:30 AM
An honorable member of the Coffee Shop Has Just Posted the Following:

Code:
#!/bin/bash## bal_local Load-balance internet connection over two local links## Version: 1.0.0 - Fri, Sep 26, 2008## Author: Niels Horn ## Modified: Motor Mafia for Ubuntu 18.04 16.Sept 2018## Set devices:##DEV1=`route -n | grep '^0.0.0.0'|awk '{print $NF}'|awk 'NR==1'`DEV2=`route -n | grep '^0.0.0.0'|awk '{print $NF}'|awk 'NR==2'` # Get IP addresses of our devices:ip1=`ifconfig $DEV1 | grep...

If you subscribed 2 opennets got 2 WANs, running Ubuntu, don't have a Load-Balancing Dual-Wan Router - use this bash script (https://www.sammyboy.com/threads/if-you-subscribed-2-opennets-got-2-wans-running-ubuntu-dont-have-a-load-balancing-dual-wan-router-use-this-bash-script.259400/)


Click here to view the whole thread at www.sammyboy.com (https://www.sammyboy.com/threads/if-you-subscribed-2-opennets-got-2-wans-running-ubuntu-dont-have-a-load-balancing-dual-wan-router-use-this-bash-script.259400/).