From owner-freebsd-net@FreeBSD.ORG Fri Mar 17 03:18:17 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 958A916A401 for ; Fri, 17 Mar 2006 03:18:17 +0000 (UTC) (envelope-from brad@comstyle.com) Received: from mail.comstyle.com (toronto-hs-216-138-195-228.s-ip.magma.ca [216.138.195.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FD1243D46 for ; Fri, 17 Mar 2006 03:18:17 +0000 (GMT) (envelope-from brad@comstyle.com) Received: from blar.home.comstyle.com (blar.home.comstyle.com [IPv6:2001:240:589:1::3]) by fubar.home.comstyle.com (Postfix) with ESMTP id 2D75FA2E94 for ; Thu, 16 Mar 2006 22:18:16 -0500 (EST) Received: by blar.home.comstyle.com (Postfix, from userid 1000) id 64A2137A6C; Thu, 16 Mar 2006 22:18:15 -0500 (EST) Date: Thu, 16 Mar 2006 22:18:14 -0500 From: Brad To: "freebsd-net@FreeBSD.org" Message-ID: <20060317031814.GI23644@blar.home.comstyle.com> References: <20060316222111.GD23644@blar.home.comstyle.com> <001601c6494c$32f188f0$020b000a@bartwrkstxp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001601c6494c$32f188f0$020b000a@bartwrkstxp> User-Agent: Mutt/1.4.2i Subject: Re: OT - Quagga/CARP 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: Fri, 17 Mar 2006 03:18:17 -0000 On Thu, Mar 16, 2006 at 11:51:44PM +0100, Bart Van Kerckhove wrote: > > Heh. At first I read this and wasn't sure what ECMP was, I've never > > seen anyone use that acronym before. > > Hmm, sorry if I used a non-common term there, it's the only abbreviation i > know of ;> I have always just used the expanded form. :) > > The code Itojun commited to the > > OpenBSD tree consisted of code to add multipath support for radix > > trees. The routing code still needs to be modified to use this new > > support though. > > > > > > radix tree with multipath support. from kame. deraadt ok > > user visible changes: > > - you can add multiple routes with same key (route add A B then route > > add A C) > > - you have to specify gateway address if there are multiple entries > > on the table (route delete A B, instead of route delete A) > > kernel change: > > - radix_node_head has an extra entry > > - rnh_deladdr takes extra argument > > I have looked into KAME before, and was puzzled to see it was in KAME, but > not in *bsd :-> There are lots of things in the KAME CVS repo that has not been integrated into any of the *BSD's. > > > > TODO: > > - actually take advantage of multipath (rtalloc -> rtalloc_mpath) > > > > > > http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/radix.c > > http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/radix_mpath.c > > I have no kernel coding experience whatsoever. How hard would it be to merge > this with freebsd? I am not a FreeBSD developer or even a user for that matter so I cannot really comment. Andre would probably be the best person to comment on how much work would be required to integrate this code.