OSPF & cost

Ondrej Zajicek santiago at crfreenet.org
Wed Jan 18 17:10:52 CET 2012


On Wed, Jan 18, 2012 at 06:23:59PM +0400, Peter Andreev wrote:
>      >    All works good and I see lo1, lo3 addresses on neighbours but with
>      >    path-costs equal to 0. What should I do to fix this problem?
> 
>      Could you send the output of 'show ospf state' command?

>                    network [5]192.168.1.32/27 metric 10
>                    stubnet [6]10.10.10.62/32 metric 0
>                    stubnet [7]10.10.11.15/32 metric 0

It is expected, /32 stubs from interface addresses are always announced
with cost 0, because they are local IPs. The idea is that 'cost' is a
cost of traversing a network (i.e. if you have an eth1 stub network of
cost 10, it is a cost from the router to other hosts on that network).

You can use 'stubnet' option to specify /32 stubs with arbitrary metric
regardless of any interface.

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20120118/7fe4ece8/attachment-0001.asc>


More information about the Bird-users mailing list