News for hackers. Stuff that matters.
Re:Combine your Wi-Fi, Ethernet and 3G connections to increa... by mike-cardwell on Saturday November 30, 2013 @12:38PM (#6823783)
I'm pretty sure you can do this sort of load balancing on Linux without having to install any extra software, at the IP level, with the "ip rule" and "iptables" commands.

EDIT: Yep: https://home.regit.org/netfilter-en/links-load-balancing/

Re:Combine your Wi-Fi, Ethernet and 3G connections to increa... by anoncow16 on Saturday November 30, 2013 @01:34PM (#6823990)
TL;DR just buy a faster internet connection.

It is possible to do per-packet load sharing in Linux as the link above suggests. Both links need to be able to source traffic using the same IP address, i.e. you can't mix comcast and dsl. The way to get around this is to have an upstream router that will source your traffic from the same IP address:

client - routerD --upstream1---routerU -- the internets |-------upstream2-----|

The iptables statistic module with random mode seems to work better than nth packet.

Keep in mind PPS load sharing is not the most effective way to utilize links as retransmissions will slow things down. Now if you have two links to the same provider it's probably OK. You can even buy a bonded connection from most providers where they do all of this for you.

You are much better off doing flow based ECMP routing: http://lkml.indiana.edu/hypermail/linux/net/0207.2/0047.html

ECMP is only useful if you have a large number of clients. So you can do PPS load sharing, knowing full well that it's going to be slower than a single link some percentage of the time or just buy a faster connection.

TL;DR again, just buy a faster connection.

Re:Combine your Wi-Fi, Ethernet and 3G connections to increa... by shocks on Saturday November 30, 2013 @02:11PM (#6824151)
> just spend more money

Mmmhmm, that's the true hacker spirit right there...

Re:Combine your Wi-Fi, Ethernet and 3G connections to increa... by toomuchtodo on Saturday November 30, 2013 @08:21PM (#6825585)
Time > Money

I can always make more of one of those.

Re:Combine your Wi-Fi, Ethernet and 3G connections to increa... by anujanpan on Saturday November 30, 2013 @08:38PM (#6825628)
It costs one to make the other.
Re:Combine your Wi-Fi, Ethernet and 3G connections to increa... by toomuchtodo on Saturday November 30, 2013 @08:45PM (#6825652)
I guess it depends on how you want to spend your time.
Re:Combine your Wi-Fi, Ethernet and 3G connections to increa... by kvinnako on Monday December 02, 2013 @04:56PM (#6836848)
If everybody follows this advice, then the isp has to/will be increasing the price of the faster connection. And this is especially true in US, since there is virtually no real competition for isp.