[lug] LVS / Piranha
    Jeff Schroeder 
    jeff at neobox.net
       
    Tue Oct 28 16:02:58 MST 2003
    
    
  
Ryan wrote:
> I'd like
> to configure the firewall box to be a load balancer for the web
> traffic, but I can't quite decide how to go about it.
If I remember correctly, iptables has the ability to "load-balance" 
traffic.  You can configure it to re-route incoming packets on a port 
to two (or more) other ports behind the firewall.  I think it does a 
simple toggle algorithm, where alternating packets are routed to 
alternating servers.
Unfortunately, I don't remember off the top of my head what the iptables 
rule would be.  And of course this assumes your firewall device will be 
using iptables... ;)
HTH,
Jeff
    
    
More information about the LUG
mailing list