From owner-freebsd-hackers Fri Dec 7 10: 1:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id B681237B69A for ; Fri, 7 Dec 2001 10:00:56 -0800 (PST) Received: from isi.edu (8a65s2vmu0q5b4uc@hbo.isi.edu [128.9.160.75]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id fB7I0sN15058; Fri, 7 Dec 2001 10:00:54 -0800 (PST) Message-ID: <3C1103D6.9020106@isi.edu> Date: Fri, 07 Dec 2001 10:00:54 -0800 From: Lars Eggert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011203 X-Accept-Language: en, de MIME-Version: 1.0 To: rick norman Cc: freebsd-hackers@freebsd.org Subject: Re: Nat through two DSL References: <5.0.2.1.0.20011207131945.009fe1d0@mail.training.telia.se> <3C10F658.6070001@isi.edu> <20011207170742.GB80922@virtual-voodoo.com> <3C110131.CF806ED2@lmco.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG rick norman wrote: > What would be nice would be to load balance on a per connection > basis, not a per packet basis, between the two modems. > Any ideas how to do this ? Not with the current mechanisms in FreeBSD. You'd need a simple policy routing engine (actually, policy forwarding). A prototype based on tun devices shouldn't be too hard to put together. Basically, you'd want to pick one of your links based on destination address and optionally the port pair. We're putting something similar together for the DynaBone project (http://www.isi.edu/dynabone/), but it just got underway. >>>Anders Hagman wrote: >>>>The ADSL are 500k links and I want to load share on session by session. Ah, just caught the "session by session" part on second reading. In this case, my prior comment about packet-level striping and TCP is moot. Lars -- Lars Eggert Information Sciences Institute http://www.isi.edu/larse/ University of Southern California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message