I have ClearOS in gateway mode and have available one very high-speed and robust WAN connection on eth0 and one that is much slower and for emergencies only on eth1 (currently disabled). An emergency would be a failure of the main WAN connection where I am better running degraded on the slower connection than not at all but this currently requires manual failover. I do not see how this can be accomplished automatically with the current weighted load balancing setup. My situation requires that no traffic (well, maybe a tiny amount of diagnostic traffic to verify up down status) go over the standby WAN connection unless and until the primary fails. And then it should revert as soon as the primary is restored. In a perfect world there would be a Mode setting with options for load balance or failover. Load balance would be as today with parallel use of multiple interfaces balanced per the user specifed weightings. Failover would always use the highest weighted working interface exclusively rather than load balancing - only a single interface would be used at any time.
Peter
Peter
In Multiwan
Share this post:
Responses (5)
-
Accepted Answer
Resurrecting this one as #813 is still open in BugTracker.
Now that I am dependent upon this feature, and using the config file approach to implement WAN failover, I do still request the GUI changes be made to manual file editing and possible confusion since the GUI does not clearly show the failover configuration.
For others looking to implement Multi-WAN Failover now, please reference the following:
http://www.clearcenter.com/support/documentation/clearos_guides/set_multiwan_to_backup_mode_instead_of_balance_mode
Peter -
Accepted Answer
Peter Baldwin has kindly provided instructions, in response to my submitted enhancement request in Bug Tracker, on how to manually configure WAN failover through configuration file changes. I am pasting these instructions below for others who may stumble upon this thread.
This has been implemented at the configuration file level. On ClearOS 6, add EXTIF_BACKUP parameter in /etc/clearos/multiwan.conf -- list any interfaces that should be used as failover only, for example:
EXTIF_BACKUP="eth2 eth3"
Restart the syswatch service:
# service syswatch restart
And feel free to watch things in action by tailing the /var/log/syswatch log file:
# tail -f /var/log/syswatch
I'm not sure if this has been tested in ClearOS 6, but it certainly works well in ClearOS 5. It's the same procedure except the configuration file is /etc/firewall instead of /etc/clearos/multiwan.conf.
Peter (Finch) -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »