Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Bonding - 2 ISP and failover

  1. #1
    Join Date
    Mar 2007
    Beans
    11

    Bonding - 2 ISP and failover

    I've got bonding to work with active-backup.

    Now I need to go the next step:

    Nic1 --> adsl ISP
    Nic2 --> cable ISP

    Now if the active/default nic / isp fails then the other one takes over, when the "active/default (preferred)" isp comes back up then it switches back. With the default route set properly.

    Any ideas on how to do this?

    TIA

  2. #2
    Join Date
    Feb 2008
    Beans
    791
    Distro
    Ubuntu

    Re: Bonding - 2 ISP and failover

    Some adsl modem routers have this capacity, check our 'draytek' they do a range of routers that have fallover options.
    Laters...
    Sol
    "Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere" User numbers: Ubuntu 23772 Linux 477911

  3. #3
    Join Date
    Mar 2007
    Beans
    11

    Re: Bonding - 2 ISP and failover

    Thanks for the reply Solitare.

    What I'm really after is an ISP / modem / transport device independent solution that is built on linux that will switch and restore failed ethernet 10/100/1000 connections.

  4. #4
    Join Date
    Aug 2005
    Beans
    6,024

    Re: Bonding - 2 ISP and failover

    Quote Originally Posted by limrick View Post
    I've got bonding to work with active-backup.

    Now I need to go the next step:

    Nic1 --> adsl ISP
    Nic2 --> cable ISP

    Now if the active/default nic / isp fails then the other one takes over, when the "active/default (preferred)" isp comes back up then it switches back. With the default route set properly.

    Any ideas on how to do this?

    TIA
    So you have dual routes to the internet? I do not see how this has anything to do with NIC bonding. You need to look at your routing.

  5. #5
    Join Date
    Mar 2007
    Beans
    11

    Re: Bonding - 2 ISP and failover

    the linux box would be acting as a nat to hosts behind it.
    so all the natted host would only see one route to the internet

    both the adsl and cable ISPs bonded in a active-backup configuration where, say the adsl is primary and the cable is backup.
    if the adsl isp goes down the cable isp would be the internet.
    when the adsl comes back up then the cable would go back to backup status and the adsl would be the active internet connection.

    nat host 1 -----\---------------------/--- adsl isp
    nat host 2 -----=|linux_nat_box|
    nat host 3 -----/---------------------\--- cable isp
    Last edited by limrick; August 11th, 2008 at 07:51 PM.

  6. #6
    Join Date
    Aug 2005
    Beans
    6,024

    Re: Bonding - 2 ISP and failover

    Does the adsl & cable networks reside in the same network? I mean do they both fall in the 192.168.0.0 (or whatever) network for example.

    You are not provinding enough info here to get a clear idea of what is going on.

  7. #7
    Join Date
    Mar 2007
    Beans
    11

    Re: Bonding - 2 ISP and failover

    both isp would be totally different carriers / different networks.
    Ie adsl - 24.x.x.x cable 52.x.x.x

  8. #8
    Join Date
    Aug 2005
    Beans
    6,024

    Re: Bonding - 2 ISP and failover

    Quote Originally Posted by limrick View Post
    both isp would be totally different carriers / different networks.
    Ie adsl - 24.x.x.x cable 52.x.x.x
    In that case bonding is definately not the way to go and was never designed for that purpose.

  9. #9
    Join Date
    Jun 2007
    Location
    Melbourne, AU
    Beans
    211
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Bonding - 2 ISP and failover

    So you have both internet connections going into one linux box which is natting the addresses on the inside network? what if one ISP has routing issues but niether link goes down?

    **EDIT**
    ....sorry, i forgot you wanted to bond the connections, that cant be done IP's on different subnets

    Bonding would imply some kind of load balancing which cant be done with different subnets. With one connection as Active and one as Passive you could acheive redundancy. but you still have the problem as mentioned in the begining of my post.
    Last edited by fwre01; August 11th, 2008 at 08:47 PM.
    Ubuntu 8.04 Hardy Heron User

  10. #10
    Join Date
    Mar 2007
    Beans
    11

    Re: Bonding - 2 ISP and failover

    Hmmm, starting to sound like this can be solved by routing.

    Not knowing much about routing,,,,, is that the solution to hardware or ISP failures and if so then how would the routing detect hardware failure and restore back to the 'default' ISP after restoration?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •