OpenWrt Forum Archive

Topic: Quagga - OSPF problems with other versions

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I got a network with cca 100 Debian and Mandrake based routers (2.6.18 kernel) running Quagga 0.99.7.
I am trying to get OpenWRT routerboard working on the network, but OSPF keeps disconnecting.

Debian neighbour router:

Hello, this is Quagga (version 0.99.7).

New OpenWRT 8.09 routerboard (RB433AH):

Hello, this is Quagga (version 0.98.6).

The link is wireless, but stable with less than 0.01% packet loss (flood on an active link)...

cokolada:/home/dajhard# ping 10.14.254.237 -f
PING 10.14.254.237 (10.14.254.237) 56(84) bytes of data.
...
--- 10.14.254.237 ping statistics ---
146638 packets transmitted, 146635 received, 0% packet loss, time 78988ms
 tt min/avg/max/mdev = 0.167/0.464/20.769/0.414 ms, pipe 2, ipg/ewma 0.538/0.604 ms

OSPF on the OpenWRT box seems to be working OK, sometimes when OSPF drops, it is stuck in the INIT phase.
OSPF on the Debian box keeps time-outing, and then it falls out. While the OpenWRT box is in INIT state, the link doesn't get back for some time, or at all. But, after a while it usually connects back.

Debian box:

cokolada.wifihr> sh ip ospf neighbor

    Neighbor ID Pri State           Dead Time Address         Interface            RXmtL RqstL DBsmL
 10.14.17.1        0 Full/DROther      38.013s 10.14.252.149   ath0:10.14.252.150       0     0     0
 10.14.21.32       2 Full/DR            0.190s 10.14.254.237   ath1:10.14.254.238       0     0     0
cokolada.wifihr> sh ip ospf neighbor

    Neighbor ID Pri State           Dead Time Address         Interface            RXmtL RqstL DBsmL
 10.14.17.1        0 Full/DROther      37.292s 10.14.252.149   ath0:10.14.252.150       1     0     0
cokolada.wifihr> sh ip ospf neighbor

    Neighbor ID Pri State           Dead Time Address         Interface            RXmtL RqstL DBsmL
 10.14.17.1        0 Full/DROther      32.362s 10.14.252.149   ath0:10.14.252.150       0     0     0
 10.14.21.32       2 Full/DR           35.648s 10.14.254.237   ath1:10.14.254.238       0     0     0
cokolada.wifihr>

OpenWRT box:

ferkaRB.wifihr> sh ip ospf neighbor

 neighbor ID     Pri   State           Dead Time   Address         Interface           RXmtL RqstL DBsmL
 10.14.56.1        0   Init/DROther    00:00:34    10.14.254.238   ath0:10.14.254 237     0     0     0

ferkaRB.wifihr> sh ip ospf neighbor

 neighbor ID     Pri   State           Dead Time   Address         Interface           RXmtL RqstL DBsmL
 10.14.56.1        0   Full/DROther    00:00:40    10.14.254.238   ath0:10.14.254 237     0     0     0

Any idea how to get OSPF to work?
Is it possible to compile the 0.99.7 version of Quagga for OpenWRT Kamikaze_8.09 kernel 2.6.27.5?
Any how-to make a compiler box for this and other modules when needed?

Thx!

Solved.

Thx to acoul.

Can you tell us what the solution was so others (including myself) can benefit? smile

Thanks!

Use Quagga-unstable (0.99.11 or 0.99.12) in place of quagga (0.98.6) package.
I compiled it and use it on a 8.09 Kamikaze powered routerboard (works for any version later than and including 8.09 RC, as far as i have tried).

The discussion might have continued from here.