From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francois Leygues Subject: iptables load balancing problems Date: Tue, 24 Jun 2003 15:01:57 -0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3EF875F5.50409@nextenso.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org -t nat -A OUTPUT -p tcp -d xxx -j DNAT --to x1 --to x2 provides a very simple load balancing. It works very well for light workloads (1 req per second) but for a sustained load (300 req/s, generated by httperf) after a few seconds, the output is locked on one of the target address, the other one never being selected. Worse: after that, even after a delete of the rule, followed by a redefinition of the rule the bad behaviour is not corrected. A reboot is needed to get back the feature... I have not tryed to debug this, would you have some hints ? Bye.