Forums

Resolved
0 votes
I have 2 Internet connections, and one lan (eth0).

ppp0 on eth2 is my main connection, via FTTC modem

eth1 is connected via an external NAT wireless client on 192.168.50.1 to a complex wireless network (which I administer). The wireless network uses addresses 172.16.0.0/16, 10.251.0.0/16, 192.168.101.0/24, 192.168.102.0/24 and 192.168.103.0/24, and is eventually connected via a much slower ADSL connection to the Internet.

I would very much like to use ppp0 as my sole Internet connection while it is up, and only use eth1 if ppp0 goes down. However, I also want to be able to get to the 172.16.0.0/16, 10.251.0.0/16, 192.168.101.0/24, 192.168.102.0/24 and 192.168.103.0/24 addresses via eth1, even if ppp0 is up.

I have created /etc/sysconfig/network-scripts/route-eth1, containing:
172.16.0.0/16 via 192.168.50.1
10.251.0.0/16 via 192.168.50.1
192.168.101.0/24 via 192.168.50.1
192.168.102.0/24 via 192.168.50.1
192.168.103.0/24 via 192.168.50.1
My /etc/clearos/multiwan.conf has:
MULTIPATH="on"
MULTIPATH_WEIGHTS="ppp0|200 eth1|1"
but if I add
EXTIF_BACKUP="eth1"
I lose connectivity to the wireless network altogether.

Can anyone help me with this one please?
Monday, August 19 2013, 12:04 PM
Share this post:
Responses (4)
  • Accepted Answer

    Sunday, October 05 2014, 02:15 PM - #Permalink
    Resolved
    0 votes
    Hi Nikki

    This helped me with some issues I was having with Multiwan. Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 12 2013, 03:02 AM - #Permalink
    Resolved
    0 votes
    I've had a long-running problem with MultiWan as well that sounds similar to your problem, Nikki. ppp0 connection fails and it's like you tasered the box or something. All connections fail even on remaining WAN. Yes it is a bug - make that bugs actually. I've been in communication with one of the COS techs and I think they're getting it resolved.

    I need to do another test tomorrow of some beta updates. Fingers crossed...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 07 2013, 10:53 AM - #Permalink
    Resolved
    0 votes
    I have now tried manually editing /etc/clearos/multiwan.conf to say:
    MULTIPATH="on"
    MULTIPATH_WEIGHTS="eth1|0 ppp0|200"

    in the hope that it will use ppp0 for all traffic except stuff on the networks connected to eth1.

    What will happen if ppp0 goes down, I don't know. I expect manual intervention will be required. As multiwan failover with PPPoE doesn't actually work on ClearOS, I guess it doesn't matter.

    For details of how it fails to work, see http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,19/func,view/id,55598/
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 07 2013, 10:37 AM - #Permalink
    Resolved
    0 votes
    These forums aren't much good for getting answers, are they!!!

    I found a document explaining how to do this at

    http://www.clearcenter.com/support/documentation/clearos_guides/set_multiwan_to_backup_mode_instead_of_balance_mode

    I tried it last night, and it says it is working. I can also traceroute and ping any of the machines on the network connected to eth1 fine from the clearos machine.

    However, attempting to reach the machines on the network connected to eth1 from elsewhere on the LAN fails.

    I don't suppose I will get any replies, but at least someone searching for the answer to the same question will know what I have found out.
    The reply is currently minimized Show
Your Reply