From owner-freebsd-questions@FreeBSD.ORG Mon Dec 12 11:31:53 2005 Return-Path: X-Original-To: freebsd-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 2901916A420 for ; Mon, 12 Dec 2005 11:31:53 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from grog.secure-computing.net (grog.secure-computing.net [216.243.161.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A49B43D8E for ; Mon, 12 Dec 2005 11:31:38 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from [192.168.1.6] (snipe.secure-computing.net [216.243.161.77]) (authenticated bits=0) by grog.secure-computing.net (8.13.3/8.13.3) with ESMTP id jBCBWk6E094916 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Mon, 12 Dec 2005 05:32:46 -0600 (CST) (envelope-from ecrist@secure-computing.net) DomainKey-Signature: a=rsa-sha1; s=grog; d=secure-computing.net; c=nofws; q=dns; h=in-reply-to:references:mime-version:content-type:message-id:cc: content-transfer-encoding:from:subject:date:to:x-mailer:x-spam-status:x-spam-checker-version; b=rX5XLT1IhWGyP0FmBbipTiyxeisP4Ah1eR0EcdIgwzlvxzNVaQ+g4PGUAb0xSFdVg TM3kgUCupYAnnS8BeE/Mg== In-Reply-To: <20051212080518.25845.qmail@web30303.mail.mud.yahoo.com> References: <20051212080518.25845.qmail@web30303.mail.mud.yahoo.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Eric F Crist Date: Mon, 12 Dec 2005 05:31:21 -0600 To: Yance Kowara X-Mailer: Apple Mail (2.746.2) X-Spam-Status: No, score=-4.2 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grog.secure-computing.net Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD router two DSL 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: Mon, 12 Dec 2005 11:31:53 -0000 On Dec 12, 2005, at 2:05 AM, Yance Kowara wrote: > Ted, > > Thanks for the advice. > > A friend of mine has just acquired an Internet Cafe. > The previous owner connected the lan to 2 different > ADSL (two different ISPs) one is a back up he said. > > So, two ADSL routers with half the Lan connected to > one router and another half to the other router. > > I am just thingking of a way to optimise the > connection and came accross Steven's article. I > thought I could do something similar with *BSD + pf. > > There is such thing as Dual Wan ADSL router: > http://www.infosmart.com.tw/p-ndr3024.htm > > However, they are quite pricey compare to setting up a > *BSD box (using old readily available hardware). > > > So, if this load balancing idea does not work, any > other thing I can do to optimise two DSLs? > > I also came accross this (linux way): > http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple- > links.html > > Is this worth trying? > > Kind regards, Yance, The reason, without a pretty heavily involved configuration, this won't work is packet routing. Unless you're using BGP, Border Gateway Protocol, you're not going to reliably route return packets to any interface other than the interface it was transmitted from. I'm guessing that the dual-wan device you speak of handles some things differently. Something like a large file download is going to fail to utilize the full bandwidth, however, because of the nature of the traffic. If you really need to boost network bandwidth, you're going to be forced into either working directly with an ISP to link multiple DSL channels, or, more likely, obtain business-class service over a T1/T3 setup. HTH ----- Eric F Crist Secure Computing Networks http://www.secure-computing.net