Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2008 11:50:24 +0100
From:      Josef Pojsl <jp@tns.cz>
To:        Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Cc:        freebsd-net@freebsd.org, farrokhi@FreeBSD.org, Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:   Re: ospf cost and route selection (openospfd)
Message-ID:  <20080218105024.GA1080@bonifac.tns.cz>
In-Reply-To: <5ZtxcL6cRo84tm1uYJcECu4DBCo@49l6neKHPg6j4SHeejH198Klzys>
References:  <jV/l2UkZT%2BCCNuE6npJv1SBs5CE@UCvaDHSF%2BGDEPQ7TSpdR%2BlgUSQM> <20080207074944.GA56085@bonifac.tns.cz> <Ntfg81bhcEB6BPmKzMb2iTN9oBA@ebJhc%2B9glC7W5vxxBJVH9quBZr0> <BeIqwBu0LkRXuGRr9c834oJe11M@mkgs2gFQr6GPddtmfyJSxMBvIxA> <20080208105357.GF1142@bonifac.tns.cz> <BT4TiDDxXXg%2BA3Hm/RZG4ajuso0@iW7JDlNxJglv8iYoJTWnPBJ0iaQ> <20080213203012.GB1157@bonifac.tns.cz> <mgxG59t6NyZOK/aOCUXqAa4UjwQ@nlDRp1tQLLdsXUKSIGNiprMk72M> <i/Lmkx/GjpxzqLdQCjJf243w/hg@7sDP7kkrk5jQp0SODPrr0/WdZZY> <5ZtxcL6cRo84tm1uYJcECu4DBCo@49l6neKHPg6j4SHeejH198Klzys>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Eygene,

On Sun, Feb 17, 2008 at 08:11:04PM +0300, Eygene Ryabinkin wrote:
> I should more carefully study current OpenBSD CVS: the fix for your
> problem was committed 5 months ago.  Claudio mentioned it (and he
> is the author of the patch itself), but the fix didn't get into 4.2.
> 
> The funny thing is that I had wrote simular (but lower quality) fix
> for the problem today and decided to look at the current OpenOSPFD
> code.  And looking at the last revision of ospfd/rde_spf.c I had
> found calls to calc_nexthop() that were very simular to mine ones ;))
> 
> OK, to the point: the inlined patch should go to the 'files'
> directory, named 'patch-p2p_interfaces'.  I assume that all my
> previous patches to make 4.2 to compile and run were applied.

Thaks a lot, I have applied that patch and it works!
Ospfctl shows the right interface and routing table is correct as well.

I have tried that for my simple config with two machines
and two gre interfaces. The big picture of my test network
includes six machines and about twelve interfaces,
so I am about to spread that patch and start tests
of the whole thing.

Thanks again,
--
Josef



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080218105024.GA1080>