Forums

Resolved
0 votes
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
Saturday, October 06 2012, 11:45 PM
Share this post:
Responses (5)
  • Accepted Answer

    Tuesday, January 13 2015, 01:22 AM - #Permalink
    Resolved
    0 votes
    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
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 12 2012, 11:16 PM - #Permalink
    Resolved
    0 votes
    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)
    The reply is currently minimized Show
  • Accepted Answer

    Friday, November 02 2012, 08:19 AM - #Permalink
    Resolved
    0 votes
    Hi Peter,

    Am looking forward to setting up this up as well, so am keenly following your post. Hopefully we can begin discussing this soon.

    Kind Regards,

    Mwamba
    The reply is currently minimized Show
  • Accepted Answer

    Friday, November 02 2012, 01:13 AM - #Permalink
    Resolved
    0 votes
    Enhancement 0000813 has been created in Bug Tracker.

    Peter
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 17 2012, 02:18 AM - #Permalink
    Resolved
    0 votes
    <BUMP> Still hoping for some discussion on this one...

    Peter
    The reply is currently minimized Show
Your Reply