Showing posts with label network. Show all posts
Showing posts with label network. Show all posts

Wednesday, June 2, 2010

Combining two or more boradband internet connections

The other day my cousin asked me how to combine two internet connections and use both of them at the same time. As per my old knowledge, even if two ethernet cards are available on the PC, an application cannot directly use both the IPs, do load balancing, and pump up the overall speed. This is because a TCP cannot cannot be shared over two different IPs. Once a TCP connection is established, lets us say by a browser, it cannot switch to the other one on the same PC.

Having said to my cousin that this is not possible by default I explored and found some interesting stuff which proves me wrong (I am happy that I am wrong). I guess the technical word for the above is "Link Aggregation". This is also called LAN or NIC Teaming, multi-link trunking etc. Having said this, let me also say that you cannot achieve this with just having two ethernet cards and two internet connections. The LAN cards should be capable of providing this support and the OS should have corresponding drivers. I am not sure what kind of ethernet cards are capable of doing it. But read on...

There are ready made products to uncomplicate things for you, but they are a bit pricey as of now. They are called dual-wan routers. If I understand correctly, they do NAT translation internally and achieve load balancing and high-availability (failover support).

Links to related discussions: link1, link2, link3