Date: Tue, 11 Jul 2000 10:29:12 -0700 (PDT) From: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> To: zebra@dml.com Cc: zebra@zebra.org, freebsd-net@freebsd.org Subject: Re: [zebra 4398] fbsd-5.0/zebra 0.87: ospf stuck in INIT and dies after debug ospf packet all Message-ID: <200007111729.KAA04105@gndrsh.dnsmgr.net> In-Reply-To: <20000711084817.A6604@titan.klemm.gtn.com> from Andreas Klemm at "Jul 11, 2000 08:48:17 am"
index | next in thread | previous in thread | raw e-mail
Due to the fact that BSD unix's won't send any multicast packets until
the have a multicast route of some form you have to do this:
route add 224.0.0.5 127.0.0.1
route add 224.0.0.6 127.0.0.1
Before you start ospfd, I show command line route add's above, you
can also do it with zebra static routes.
> OSPF died with
>
> titan-ospf# conf t
> titan-ospf(config)# router ospf
> OSPF: Router-ID[OLD:0.0.0.0]: Update
> OSPF: Router-ID[NEW:172.16.2.1]: Update
> titan-ospf(config-router)# redistribute connected
> titan-ospf(config-router)# redistribute static metric 50
> titan-ospf(config-router)# network 172.16.2.0/24 area 0
> OSPF: interface xl0 join AllSPFRouters Multicast group.
> titan-ospf(config-router)# OSPF: LSA[Refresh]: Timer (router-LSA Refresh expire)OSPF: Z: counting fully adjacent virtual neighbors in area 0.0.0.0
> OSPF: Z: there are 0 of them
> OSPF: new_lsdb_insert: Newly install
> OSPF: SPF: calculation timer scheduled
> OSPF: SPF: calculation timer delay = 1572866
>
> titan-ospf(config-router)# OSPF: Hello received from [172.16.200.2] via [xl0]
> OSPF: Packet[Hello:RECV]: Options *|*|-|-|-|-|E|*
> OSPF: NSM[xl0:0.0.0.0]: start
> OSPF: Z: make_hello: options: 70, int: xl0
> OSPF: Hello sent to [224.0.0.5] via [xl0].
> OSPF: Hello received from [172.16.200.2] via [xl0]
> OSPF: Packet[Hello:RECV]: Options *|*|-|-|-|-|E|*
> OSPF: Z: make_hello: options: 70, int: xl0
> OSPF: Hello sent to [224.0.0.5] via [xl0].
>
> titan-ospf(config-router)# network 172.16.2.0/24 area OSPF: Hello received from [172.16.200.2] via [xl0]
> OSPF: Packet[Hello:RECV]: Options *|*|-|-|-|-|E|*
> OSPF: Z: make_hello: options: 70, int: xl0
> OSPF: Hello sent to [224.0.0.5] via [xl0].
>
> titan-ospf(config-router)# end
> titan-ospf# sh ip ospf neigh
>
> Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL
> 172.16.200.2 100 Init/DROther 00:00:32 172.16.2.2 xl0 0 0 0
> titan-ospf# OSPF: Hello received from [172.16.200.2] via [xl0]
> OSPF: Packet[Hello:RECV]: Options *|*|-|-|-|-|E|*
> OSPF: DR-Election[1st]: Backup 0.0.0.0
> OSPF: DR-Election[1st]: DR 0.0.0.0
> OSPF: DR-Election[2nd]: Backup 0.0.0.0
> OSPF: DR-Election[2nd]: DR 0.0.0.0
> Connection closed by foreign host.
> [1] + Done ethereal
> root@titan{522} $ cd /var/lo
>
>
> Cisco never shows neighbor...
>
> I don't get OSPF running on FreeBSD 5.0 (-current),
> no matter what I do.
>
> Some other people running zebra on -current ???
>
> Andreas ///
>
>
> !
> ! Zebra configuration saved from vty
> ! 2000/07/11 08:38:51
> !
> hostname titan-ospf
> password c
> enable password c
> log file /var/log/zebra-ospfd.log
> log stdout
> log record-priority
> !
> !
> !
> interface xl0
> !
> interface ed0
> !
> interface lo0
> !
> router ospf
> redistribute connected
> redistribute static metric 50
> network 172.16.2.0/24 area 0
> !
> line vty
> exec-timeout 0 0
> !
>
>
> !
> ! Zebra configuration saved from vty
> ! 2000/06/27 19:27:50
> !
> hostname titan-zebra
> password c
> enable password c
> log file /var/log/zebra.log
> log record-priority
> service advanced-vty
> !
> interface xl0
> description DMZ
> !
> interface ed0
> description internal
> !
> interface ppp0
> !
> interface lo0
> description loopback
> !
> interface gif0
> !
> interface gif1
> !
> interface gif2
> !
> interface gif3
> !
> interface stf0
> !
> interface faith0
> !
> line vty
> exec-timeout 0 0
> !
>
> --
> Andreas Klemm http://people.FreeBSD.ORG/~andreas
> http://www.freebsd.org/~fsmp/SMP/SMP.html
> powered by Symmetric MultiProcessor FreeBSD
> New APSFILTER 542 and songs from our band - http://people.freebsd.org/~andreas
>
>
--
Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007111729.KAA04105>
