On Thu, Oct 04, 2012 at 11:54:00AM +0200, Manuel Guesdon wrote: > Here is a patch adapted from ospfd patch of "Tue Sep 25 11:25:41 2007 > UTC" (the one of version 1.52 of kroute.c): > << > Last missing piece in the equal cost multipath support for ospfd. > Send all possible nexthops to the parent process and correctly sync > the RIB, FIB and kernel routing table. Based on initial work by pyr@. > OK pyr@ norby@ > PS: don't forget that you need to enable multipath support via a sysctl > >> > > It seems to solve my problem but not "perfectly". > When starting ospf6d with the best link between 2 hosts down, fib contains > 2 other routes comme from 2 other hosts (these 2 routes have equal cost). > When the link came UP, these 2 routes are removed and replaced by the best > route; that's alright. > Next when the link goes down, the 2 alternative routes are well added in fib > but the precedent best route is still in the fib (I see it with route -n -v > show |grep TargetIP). May be an important point: TargetIP is an IPv6 on lo1. > > I can't find why; if you have any idea... I have a test network so I can make > test easily... >
I started a large sync of the ospf6d kroute code with the one in ospfd. In other words adding proper support for priorities. With that in the tracking gets much simpler. I need a few more days and some testing before sending the diff out. -- :wq Claudio
