Auto loadbalancing with iptables & iproute2

bert hubert ahu@ds9a.nl
Mon, 16 Jul 2001 15:48:35 +0200


On Mon, Jul 16, 2001 at 08:15:02AM -0400, Ramin Alidousti wrote:

> > > 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.
> > 
> > If your router is a simple machine, you would have a hard time doing this. A
> > lot of people (still :-)) use Ciscos as routers and often don't like to do
> > anything more complex than needed.
> 
> Correct. Place a linux box behind the cisco...

Which is exactly what we want to avoid :-)

> Interesting! The simplest load-balancing scheme I can think of is round-robin.
> Do you know of any daemon doing that?

Would be tricky. But this quickly ecaping the scope of this list. I'm
planning to move discussion both to netdev (for some of the more advanced
switchspoofing tricks which probably need kernel modifications) and the
linux virtual server list (as I think there is loads of synergy between what
they do and what my hypothetical daemon needs).

Regards,

bert

-- 
http://www.PowerDNS.com      Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet