Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2006 23:51:44 +0100
From:      "Bart Van Kerckhove" <bart@it-ss.be>
To:        "Brad" <brad@comstyle.com>, "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>
Subject:   Re: OT - Quagga/CARP
Message-ID:  <001601c6494c$32f188f0$020b000a@bartwrkstxp>
References:  <20060316193740.GE11850@spc.org><003701c64941$ac548540$020b000a@bartwrkstxp><20060316215207.GH11850@spc.org> <20060316222111.GD23644@blar.home.comstyle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brad <brad@comstyle.com> wrote:
> 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.
Hmm, sorry if I used a non-common term there, it's the only abbreviation i 
know of ;>
> 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 :->
>
> 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?

-Bart 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001601c6494c$32f188f0$020b000a>