Date: Wed, 6 Feb 2008 18:21:42 +0300 From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> To: Josef Pojsl <jp@tns.cz> Cc: freebsd-net@freebsd.org Subject: Re: ospf cost and route selection (openospfd) Message-ID: <jV/l2UkZT%2BCCNuE6npJv1SBs5CE@UCvaDHSF%2BGDEPQ7TSpdR%2BlgUSQM> In-Reply-To: <20080206144104.GL1122@bonifac.tns.cz> References: <20080206144104.GL1122@bonifac.tns.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Josef, good day. Currently I can not answer your question, sorry. I just have the remark. Wed, Feb 06, 2008 at 03:41:04PM +0100, Josef Pojsl wrote: > ospfctl show rib: > Router 1: > Destination Nexthop Path Type Type Cost Uptime > 0.0.0.2 10.31.2.2 Intra-Area Router 20 00:03:51 > 10.30.1.2/32 10.31.2.2 Intra-Area Network 40 00:03:41 > 10.31.1.2/32 10.31.2.2 Intra-Area Network 70 00:03:51 'Cost' column looks perfectly correct: in order to reach the other router, the path with cost 20 is selected (presumably, WAN X); path to 10.30.1.2/32 costs 20+20: 20 from WAN X interface and 20 from the gre30 on the other end; and path to 10.31 costs 70=20+50, WAN X + gre31 on the other end. The only weird thing is the nexthop value. Your 'netstat -rn' shows routes via gre31 too? If yes, maybe the verbose mode of the openospfd (-v) will show something interesting? -- Eygene
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jV/l2UkZT%2BCCNuE6npJv1SBs5CE>