From owner-freebsd-net@FreeBSD.ORG Sat Nov 17 22:01:20 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 99D40DFB; Sat, 17 Nov 2012 22:01:20 +0000 (UTC) (envelope-from postnet@dragas.dyndns.org) Received: from mail.dragas.org (unknown [IPv6:2001:41d0:2:ca45::3]) by mx1.freebsd.org (Postfix) with ESMTP id 30D718FC08; Sat, 17 Nov 2012 22:01:20 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.dragas.org (Postfix) with ESMTP id 7191BE01C4; Sat, 17 Nov 2012 23:01:19 +0100 (CET) Received: from mail.dragas.org ([127.0.0.1]) by localhost (dragas.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2Mk4YLrG3vQX; Sat, 17 Nov 2012 23:01:13 +0100 (CET) Received: from dragasmbp.lan (unknown [87.238.26.165]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.dragas.org (Postfix) with ESMTPSA id 670F6E4251; Sat, 17 Nov 2012 23:01:13 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: "Weighted round robin" for LAGG - anyhow? From: Stefano Marinelli In-Reply-To: <50A41EE4.5060006@freebsd.org> Date: Sat, 17 Nov 2012 23:01:12 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <646662D0-E66C-4168-B351-482B06ACF26A@dragas.dyndns.org> <50A41EE4.5060006@freebsd.org> To: Julian Elischer X-Mailer: Apple Mail (2.1499) Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2012 22:01:20 -0000 Hi, > you can use mpd (or ppp) in multilink mode to encapsulate your = outgoing links via two different tcp paths to you other server where you = can undo it.. > mpd (and ppp I think) will allow you to select a couple of different = multiplexing schemes, including one where each packet is cut up and = sent, so that the slower link would be sending 1/3 of teh packet and the = faster link would be sending 2/3 of the packet. just to confirm I had great success with mpd. I have been able to create = two pptp tunnels (to two different ips, same machine). Setting the right = link speed, I can almost get the summed speed of the two links. Amazing. I have now to face some problems (I'd love to remove one of the two ips, = but I don't seem to be able to create a proper different route. Maybe I = can try with playing with ports and setfib, which I am already using for = other tasks on that router). Thank you very much for this hint. MPD is surely much more efficient = than lagg, with different speeds. Stefano=20=