OSPF & cost

Peter Andreev andreev.peter at gmail.com
Wed Jan 18 15:23:59 CET 2012


2012/1/18 Ondrej Zajicek <santiago at crfreenet.org>

> On Wed, Jan 18, 2012 at 03:19:51PM +0400, Peter Andreev wrote:
> >    Hello, everybody!
> >
> >    I'm trying to setup bird 1.3.4 ospfv2 as following:
> >
> >    protocol ospf OSPFtest {
> >            area 192.168.1.1 {
> >                    stub yes;
> >                    interface "igb1" {
> >                    };
> >                    interface "lo1" {
> >                            cost 30;
> >                    };
> >                    interface "lo3" {
> >                            cost 30;
> >                    };
> >            };
> >    };
> >
> >    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?
>

Of course

bird> show ospf state

area 192.168.1.1

        router 192.168.1.33
                distance 10
                network 192.168.1.32/27 metric 10
                stubnet 10.10.10.62/32 metric 10
                stubnet 10.10.11.15/32 metric 15

        router 192.168.1.34
                distance 0
                network 192.168.1.32/27 metric 10
                stubnet 10.10.10.62/32 metric 0
                stubnet 10.10.11.15/32 metric 0

        router 192.168.1.254
                distance 10
                network 192.168.1.32/27 metric 1

        network 192.168.1.32/27
                dr 192.168.1.254
                distance 10
                router 192.168.1.254
                router 192.168.1.33
                router 192.168.1.34




>
> --
> 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)
>
> iEYEARECAAYFAk8W1scACgkQw1GB2RHercPiPQCfX1qL2lt8TsV0gW39sb0Sls3y
> qqcAn04Y7zPo0MNBg2CsWTTIDqBhb3gn
> =/20b
> -----END PGP SIGNATURE-----
>
>


-- 
--
AP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20120118/01460742/attachment-0001.html>


More information about the Bird-users mailing list