Broadband service in India is much less reliable than their counterparts in USA.寬帶服務在印度是少得多可靠,比他們的同行在美國。 While in USA, I used Pacific Bell 1.5 Mbps connection for 3 years without a single minute of downtime or any other problems.而在美國,我用太平洋貝爾1.5 Mbps的連線為三年,沒有一個單一分鐘的停機時間或任何其他問題。 This was back in 1998-2001.這是早在1998年至2001年。 In India unlimited (marginally @ 256 Kbps - bits per second) broadband service came much later.在印度無限(輕微@ 256 kbps的-比特每秒)的寬帶服務來晚得多。 There are three major players in the market:主要有三個球員在市場上: BSNL DataOne Broadband BSNL公司dataone寬帶 (unique in providing zero customer support), (獨特的在提供零客戶支持) , Tata Indicom Broadband Tata Indicom寬帶 ( personal experience so far個人的經驗,到目前為止, ), ) , Airtel Broadband愛特爾寬帶 , all ADSL technology based. ,所有ADSL技術為基礎的。 I also used cable Broadband (read narrowband) from我也使用有線寬頻(閱讀窄頻)由 Alliance Broadband寬帶聯盟 ( more更多 ). ) 。 However even with such low end services (in terms of unlimited bandwidth & reliability) you can forge a reliable and yet affordable broadband solution for your business or home (gaming & MMORPG?).不過,即使這樣低的高端服務(在條款無限的帶寬和可靠性) ,您可以建立一個可靠的,但負擔得起的寬帶解決方案為您的企業或家中(遊戲& mmorpg ? ) 。 The solution is simple.解決辦法很簡單。

Update: 更新:
Please read:請參閱: How To: Load Balancing & Failover With Dual/ Multi WAN / ADSL / Cable Connections on Linux如何:負載平衡與容錯移轉與雙/多灣/ ADSL的/電纜連接在Linux上 for the simplest solution.為最簡單的解決方法。 Please read below to gain a better perspective on the possibilities.請閱讀以下,以爭取一個更好的角度對的可能性。

—Original post below— -原職以下
First you need to get broadband service from multiple providers, preferably at identical connection speed.您需要先得到寬頻服務是從多家供應商,最好是在相同的連線速度。 I am currently using BSNL DataOne broadband unlimited plus connection and Tata Indicom postpaid unlimited broadband connection.我目前使用的BSNL公司dataone寬帶無限加連接和Tata Indicom公司後繳無限的寬帶連接。 I am planning to add Alliance Broadband soon to the mix.我規劃新增寬帶聯盟盡快向混合。 So now you have 2-3 redundant connections to the internet.所以現在你有2-3冗餘連接到互聯網。 How do you leverage their full bandwidth and increase your reliability?你怎麼利用他們的全帶寬,並提高您的可靠性呢?

The key objective is to uniformly route your internet traffic (incoming & outgoing) traffic through all the available connections and to transparently remove providers with connection problems and then add them again when they are able to connect.關鍵的目標是一致的路線您的網際網路交通(傳入&離任)交通通過所有可用的連接和透明的刪除與供應商方面的問題,然後添加他們再次當他們能夠連接。 This will ensure transparent fail-over and hence redundancy to your internet connectivity.這將確保透明,不能超過,因此,冗餘到您的網際網路連線。 There are broadly two solutions.大致有兩種解決方案。

The那個 first solution第一個解決辦法 is to add static routing information in your Firewall / Router machine to route the traffic through multiple connections.是添加靜態路由信息在您的防火牆/路由器機幹線的交通,通過多個連接。 However as route information is cached in Linux, when a connection goes down it may take sometime for connection to a particular site to be restored.然而,作為路線資料是緩存在Linux ,當一個連接下降,可能需要一段時間,為連接到特定網站上得到恢復。

As the route information is cached you cannot use this scheme to speed up connection to any particular site.作為路線資料是緩存,您不能使用這一計劃,以加快連接到任何特定的網站。 However your total broadband throughput will be doubled at maximum capacity.不過,您總的寬帶吞吐量將翻一番,在最高容量。 It is somewhat like the Core 2 Duo machines where your speed isn’t doubled but multiple threads in a multi-threaded application can fully leverage both the cpu’s.這是有點像Core 2 Duo的機器所在的速度是不增加一倍,但多線程在一個多線程應用能夠充分利用雙方的CPU的。 So while you will not gain in downloading speed using download accelerators when it opens multiple connections to the same site, its speed will effectively double when mirror urls are used for downloading the same content in chunks.因此,雖然你不會得到在下載使用高速下載加速器啟用時,多個連接到相同的網站,它的速度將有效地雙重當一面鏡子,網址是用於下載相同的內容在大塊。 The load balancing works but is less than optimum.負載平衡工程,但不到最佳。

To achieve proper load balancing you should apply要達到適當的負載平衡,您應該申請 Anastasov’s patches anastasov的補丁 to the Linux kernel.以Linux內核。 These patches extend the routing functionality in Linux to support static routes (defined by user), new way to use the alternative routes, the reverse path protection (rp_filter), the NAT processing to use correctly the routing when multiple gateways are used.這些修補程序延長路由功能在Linux支持靜態路由(所界定的用戶) ,新方法,可使用替代路線,反向路徑保護( rp_filter ) , NAT的處理使用正確的路由當多個網關使用。 You can read the user guide on configuring Linux with multiple gateway connection (您可以閱讀用戶指南對Linux的配置與多個網關的連接( here這裡 ) and dead gateway detection ( )和死網關檢測( here這裡 ). ) 。

Along with NAT with this solution all your machines will have fully transparent access to the internet.隨著NAT的這種解決方案的所有您的機器將有完全透明的接入到互聯網。

The second solution would be to use a firewall or proxy server which can effectively route between multiple connections.第二個解決辦法將是利用防火牆或代理服務器可以有效的路線之間的多個連接。 I am yet to explore this space but one software I would suggest you look into is我還沒有探討這個空間,但一個軟件,我建議你看看到是 Squid proxy server魷魚代理服務器 . Squid can also be configured to provide transparent connection to the internet (requires no configuration on your browser) using it as魷魚也可以配置為提供透明的網際網路連線(無需配置在您的瀏覽器)使用它作為 interception proxy截取代理 . Additionally squid provides caching for faster access and allows you to control /monitor access to pornographic and other sites.此外魷魚提供緩存為更快地訪問,並允許您控制/監控進入色情及其他網站。 I am sure there is a way to configure squid for multiple connections.我相信有一種方法來配置魷魚為多個連接。 In case there isn’ta simple way, it would take any experienced developer few hours to write such a load balancing proxy.在案件卻沒有簡單的方法,它將採取任何有經驗的開發幾個小時寫這樣一個負載平衡的代理。 Personally I would write mine in Java if I don’t find any good solution on the net.我個人寫礦井在Java如果我沒有找到任何好的解決辦法就淨。

The third solution would be to use different machines for connection and then use a browser configuration file (pac file) to redirect the connection to a chosen connection using a random or weighted algorithm.第三個解決辦法將是使用不同的機器連接,然後使用瀏覽器配置文件( PAC文件)重定向連接到選擇的連接使用一個隨機或加權算法。 Both Internet Explorer and Firefox can be configured with a pac file.雙方的Internet Explorer和Firefox可以設定一個PAC文件。
This solution can take care of unavailable gateways and also achieve proper load balancing.這個解決方案能夠照顧無法使用網關和也達到適當的平衡負載。 I have tested this option before with success.我曾測試此選項之前取得成功。
This is probably the easiest solution for Windows user followed by the proxy server option above.這可能是最容易的解決辦法,為Windows用戶,其次是代理服務器的選項以上。

Let me know what is your experience / guidance on this topic.讓我知道什麼是你的經驗/指導關於這一主題的。