From owner-freebsd-net@FreeBSD.ORG Mon Jan 10 10:18:25 2011 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 4BA0A1065670 for ; Mon, 10 Jan 2011 10:18:25 +0000 (UTC) (envelope-from thomas@gibfest.dk) Received: from mail.tyknet.dk (mail.tyknet.dk [IPv6:2002:d596:2a92:2:155::]) by mx1.freebsd.org (Postfix) with ESMTP id 07FE08FC12 for ; Mon, 10 Jan 2011 10:18:25 +0000 (UTC) Received: from [10.32.67.75] (fw.int.webpartner.dk [213.150.34.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.tyknet.dk (Postfix) with ESMTPSA id 1C1AA63A95B; Mon, 10 Jan 2011 11:18:21 +0100 (CET) X-DKIM: OpenDKIM Filter v2.1.3 mail.tyknet.dk 1C1AA63A95B DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gibfest.dk; s=default; t=1294654703; bh=e49y9SDDdQuXh82nY4VOSDkzjGs5HaJwWJUvs3oqmOg=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=p21TWOtL3+Knmo9DwxnO8JzEybkRF7Ku2eWg2tOaNg/VkORzr1g+SF57/HPbgVeSj tqmyltb0O5sINAez+X/CQQbtngdAG3wVDUngnUsl86Mzof3Ph3sAeM1uzjTuobA7AW 0lun7ILnlaTphuPAUmZdN17trDe2mGeIjm8feFbU= Message-ID: <4D2ADCED.8060809@gibfest.dk> Date: Mon, 10 Jan 2011 11:18:21 +0100 From: Thomas Steen Rasmussen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Francisco Reyes References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Lagg questions 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: Mon, 10 Jan 2011 10:18:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09-01-2011 20:42, Francisco Reyes wrote: > Found a couple of good lagg tutorials > http://www.cyberciti.biz/faq/freebsd-network-link-aggregation-trunking/ > http://wisekuma.net/linux-bsd/freebsd-lagg/ > > But there are a few things that I can't find so far... > > Does one need a third card to reach the machine where one runs lagg? > Say I have em0 and em1, do I assign actual IPs to the cards before > adding them to lagg or they can't have IPs of their own? > > Other than lacp protocol do the other options work without having to > change anything at the switch? > > My situation is as follows: > Have two connections, 1 T1 and a cable connection. > Need to, temporarily, allow outbound traffic between both. > Hello, I'm afraid you've misunderstood how lagg works. lagg is for bundling _layer 2_ links. This basically means you can use two or more physical cables to the same switch, to get better speed and/or redundancy. Using lagg to bundle two uplinks to two different providers will not work as you intend. You need to look into using pf or something similar to balance layer 3 traffic across two uplinks. I have had this running at home for years with pf, and it works great. Best regards Thomas Steen Rasmussen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0q3OwACgkQGjEBQafC9MB+4ACggVWVlUCFt25rJTUwBJewA/BA dswAnjVM0Bo84DBAWJila0+NlivtxOxo =B0j2 -----END PGP SIGNATURE-----