Dynamic routes from OSPF disappear

Gregor Kališnik gregor at unimatrix.si
Wed Jun 25 19:47:24 CEST 2014


Hi.

I've checked and both agree on the same DR router (in bird checked the show 
ospf interface).

LSA type 2 is removed and with it all networks.

bird> show ospf state 

area 10.16.0.0

        router 10.16.8.1
                distance 0
                network [10.16.0.1] metric 10
                stubnet 10.16.8.0/22 metric 10
                stubnet 10.16.12.0/22 metric 10
                stubnet 10.16.8.1/32 metric 10
                stubnet 10.2.126.1/32 metric 10

bird> show ospf topology 

area 10.16.0.0

        router 10.16.8.1
                distance 0
                network [10.16.0.1] metric 10

bird> show ospf neighbors 
ospf1:
Router ID       Pri          State      DTime   Interface  Router IP   
10.16.0.1         2         full/dr     00:31   eth0       10.16.0.1

bird> show ospf lsadb 

Area 10.16.0.0

 Type   LS ID           Router           Age  Sequence  Checksum
 0003  0.0.0.0         10.16.0.1        1134  80000034    4cc3
 0001  10.16.0.1       10.16.0.1         306  80000062    ac99
 0001  10.16.8.1       10.16.8.1        1523  800000cf    257a

As you can see in show ospf topology, there is no sign of 10.16.0.1 router :) 
.

I'll enable debugging, there should be the message that triggers LSA removal.

Best regards,
Gregor Kališnik

On Wednesday 25 of June 2014 17:41:19 Ondrej Zajicek wrote:
> On Wed, Jun 25, 2014 at 04:40:52PM +0200, Gregor Kališnik wrote:
> > Hi.
> > 
> > After some more investigation I've figured out that a LSA type 2 gets
> > removed. After it is removed, all routes from OSPF are removed. By
> > setting the connection as ptp should fix it (link was broadcast before).
> > 
> > Interface on the router has IP address 10.16.0.1/12 and on the server it
> > has 10.16.8.1/12. Server has a bridge (for LXC container) with
> > 10.16.8.1/22.
> > 
> > RouterOS' OSPF daemon is on 10.16.0.1/12 interface while bird is on
> > 10.16.8.1/12. As far as I know, this configuration should work as
> > broadcast.
> Hi
> 
> You could check whether both sides have the same idea of DR (designated
> router) and Backup DR. I have some reports about Mikrotik RouterOS vs. BIRD
> compatibility problems w.r.t. DR election, where both sides think the other
> side is DR. Workaround is to change network to PtP (if possible) or set
> different priority on both sided. BTW, RouterOS being the other OSPF router
> is the key information i missed in your original report.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20140625/c3a564b8/attachment-0001.asc>


More information about the Bird-users mailing list