| Both sides previous revision Previous revision Next revision | Previous revision |
| docs:user-guide:services:multiwan [2018/02/17 21:49] – ↷ Page moved from doc:uci:multiwan to docs:user-guide:services:multiwan bobafetthotmail | docs:guide-user:network:wan:multiwan:multiwan_package [2022/09/25 17:43] (current) – jamesmacwhite |
|---|
| ====== Multiwan ====== | ====== Multiwan ====== |
| The //multiwan// package is an agent script that makes Multi-WAN configuration simple, easy to use and manageable. It comes complete with load balancing, failover and an easy to manage traffic ruleset. The uci configuration file ''/etc/config/multiwan'' is provided as part of the //multiwan// package. | |
| |
| | <WRAP center alert 100%> |
| | **multiwan is old and no longer maintained, you should use [[docs/guide-user/network/wan/multiwan/mwan3]] instead.** |
| | </WRAP> |
| |
| **multiwan is old and not so maintained, it is better to use mwan3: https://wiki.openwrt.org/doc/howto/mwan3** | The //multiwan// package is an agent script that makes Multi-WAN configuration simple, easy to use and manageable. It comes complete with load balancing, failover and an easy to manage traffic ruleset. The uci configuration file ''/etc/config/multiwan'' is provided as part of the //multiwan// package. |
| |
| Unlike "channel bonding" or "link aggregation" which routes individual ethernet frames, multiwan routes individual sessions over the least busy WAN interface and that session continues to use the same WAN until terminated. | Unlike "channel bonding" or "link aggregation" which routes individual ethernet frames, multiwan routes individual sessions over the least busy WAN interface and that session continues to use the same WAN until terminated. |
| |
| ===== Installation ===== | ===== Installation ===== |
| |
| ==== With LuCI interface ==== | ==== With LuCI interface ==== |
| Using the LuCI GUI navigate to: | Using the LuCI GUI navigate to: |
| ===== Configuration ===== | ===== Configuration ===== |
| ==== With Command Line Interface (CLI) ==== | ==== With Command Line Interface (CLI) ==== |
| |
| === General options === | === General options === |
| <code> | <code> |
| </code> | </code> |
| |
| * Load Balancing using //netfilter// is referred to as the "Fast Balancer (Best Distribution)" | * Load Balancing using //netfilter// is referred to as the "Fast Balancer (Best Distribution)" |
| | * Load Balancing using //iproute2// is referred to as "Load Balancer (Best Compatibility)" |
| * Load Balancing using //iproute2// is referred to as "Load Balancer (Best Compatibility)" | * wanrule for the "Fast Balancer" is now ''fastbalancer'' |
| | * wanrule for the "Load Balancer" is still just ''balancer'' |
| * wanrule for the "Fast Balancer" is now ''fastbalancer'' | |
| | |
| * wanrule for the "Load Balancer" is still just ''balancer'' | |
| | |
| |
| It seems that ''fastbalancer'' is superior to ''balancer'' in terms of stability but you will need to try each setting to see which works best for you. | It seems that ''fastbalancer'' is superior to ''balancer'' in terms of stability but you will need to try each setting to see which works best for you. |
| that's it! | that's it! |
| |
| ==== 3. Test.==== | ==== 3. Test ==== |
| - Status > Interfaces should show traffic going through both interfaces. | - Status > Interfaces should show traffic going through both interfaces. |
| - route distribution | - route distribution\\ <code> |
| <code> | |
| root@culiat-wg:~# ip route show table 123 | root@culiat-wg:~# ip route show table 123 |
| 192.168.2.0/24 dev eth0.2 proto kernel scope link src 192.168.2.214 | 192.168.2.0/24 dev eth0.2 proto kernel scope link src 192.168.2.214 |