From owner-freebsd-questions@FreeBSD.ORG Thu Aug 2 05:54:09 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19DE216A417 for ; Thu, 2 Aug 2007 05:54:09 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from pizzabox.cyberleo.net (alpha.cyberleo.net [198.145.45.10]) by mx1.freebsd.org (Postfix) with ESMTP id BE43B13C49D for ; Thu, 2 Aug 2007 05:54:06 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: (qmail 17519 invoked from network); 2 Aug 2007 05:54:05 -0000 Received: from adsl-75-3-94-126.dsl.chcgil.sbcglobal.net (HELO ?172.16.44.14?) (cyberleo@cyberleo.net@75.3.94.126) by alpha.cyberleo.net with ESMTPA; 2 Aug 2007 05:54:05 -0000 Message-ID: <46B16893.3080800@cyberleo.net> Date: Thu, 02 Aug 2007 00:15:40 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.4 (X11/20070604) MIME-Version: 1.0 To: Federico Lorenzi References: <3a386af20708010826x68966aas18ebe2006d5f5f17@mail.gmail.com> In-Reply-To: <3a386af20708010826x68966aas18ebe2006d5f5f17@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Two interfaces, two IPs, nearly twice the speed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 05:54:09 -0000 Federico Lorenzi wrote: > Hi list > > BACKGROUND: > I have two ppp interfaces tun0 and tun1 configured. Each of them > has an IP address in the same range, like 10.0.0.1 for the first and > 10.0.0.2 for the second (They are really dynamic public IPs...). Now, > what I would like to do is get it so that they get mixed together. > > QUESTION: > Is it possible to get PF to somehow round-robin the connections? > Lets say Joe connects to the internet and starts downloading a file, > it will use up Connection 1. Now Peter connects, PF knows that > connection 1 is used, and makes Peter's request go through > Connection 2. Kinda like a Dual-Internet? I tried that once. It wasn't pretty. There are still rogue and unresolved memory leaks that cause this to fail under high load by exhausting mbufs. I documented my experiences here: http://wiki.cyberleo.net/index.php/MultiHomedRouter Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/