From owner-freebsd-hackers@FreeBSD.ORG  Tue Dec 19 13:27:25 2006
Return-Path: <owner-freebsd-hackers@FreeBSD.ORG>
X-Original-To: freebsd-hackers@freebsd.org
Delivered-To: freebsd-hackers@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id BCFC116A412
	for <freebsd-hackers@freebsd.org>; Tue, 19 Dec 2006 13:27:25 +0000 (UTC)
	(envelope-from girishvenkatachalam@gmail.com)
Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DE22943CC0
	for <freebsd-hackers@freebsd.org>; Tue, 19 Dec 2006 13:27:11 +0000 (GMT)
	(envelope-from girishvenkatachalam@gmail.com)
Received: by an-out-0708.google.com with SMTP id c24so492556ana
	for <freebsd-hackers@freebsd.org>; Tue, 19 Dec 2006 05:27:04 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent;
	b=A5bLZ+IpstQdE2UzIzsBYzon5F1sHCJJNsIHe4ed/D2xoOSK7Q/KRo1xCNucXgfi4TMLEy0D3SRnfmxmi4WPFt0q+5Ir9/kI9NkV79/OTsLGaZz4J/jUSNZPiG7VPT3O2u5bxRLXWhQf6zjENhzVn1PS0sJ9HCkJNTm08NykgFs=
Received: by 10.100.174.16 with SMTP id w16mr4349183ane.1166533088174;
	Tue, 19 Dec 2006 04:58:08 -0800 (PST)
Received: from lakshmi.susmita.org ( [59.92.92.158])
	by mx.google.com with ESMTP id c23sm11749389ana.2006.12.19.04.58.06;
	Tue, 19 Dec 2006 04:58:07 -0800 (PST)
Received: by lakshmi.susmita.org (Postfix, from userid 1000)
	id 30E4E23A9F2; Tue, 19 Dec 2006 18:28:01 +0530 (IST)
Date: Tue, 19 Dec 2006 18:28:00 +0530
From: Girish Venkatachalam <girishvenkatachalam@gmail.com>
To: freebsd-hackers@freebsd.org
Message-ID: <20061219125800.GA7338@lakshmi.susmita.org>
Mail-Followup-To: freebsd-hackers@freebsd.org
References: <fbaddc9a0612141236h8d84a53m9e7a5526bd616d6c@mail.gmail.com>
	<20061215013509.GA11355@lakshmi.susmita.org>
	<fbaddc9a0612190253g214b1e66ib8bc693b33273e6@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <fbaddc9a0612190253g214b1e66ib8bc693b33273e6@mail.gmail.com>
User-Agent: Mutt/1.4.2i
Subject: Re: VPN Agregation
X-BeenThere: freebsd-hackers@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: girishvenkatachalam@gmail.com
List-Id: Technical Discussions relating to FreeBSD
	<freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, 
	<mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
	<mailto:freebsd-hackers-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Dec 2006 13:27:25 -0000

On Tue, Dec 19, 2006 at 12:53:51PM +0200, just Maxim wrote:
> Hi,
> 
> Could you give me more details?
> At the moment i have:
> a) 7 adsl modems (each modem gives an real IP)
> b) an outside server with big bandwidth (with real IP)
> 
> How can i do this aggregation?
> 
> At the moment, i just loadbalancing the traffic. But this doesn't create a
> big channel. I can copy a file with maximum the speed of one connection.
> I want that aggregation to make able to copy the file with the speed of sum
> of all adsl connections.

Guys, 
	Please don't get pissed off reading my signature... :)

	It is very simple logic. What I did was simplistic but it gave what my boss wanted rather than what I wanted. :)

	Anyway you just switch between the 7 links when you are sending data in a round robin fashion. Of course there is more to it. But if I get 7 IP datagrams , I shove it on each of the 7 links and the next packet goes thro' the first link and so on.

	TCP takes care of assembling the packets as long as all interfaces are on the same network. You might want to take care of some routing details here.

	If you do this thing at the other end, then your download will get aggregated but if you want this happening for both uploads and downloads do it at both ends.

	My problem space was completely different and it was no UNIX at all.

	So I am sure when there are standard RFC compliant protocols to achieve your goal, you should go for that instead.

	If a link goes down, you ignore that. I did that over wireless links, so it may not apply in your case.

	Please try and read up either of the protocols I mentioned in the last mail(MLPPP & BGP).

	Best of luck!

	regards,
	Girish


-- 
Linux is for folks who hate Windoze.

FreeBSD is for folks who love UNIX.

OpenBSD is for folks who can't live without UNIX.