From owner-freebsd-questions@FreeBSD.ORG Fri Dec 17 23:32:09 2004 Return-Path: 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 3E1F716A4CE for ; Fri, 17 Dec 2004 23:32:09 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDA3543D39 for ; Fri, 17 Dec 2004 23:32:08 +0000 (GMT) (envelope-from adnichols@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so87171wra for ; Fri, 17 Dec 2004 15:32:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=NO3VxwCfRgjswvXSF5xQwAhhMwYxaM+G/MoUiUcfv7wZ085EW1t/48+DD6A+J93z3X7QQ0m3Uaubrqr3M6wF99FMu1PruK2SiJvuh8NQclZGrIOF2PVIa/wJzfk+AlZebZuyKpdmEva/3C+XHrkdL+zSwSIuZQvmhhl/sX+g8mU= Received: by 10.54.10.47 with SMTP id 47mr511487wrj; Fri, 17 Dec 2004 15:32:07 -0800 (PST) Received: by 10.54.35.39 with HTTP; Fri, 17 Dec 2004 15:32:07 -0800 (PST) Message-ID: Date: Fri, 17 Dec 2004 15:32:07 -0800 From: Aaron Nichols To: Hexren In-Reply-To: <1356832694.20041217153250@hexren.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1356832694.20041217153250@hexren.net> cc: freebsd-questions@freebsd.org Subject: Re: combining 2 ADSL Lines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Aaron Nichols List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 23:32:09 -0000 On Fri, 17 Dec 2004 15:32:50 +0100, Hexren wrote: > I have the following problem, I have 2 ADSl Lines and would like to > combine those 2 into 1 big. I have full control of both the gateway > from my LAN and another Server in the internet which I coud use as a > second gateway. > > What I am thinking of is something like virtualizing so that in the > end I have VirtualInterface1 which is DSL1 and DSL2. Assuming these are just normal DSL lines with no special options which would allow them to be combined, your options are limited I think. This message assumes these are your typical Residental/business type DSL lines which provide a few IP's to the end Customer. In general, when using two different connections (DSL, T1 or otherwise) between two different providers you have to pick one connection or the other to send traffic over when communicating with a given host on the Internet. There are many ways to "share" the two connections in an automated way, so that some traffic goes over one connection and some traffic goes over the other, but this doesn't allow you to bond the two connections. "Bonding" being defined as the ability to combine the bandwidth of both connections to provide higher peak transfer rates. The basic problem is that each ISP is only going to route traffic to the IP address they provide you. Since it's highly unlikley that both providers are providing the same IP you have to use NAT. When you send traffic out of your network, it has to originate from one or ther other IP address and response traffic is only going to come back to that IP address, thus only using that DSL line. You can certainly send the next connection out the other DSL line, but again, it will only use that one DSL line. There have been threads in the past discussion the use of policy routing to send traffic from different parts of your network over different connections - thus sharing the overall load between the two connections. This gives you some additional capacity, but does not provide higher throughput that a bonded connection would provide. Setting up each connection individually on the FreeBSD gateway and then investigating the use of pf or ipfw to provide policy routing is probably the closest you are going to get to using both connections at the same time. Perhaps someone else has some suggestions for options I'm not aware of. Aaron