OSPF & cost
Peter Andreev
andreev.peter at gmail.com
Thu Jan 19 10:24:59 CET 2012
2012/1/18 Ondrej Zajicek <santiago at crfreenet.org>
> 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.
>
Thank you! that's exactly what I need.
>
> --
> 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."
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAk8W7wwACgkQw1GB2RHercOD1wCfWTFoBQuAB43VF909Bg0SByqW
> BpIAn2RcCx+To/ezIdPK5rrCeBNw2HGr
> =9kAm
> -----END PGP SIGNATURE-----
>
>
--
--
AP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20120119/09437714/attachment-0001.html>
More information about the Bird-users
mailing list