From owner-freebsd-ipfw@FreeBSD.ORG Fri Dec 17 22:12:12 2004 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1981916A4CE for ; Fri, 17 Dec 2004 22:12:12 +0000 (GMT) Received: from msmisps01.bonddesk.com (msmisps01.bonddesk.com [12.47.70.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75F1443D2D for ; Fri, 17 Dec 2004 22:12:11 +0000 (GMT) (envelope-from csmith@bonddesk.com) Received: from 10.133.16.21 ([10.133.16.21]) by mimail.bdg.local ([10.132.16.100]) with Microsoft Exchange Server HTTP-DAV ; Fri, 17 Dec 2004 20:25:43 +0000 Received: from csmith-dt.bdg.local by mimail.bdg.local; 17 Dec 2004 15:25:43 -0500 From: Corey Smith To: freebsd-ipfw@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 17 Dec 2004 15:25:43 -0500 Message-Id: <1103315143.35576.127.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port Subject: Per flow load balancing X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: csmith@bonddesk.com List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 22:12:12 -0000 Is there a way to do per flow load balancing using ipfw? I'm currently using a rule like: prob 0.5 fwd ip from any to any recv bge0 xmit tun0 This effectively gives me per packet load balancing between the two tunnels. Unfortunately it also leads to significant out-of-order TCP delivery (the two tunnels have varying latency). What I'm looking for is the ability to make each TCP socket stick to a random load balanced tunnel interface for its entire lifetime IE route multipath. -Corey Smith