Auto loadbalancing with iptables & iproute2

Ramin Alidousti ramin@cannon.eng.us.uu.net
Sun, 15 Jul 2001 17:11:37 -0400


> Hi everybody,

Hallo Bert,

> 
> Last week I had some disturbing thoughts on loadbalancing without a central
> redirecting agent and today I wrote:
> 
>                http://ds9a.nl/2.4Routing/autoloadbalance.php3
> 
> Please read it and tell me what you think. Basically you can take N servers
> and give them all a single IP address, and have them all accept a share of
> the load. And it is positively evil.

Neat idea. But some points:

1) Can't you do the same thing with the shared IP living on your router
   and doing DNAT based on the formula you described.

2) The load is not fairly balanced...

3) If I spend so much money to by a switch, I'd not like to degrade my
   switch to act as a hub.

But, very nice try :-)

Hou je maar goed.

Ramin

> 
> Let me know what you think.
> 
> Regards,
> 
> bert
> 
> -- 
> http://www.PowerDNS.com      Versatile DNS Services  
> Trilab                       The Technology People   
> 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet