From owner-freebsd-net@FreeBSD.ORG Fri Oct 28 15:44:42 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37F9516A41F; Fri, 28 Oct 2005 15:44:42 +0000 (GMT) (envelope-from csmith@bonddesk.com) Received: from msmisps01.bonddesk.com (msmisps01.bonddesk.com [12.47.70.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 687B143D70; Fri, 28 Oct 2005 15:44:30 +0000 (GMT) (envelope-from csmith@bonddesk.com) Received: from mimail.bdg.local ([10.132.16.100]) by chmail.bdg.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 28 Oct 2005 11:44:29 -0400 Received: from 10.133.16.35 ([10.133.16.35]) by mimail.bdg.local ([10.132.16.100]) with Microsoft Exchange Server HTTP-DAV ; Fri, 28 Oct 2005 15:44:28 +0000 Received: from csmith-dt.bdg.local by mimail.bonddesk.com; 28 Oct 2005 11:44:28 -0400 From: Corey Smith To: G Bryant In-Reply-To: <43624181.5010305@roamingsolutions.net> References: <4361FE7E.50607@dgnetwork.com.br> <43624181.5010305@roamingsolutions.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: Fri, 28 Oct 2005 11:44:27 -0400 Message-Id: <1130514267.81705.101.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port X-OriginalArrivalTime: 28 Oct 2005 15:44:29.0011 (UTC) FILETIME=[7B6C5A30:01C5DBD6] Cc: daniel@dgnetwork.com.br, freebsd-net@freebsd.org, freebsd-pf@freebsd.org, FreeBSD Subject: Re: Load Balancing Outgoing, its possible ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 15:44:42 -0000 On Fri, 2005-10-28 at 17:19 +0200, G Bryant wrote: > Daniel Dias Gon=E7alves wrote: >=20 > > > > It is possible to make this balancing with the PF ? Exists some=20 > > software that I make this ? Zebra can help me? > > This type of balancing gives to problems with the navigation of the=20 > > user of NAT or IP valid ? > > If it is possible, wanted to see examples with rules. > > It would be much better to do per flow load balancing then per packet. With per packet your TCP flows will arrive out of order which is a bad situation since it will lead to a large number of retransmissions and zero-window acknowledgments. The only tunable to help correct that is to allow selective acknowledgments. You are going to get much higher utilization on your load balanced lines by using per flow with multiple TCP connections. Anybody know how to implement per flow load balancing in FreeBSD? Are multiple default routes supported? It would be beautiful if you could put multiple routes with the same metric into the kernel and then the kernel would enable per flow load balancing of the routes... -Corey Smith