From owner-freebsd-questions@FreeBSD.ORG Sat Apr 22 03:05:34 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8289516A403; Sat, 22 Apr 2006 03:05:34 +0000 (UTC) (envelope-from wmc20@xxiii.com) Received: from imf18aec.mail.bellsouth.net (imf18aec.mail.bellsouth.net [205.152.59.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF1AF43D48; Sat, 22 Apr 2006 03:05:33 +0000 (GMT) (envelope-from wmc20@xxiii.com) Received: from ibm61aec.bellsouth.net ([68.209.177.221]) by imf18aec.mail.bellsouth.net with ESMTP id <20060422030532.CMQU1310.imf18aec.mail.bellsouth.net@ibm61aec.bellsouth.net>; Fri, 21 Apr 2006 23:05:32 -0400 Received: from wcox.bellsouth.net ([68.209.177.221]) by ibm61aec.bellsouth.net with ESMTP id <20060422030528.SVV7436.ibm61aec.bellsouth.net@wcox.bellsouth.net>; Fri, 21 Apr 2006 23:05:28 -0400 Message-Id: <6.2.3.4.2.20060421230001.02ecad08@mailsvr.xxiii.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Fri, 21 Apr 2006 23:05:24 -0400 To: Michael Landin Hostbaek , FreeBSD Questions From: wc_fbsd@xxiii.com In-Reply-To: <20060421091936.GC45972@mich2.itxmarket.com> References: <20060421091936.GC45972@mich2.itxmarket.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Trunking connections 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: Sat, 22 Apr 2006 03:05:34 -0000 At 05:19 AM 4/21/2006, Michael Landin Hostbaek wrote: >In a branch office, I've got two ADSL lines setup (with two >different ISPs) - one of them are supposed to work as backup line, >but since it is a ADSL flat fee line, I was wondering if there's a >way of setting up some sort of a trunk with FreeBSD, so I can make >use of the extra bandwith. I came up with a hack that has worked well for us. We have a frac-T1 line (12/24 ths) that is very reliable, but costs ~$600/month and only gets about 70KB/sec. We also have a connection from the local cable company; it's not terribly reliable, but it's only $40/month, and gets 460KB/sec. I setup squid proxy with the option "tcp outgoing address 12.x.x.x" where the address is that of the cable NIC. Then configured ipfw to forward any packets with the 12' address to the cable gateway. We get very fast proxied speed for web browsing, ftp, and other bulk transfers. But the regular traffic still goes over the T1 line. Sorta kludgy, but since I'm no routing expert, I was pleased with the results :) -Wayne