Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 3 non-stable connections between 2 my Linux servers located in different countries. These 3 connections have different routes. From time to time one or two connections have packet loss problem or even don't work at all, so I have 1 or 2 connections alive. Also there is a data exchange between the servers, so when connection issues happen I have to detect it in some way and send data using next channel.

Is there any software solution that can set up a virtual network using all the channels I have and automatically balance the data in the channels? May be some kind of multilink OpenVPN setup or virtual NIC?


share|improve this question

migrated from Aug 13 '11 at 11:13

This question came from our site for professional and enthusiast programmers.

iptables can do this. Have a look at

share|improve this answer
this solution is great for home setup - so when the one interface is down it'll switch to the next one. But I mean the stuff which allow to eliminate packet loss problem i.e. interface is not down in this case. – Serge Rat Aug 15 '11 at 4:16

I have used network bonding in the past for local networks.

Read the high availability section of bonding.

However I am not sure how this works with wan.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.