N
N
Nazar Mokrinsky2012-04-29 21:11:10
Computer networks
Nazar Mokrinsky, 2012-04-29 21:11:10

One internet connection via two 3G modems

Given:


  • two 3G modems with internet
  • Linux (or Windows, there are different machines) on a computer with modems
  • VDS with Ubuntu 11.04 on board
  • Desire to realize

Need:


Get faster internet through 2 simultaneously connected modem connections.

Shared vision for implementation


In search of a solution, I found many topics discussing load balancing between connections, and all sorts of problems when simply connecting 2 modems, leaving the balancing to the conscience of the OS, because the connections have different external addresses.

But here the question is not about balancing, but, in fact, a general increase in the speed of connecting to the Internet, including when working in one stream (downloading a large file, but not via a torrent).

Not just because I wrote about VDS, it has a connection speed ten times higher than the speed of both modems combined, and has a static external IP.

Ideally, something like this:
  • create a virtual adapter on a computer with modems
  • connect modems to a virtual adapter (bridge type)
  • the virtual adapter would be visible as the only internet source on the target machine
  • all requests are evenly distributed over two modems, and go to VDS
  • on VDS, requests from both modems are combined and sent through a single external address to the necessary services (websites, mail, online video, torrents - it doesn’t matter), transparently for the services themselves (thanks to a single external VDS address), at the speed of two modems
  • and vice versa in the same way


Are there any standard tools or third-party software for organizing such a configuration?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Maxim Klyushkov, 2012-04-29
@m_klyushkov

I'll be brief: no.

V
ValdikSS, 2012-04-29
@ValdikSS

And yes. I think it's feasible.
Because there is no bonding or teaming at level3, then you need to order a second ip for your vps, do some openvpn tap (or some other level2 vpn) one ip per interface, register routes through different whistles to two ips of your vps, connect both openvpn interfaces, and already do bonding on them. This is the first thing that came to mind before going to bed. Looks doable. And with load balancing, you can’t parallelize one tcp connection in any way.

L
loader, 2012-04-30
@loader

I did the same on 4 skylink modems about 4 years ago. Used PBR on pf and FreeBSD round robin queries went to modems. Works only in multithreaded file downloads, torrents

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question