On Wednesday 06 February 2008, Greg wrote:
> > How? If I set a default SNAT rule, this default is always used ...
>
> iptables -t nat -A POSTROUTING -m state --state NEW -m statistic --mode
> nth --every 2 --packet 0 -j SNAT --to-source $SIP1
> iptables -t nat -A POSTROUTING -m state --state NEW -m statistic --mode
> nth --every 2 --packet 1 -j SNAT --to-source $SIP2
> iptables -t nat -A POSTROUTING -m state --state NEW -j SNAT --to-source
> $SIP3
>
> running a ping I have :
> $SIP1
> $SIP2
> $SIP1
> $SIP3
> $SIP1
> $SIP2
> $SIP1
> $SIP3
> ...

Don't change the "--every 3" to "--every 2".

-- 
Ruben

_______________________________________________
LinuxVirtualServer.org mailing list - [email protected]
Send requests to [EMAIL PROTECTED]
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Reply via email to