[LARTC] load balancing multiple connections on different ports to one ip address

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am wondering if I can use traffic control to balance the traffic coming into my
computer in the following way...

   +----------+   +----------+   +----------+      +----------+
   | Internet |   | Internet |   | Internet |      | Internet |
   | Server 1 |   | Server 2 |   | Server 3 | ...  | Server n |
   +----------+   +----------+   +----------+      +----------+
    Port ?????     Port ?????     Port ?????        Port ?????
         |              |              |                 |
         +--------------+------+-------+-----------------+
                               |
                               | eth1
                         +----------+
                         |   Linux  |
                         |  Router  |
                         +----------+
                               | eth0
                               |
                         +----------+
                         |   PC on  |
                         |   Lan    |
                         +----------+

Multiple servers sending data to one pc on the lan using multiple ports. I want to
load balance the traffic leaving eth0 towards the PC based on the number of
connections.

I am wondering if I will be able to set up classes/filters for a set number of
connections ( for arguments sake - say 10 connections ) regardless of what port they
are on and thus configure my tc setup to load balance those 10 connections -
allowing them to borrow from each other as usual.

All I am looking for here is a short yes/no answer and possible a hint as to what
part of the howto to start looking at. I want to figure out how to do it myself, but
don't want to waste time trying if it is not possible.

Thanks for your time spent reading/answering.

Leigh






[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux