From: Francois Leygues Subject: Ip tables load balancing locked Date: Tue, 01 Jul 2003 07:14:02 +1000 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3F00A81A.5020500@wanadoo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: netfilter-devel@lists.netfilter.org Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hello a simple application of iptables is load sharing with dnat: -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.