With iptables with 2 servers using a nat entry you can pick a match rule for
a 50% random connection entry

Its straight out of the man page.

random
       This module randomly matches a certain percentage of all packets.

If you really want to load balance the servers properly use dns.

> -----Original Message-----
> From: George Borisov [mailto:[EMAIL PROTECTED]
> Sent: 21 November 2006 14:50
> To: Debian Firewall
> Subject: Re: Load balancing SMTP servers
> 
> Sebastian Vega wrote:
> >
> > I think you need use iproute , no iptables...
> 
> How would I do that?
> 
> I know how to load-balance across two connections using iproute
> (in our case we only have one connection) but not what I am
> trying to do.
> 
> 
> --
> George Borisov
> 
> DXSolutions Ltd
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to