How to do a failsafe connection using TWO network links

Discussion in 'Linux Networking' started by bit-naughty, Jan 23, 2013.

  1. bit-naughty

    bit-naughty Guest

    I would like to connect TWO ISP links to my computer, and if one fails, let the other one take over - how do I do this?

    bit-naughty, Jan 23, 2013
    1. Advertisements

  2. bit-naughty

    unruh Guest

    You have your computer periodically test link 1 and when it fails, set
    up the routing tables to use link 2
    unruh, Jan 23, 2013
    1. Advertisements

  3. I suggest doing it at the router level: Cisco RV042 or similar.
    Dale Dellutri, Jan 23, 2013
  4. bit-naughty

    Whiskers Guest

    Use a dual-connection router. Business users often do this; any decent
    computer hardware retailer will be able to advise you.
    Whiskers, Jan 23, 2013
  5. bit-naughty

    Jorgen Grahn Guest

    If he has two network interfaces with potential internet access, and a
    decent OS, why should he buy external hardware? That's another piece
    of equipment to place somewhere, provide with power and manage using
    an unfamiliar interface.

    He doesn't say he's running a whole network, or that he has extreme

    The actual question: sorry. No doubt something in Linux handles this,
    but I don't know *what*. "Bonding" I'm familiar with, but that's of
    no use here.

    The "bring up interface #2 if #1 seems to have problems" suggestion
    posted by someone works -- but presumably he wants some kind of
    dynamic load distribution.

    Jorgen Grahn, Jan 24, 2013
  6. bit-naughty

    Joachim Gann Guest

    google: multipath routing
    Joachim Gann, Jan 24, 2013
  7. bit-naughty

    unruh Guest

    unruh, Jan 24, 2013
  8. bit-naughty

    bit-naughty Guest

    Yes, you're absolutely right.

    Yes, I do - I want the data transfer to a particular computer on the other side to happen through both interfaces, so I get the combined bandwidth.

    ....and "bring up interface 2"......did you mean by a shell script or something? That won't do, it's video and audio which will be cast over the net, it has to be *seamless*, there can't be any stutters in the video.

    Thanks a lot for your help Jorgen.
    bit-naughty, Jan 30, 2013
  9. bit-naughty

    Jorgen Grahn Guest

    Your news client generates broken/hard-to-read postings.
    Please fix it.
    If you want a single TCP connection to use both routes, that may be
    even harder. But check that technology ("something-routing") someone
    else mentioned a few days ago -- it's the best response you've got
    so far.

    It wasn't my idea; I was referring to someone else's reply.

    Jorgen Grahn, Jan 30, 2013
  10. bit-naughty

    unruh Guest

    That was also an additional requirement. That is bonding. You will not
    get it. It is far too hard for your computer tofigure out which packet
    goes wwhere and to recover from errors.
    Then it will never work. It takes a while to figure out that one route
    has gone down. There is no message that is sent saying "the wire has
    been cut" or "a fire has destroyed the router on this path". It must
    wait to see what is happening and only after some timeout can it try the
    other path. That will drop video. Install a dedicated line between the
    two sites, but that will not prevent a truch or a backhoe from severing
    the link.
    unruh, Jan 30, 2013
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.