Andres Marchante Tirado wrote:
>
> Hi:
>
> I've just spend many time probing and searching for equalize traffic load
> between som routers.
>
> For example this scenary:
>
> a lot of bits_of_traffic-hungry machines in a LAN
> two or many ISDN routers to the internet attached to a LAN
>
> Would it be possible to use a Linux Load Balancer box to redirect traffic to
> different routers as the traffic in the LAN increases?, so you can a certain
> bandwith/user when the number of users of internet increases?. The idea is use
> ISDN b-channels when its really necesary, and don't have to pay more than
> necesary.
>
> I think that something that:
>
> In the load balancer 10.1.2.254 put these lines:
>
> ipfwadm -F -a m 10.1.2.0/24 -D 0.0.0.0/0
> ippfvsadm -A -t 0.0.0.0/0:80 -R 10.1.2.1:80
> ippfvsadm -A -t 0.0.0.0/0:80 -R 10.1.2.2:80
>
> Where:
>
> 10.1.2.254 is the default gateway for the 10.1.2.0 subnet
>
> 10.1.2.1
> 10.1.2.2 are ISDN dial on demad routers calling to a ISP
>
> Then when a user in 10.1.2.0 try to connect to a outside IP destination the
> load balancer redirect it to one of the ISDN router.
>
> With a correct load-balance algorythm in the load balancer box this should
> work as I describe, using a new ISDN router when a lot of users are using the
> first and redirecting new users to the second ISDN router.
>
> Is it possible?
Sorry, the ippfvs (LinuxDirector) cannot be used for this purpose. The
LinuxDirector is usually used to make parallel services of cluster to
appear as a virtual service on a single IP address.
>
> if not ,could be implemented in a near future?
I don't think so. However, DNAT (Distributed Network Address
Translation) can solve this problem when there are lots of NAT points
for your internal work.
>
> Is there another solution?, I don't want to buy a ISDN primary access router
> with intelligent load balancing to do it, I wan't to do it with my linux
> system.
However, if you just have a few ISDN lines (for example 6), you can buy
two Tri-BRI adapters, I think the masquerading host can load balance
packets over these ppp? device on the IP level.
>
> Thanks in advance.
>
> Andres.
>
> --
> "A computer lets you make more mistakes faster than any other invention in
> human history, with the possible exception of handguns and tequila."
> - Mitch Radcliffe
> ---------------------------------------------------
> Andres Marchante Tirado. ESI TELECOMUNICACIONES.
> Departamento de Sistemas y Automatica. GTE.
> E-mail : amt@xxxxxxxxxx http://www.esi.us.es/~amt
> ---------------------------------------------------
|