From owner-freebsd-net@FreeBSD.ORG Thu Mar 16 22:21:14 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 921FF16A424 for ; Thu, 16 Mar 2006 22:21:14 +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 3C3B843D46 for ; Thu, 16 Mar 2006 22:21:14 +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 633DAA2E92 for ; Thu, 16 Mar 2006 17:21:13 -0500 (EST) Received: by blar.home.comstyle.com (Postfix, from userid 1000) id 72D35379DD; Thu, 16 Mar 2006 17:21:12 -0500 (EST) Date: Thu, 16 Mar 2006 17:21:11 -0500 From: Brad To: "freebsd-net@FreeBSD.org" Message-ID: <20060316222111.GD23644@blar.home.comstyle.com> References: <20060316193740.GE11850@spc.org> <003701c64941$ac548540$020b000a@bartwrkstxp> <20060316215207.GH11850@spc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060316215207.GH11850@spc.org> 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: Thu, 16 Mar 2006 22:21:14 -0000 On Thu, Mar 16, 2006 at 09:52:07PM +0000, Bruce M Simpson wrote: > On Thu, Mar 16, 2006 at 10:36:20PM +0100, Bart Van Kerckhove wrote: > > ECMP was indeed one of the features i was looking for at that time, which i > > found to be impossible. > > I just don't like the idea of moving towards another platform just for this > > reason, since I'm very happy with freebsd's performance. > > There used to be a patch for ECMP, but it was a huge hack. very dirty at > > best. > > itojun recently committed a set of ECMP related changes to OpenBSD. > Unfortunately I have not had free time to review them in any detail. > > I hope andre@ is watching this thread, it's probably on his laundry list too. > I believe other parties may have implemented the hack you are referring to. Heh. At first I read this and wasn't sure what ECMP was, I've never seen anyone use that acronym before. 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 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