Re: Balancing Web Traffic

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

 



On Tue, Mar 29, 2005 at 05:04:25PM +0200, Miguel Amador wrote:
> Hi all
> 				
> I have:	
> 				      ___ WWW1 __
> Inet <--> [Iptables/Netfilter Box ---|	         |- BD
> 				     |___ WWW2 __|
> 					
> My question is, somebody know anyway to balanced the traffic to the
> Webservers with iptables ?
>  I know that if i repeat Nat's rules for different ip's (ip's of web
> services) iptables does a primitive balanced... but anybody know other
> way ?

you can do bone-headed round-robin load-balancing with "-j DNAT --to
destination $WWW1_IP --to-destination $WWW2_IP"

for intelligent load-balancing, look at:

http://www.linuxvirtualserver.org/

-j

--
"I saw weird stuff in that place last night. Weird, strange, sick,
 twisted, eerie, godless, evil stuff. And I want in."
         --The Simpsons


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux