On Sat, Jun 7, 2014 at 8:29 PM, Balachandran Sivakumar <benignb...@gmail.com> wrote: > Hi Krishna, > > On Sat, Jun 7, 2014 at 1:00 PM, km <srikrishnamo...@gmail.com> wrote: >> Thanks for the quick reply. >> Let me be more clear. All the four network interfaces are in the same >> subnet with different IPs and the same default gateway. >> >> Can it be configured in such a way that the traffic gets distributed >> between the network interfaces if one of them is busy ? >> > > > Thought I don't have a solution right away, I vaguely > remember the LARTC explaining something very similar - Here is the > link[1]. It might just be useful.
Link bonding can be done either in standby or load balancing mode. Static ECMP routing with packet equalise will achieve this too if the links are in different subnets (example command line was given before). Given that all your cards are in the same subnet, link bonding is the ideal solution. I will not recommend LARTC unless you are understand QOS/queuing and traffic control well along with what qdiscs to use (need to understand the behaviour and appropriateness to your scenario). I think that is an overkill. Simple packet based round robin balancing will achieve what you want in the bonding scenario. There is no concept of interface being busy but just queue length. If an interface is busy, packets get dropped if the queue is full. TCP/IP's internal mechanism will slow the source rate down automatically. -- Mohan Sundaram _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines