From owner-freebsd-net@FreeBSD.ORG Wed Jun 18 17:20:57 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00573106567C for ; Wed, 18 Jun 2008 17:20:56 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8F5A58FC1D for ; Wed, 18 Jun 2008 17:20:56 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id A43CB2BD61; Thu, 19 Jun 2008 05:20:55 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DDI22KdGj+u8; Thu, 19 Jun 2008 05:20:50 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Thu, 19 Jun 2008 05:20:50 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 4184411428; Thu, 19 Jun 2008 05:22:16 +1200 (NZST) Date: Wed, 18 Jun 2008 10:22:16 -0700 From: Andrew Thompson To: Martes G Wigglesworth Message-ID: <20080618172216.GA76058@citylink.fud.org.nz> References: <1213691523.22762.16.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1213691523.22762.16.camel@localhost> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: "freebsd-net@freebsd.org" Subject: Re: Use lagg(4) or Use Layer-4 Load Balancing? 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: Wed, 18 Jun 2008 17:20:57 -0000 On Tue, Jun 17, 2008 at 04:32:03AM -0400, Martes G Wigglesworth wrote: > Greetings all. > > I have been attempting to research what I have been informed is > actually accomplished with layer-4 load balancing. I have seen many > articles and reviews that indicate that lagg(4) will accomplish the > teaming of multiple internet access sorces into a single logical pipe, > however, I have tried this using a dumb switch two nic interfaces and > this simply is not the case. > > I am new and may not have enough cool equipment around, however, aside > from using the fail-over mode for redundancy, and lacp on a supported > switch, then if lagg(4) could really combine multiple sources into one > for use as a larger overall backbone, then I should be able to get > doulbed bandwidth using two separate ports on an unmanaged switch using > some option on the lagg(4) driver, which is not the cast.(if this is > wrong I would be happy to get the correct information, however I have a > few network engineer references that say that you cannot do anything > more than layer-2 lacp with appropriate equipment to create an > isp-supported trunk) Even in the on-lamp interview the 7.0 developer > implies that you can do what I am attempting to research however, it is > not possible at layer 2 without an end-point. How are you testing this? You need to have multiple IP flows in order to fully utilise the multiple links. See this snippet from the handbook (i'll put it in the man page too). "Since frame ordering is mandatory on Ethernet links then any traffic between two stations always flows over the same physical link limiting the maximum speed to that of one interface. The transmit algorithm attempts to use as much information as it can to distinguish different traffic flows and balance across the available interfaces." Does that answer your question, you will not get more speed on a single download. Andrew