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

Thread: Aggregate multiple ISPs

  1. #1
    Join Date
    Aug 2009
    Beans
    3

    Question Aggregate multiple ISPs

    Hi,

    I want to aggregate (not load-balance) multiples (in my case 3) xDSL lines (all differents ISPs) on my linux router.

    PC Linux Router (in our office) with 4 NICs cards :
    - eth0 (LAN : 192.168.0.0/24) connected to a simple switch
    - eth1 connected to ISP1 (15 Mbps)
    - eth2 connected to ISP2 (15 Mbps)
    - eth3 connected to ISP3 (30 Mbps)

    eth1, eth2 and eth3 have their own IP & Gateway; all different.

    I know that I can load-balance using iproute or iptables, but this is not what I'm looking for.
    I also know that I can use MLPPP, but the ISPs need to support it, so it's not a solution for me.

    What I'm looking for is aggregate the links of our 3 ISPs (15+15+30= 60 Mbps !!) through a server in a datacenter (with a big Internet pipe : >100 Mbps). The way to achieve this would be to :
    1. Make 3 VPN connections (1 for each ISP) from our Linux router to our Datacenter' Server
    2. Bond these 3 VPN connection using "Linux Ethernet Bonding" (ifenslave package), resulting in a new bond0 interface
    3. Configure our linux router to use bond0 to access Internet (create a new route ?)
    4. On the Datacenter's server, configure iptables (MASQUERADING ?) in order to route all traffic coming from the VPNs connections to Internet


    The theory seems to be good, but I don't have enough Linux expertise to achieve this, does anyone have already set-up something like this ?
    Any idea/tutorial would be appreciated.

    Right now, I'm stuck with vtun and creating a VPN for each iface. I can create 3 VPN easily (tap0, tap1, tap2), but I can't figure out how to force tap0 to use eth0, tap1 to use eth1, and tap2 to use eth2. Because, all 3 tunnels passes through the default route on eth1 (ISP1), instead of allocating 1 tunnel to 1 iface (ISP).

    References :
    1. ADSL Bonding – Howto and Review
    2. Multiple Connections to the Internet
    3. Routing for multiple uplinks/providers
    4. Somebody with a similar problem on a mailing-list, but no answer
    Last edited by Ellixis; August 12th, 2009 at 03:27 PM. Reason: add a reference link

  2. #2
    Join Date
    Apr 2007
    Beans
    11
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Aggregate multiple ISPs

    BUMP!

    I've spent upwards of 10 hours trying to get an answer to this exact problem. Apparently people on the internet think aggregation = LOAD BALANCE LOLOLOL.

    Somebody help.

  3. #3
    Join Date
    Feb 2008
    Location
    In a bucket, in Dublin
    Beans
    458
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Aggregate multiple ISPs

    Quote Originally Posted by tamird View Post
    BUMP!

    I've spent upwards of 10 hours trying to get an answer to this exact problem. Apparently people on the internet think aggregation = LOAD BALANCE LOLOLOL.

    Somebody help.
    No, people think what you're trying to do is COMPLICATED, sounds brilliant but poor Ubuntu users wouldn't necessarily know (I speak for myself of course only). Have you tried other networking forums?

    Sorry for not much help but let us know how you're getting on, sounds interesting. Lucky is the person that has a 60Mbps (eventually) internet connection.

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

    Re: Aggregate multiple ISPs

    Hi Ellixis, Having had a quick look at this, the biggest problem i can see is IP space from different ISP's. Aggregating those 3 VPNs into some bond0 interface will necessitate the use of a public address from one of your ISP's - of which access into that one ISP cloud is then rate limited - I assume they are all different providers?
    Ubuntu 8.04 Hardy Heron User

  5. #5
    Join Date
    Mar 2009
    Beans
    17

    Re: Aggregate multiple ISPs

    hey
    have you found a solution ?
    i wanna do the same here

  6. #6
    Join Date
    Dec 2009
    Beans
    1

    Re: Aggregate multiple ISPs

    It's easy enough to have multiple default routes, one needs to use iproute2 to set up multiple routing tables. The linux advanced routing howto documents it reasonably, but can be tricky if you don't have a good understanding of TCP/IP.

    I can assist further on a paid basis if you want to head down that path (email me or reply here)

    Regards,
    Ben.

  7. #7
    Join Date
    Dec 2009
    Beans
    1

    Re: Aggregate multiple ISPs

    Once more, I come back do drop off a quick update - and brevity increases with each response ;-0.

    German Thread mentioning a howto which prescribes in detail a 2.6 vtun bonding solution (he uses 6 dsl lines) :

    http://forum.golem.de/read.php?16040,865522,1581227

    Actual step-by-step tutorial in German :

    http://www.rsm-connect.net/downloads.../tutorial.html

    Google Translated to US English :

    http://tinyurl.com/VTunBondFromGerman

    Enjoy. As requested earlier - please post feedback after having a pop (I will so the same when I have time).
    Last edited by mrgoll; February 2nd, 2010 at 06:01 AM. Reason: update some more relevant facts - remove some conjecture & bunk

  8. #8
    Join Date
    Feb 2010
    Beans
    1

    Smile Re: Aggregate multiple ISPs

    Howdy all,
    I've been looking into this and similar problems for a while. To be clear I want to restate what the "this" is:

    1) Multiple low cost ISPs providing access to a single facility
    2) The ISPs come with their own network address space and don't interoperate directly.
    3) None of the ISPs will support BGP.
    4) I want to aggregate all of the bandwidth
    5) I want to perform transparent failover when possible if any of the ISPs stop routing for some reason.

    Here's what I found:
    The best open source treatment of the problem I had seen was actually done with freeBSD 4.x. Nothing says you couldn't use similar software on Ubuntu to duplicate the results. Take a look:

    http://www.michaelbrumm.com/how-to-a...bandwidth.html

    This was the most comprehensive solution for the open source community I could find. I did find a lot of "Hey check out my hack!" stuff that was half fast treatment of this very complex problem.

    I also found several hardware, proprietary, solutions for dealing with this problem. This is useful for a couple of reasons:
    1) It tells me there's a market for this
    2) It gives me an understanding of how they are treating the problem so that parallel solutions can be sought in the linux world.
    3) It lets me know the ceiling of money (read effort) involved in addressing the challange. (IE: if I was only willing to spend X $ I wouldn't have to spend Y hours). Anyway, take a look at these:

    The most promising one is this: http://www.internetloadbalancers.com/
    Click on network load balancing on the left.
    Barracuda had a similar but seemingly less capable product.

    http://www.barracudanetworks.com/ns/...k_overview.php


    Just my research so far- LS

    Tags: bandwidth aggregation, multiple ISPs, linux, aggregate bandwidth, no BGP

  9. #9
    Join Date
    May 2010
    Beans
    3

    Re: Aggregate multiple ISPs

    There is a product that will BOND multiple ISP's and it dosn't require any co-opperation from the ISP's. It can do it with the same ISP or different ISP's.
    www.frdmnetworks.com is the site. I spoke to a guy there called Jared and he was full of information and had a great knowledge of the ability to bond and how it compared to a load balancer. I had a great discussion with him about this.

    I would sugest contacting them.

    They are internationaly around the globe.

  10. #10
    Join Date
    Mar 2010
    Beans
    2

    Re: Aggregate multiple ISPs

    hey ppl. i just stumbled across your discussion.

    i have achieved this with vtun bonded vpn's using the opensource appliance zeroshell.

    i have detailed my approach in a howto here:

    www.ieee754.org

    naturally its point to point - but it address' the OP's needs if i have understood correctly.

    i have over 10 links aggregated using this technique. for optimal performance all links need to exhibit similar latency and contention - otherwise, in my experience, a significant and adverse affect is imposed on performance.

    regards

    ieee754

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •