Problem with OSPF NBMA and MikroTik

Marek Wajdzik wajdzik.m at gmail.com
Wed May 18 21:41:14 CEST 2011


Hi.

I've some troubles with bird running this config:


router id 10.0.0.1;

filter FromOSPF {
        if proto="OSPF" then accept;
        reject;
}

protocol kernel KRT {
        learn;
        persist;
        scan time 20;
        import all;
        export filter FromOSPF;
}

protocol device Ifaces {
        scan time 10;
}

protocol static DefaultGW {
        route 0.0.0.0/0 reject;
}

filter DefaultOriginate {
        if proto = "DefaultOriginate" then accept;
        reject;
}

protocol ospf OSPF {
        import all;
        export filter DefaultOriginate;
        area 0.0.0.0 {
                interface "vlan2000" {
                        hello 10;
                        retransmit 5;
                        cost 10;
                        priority 30;
                        dead 40;
                        wait 40;
                        type nbma;
                        authentication none;
                        strict nonbroadcast yes;
                        neighbors {
                                172.30.0.120;
                        };

                };
        };
}

172.30.0.1 - compiled from fresh sources: bird 1.3.1 running debian
with kernel 2.6.38.6 x64
172.30.0.120 - It is a mikrotik routeros version 5.2 node with configured ospf.

When I restart the ospf in bird (birdc restrart OSPF) :P Mikrotik says:

00:59:09 route,ospf,debug RECV: Hello <- 172.30.0.1 on vlan2000 (172.30.0.120)
00:59:09 route,ospf,debug,raw PACKET:
00:59:09 route,ospf,debug,raw     45 C0 00 44 74 DA 00 00 40 59 AC 11
AC 1E 00 01
00:59:09 route,ospf,debug,raw     AC 1E 00 78 02 01 00 30 0A 00 00 01
00 00 00 00
00:59:09 route,ospf,debug,raw     3B E5 00 00 30 E3 E5 01 00 00 00 00
FF FF FF 00
00:59:09 route,ospf,debug,raw     00 0A 02 1E 00 00 00 28 AC 1E 00 01
00 00 00 00
00:59:09 route,ospf,debug,raw     0A 00 00 78
00:59:09 route,ospf,info Discarding packet: wrong chekcsum
00:59:09 route,ospf,info     source=172.30.0.1
00:59:11 route,ospf,debug RECV: Database Description <- 172.30.0.1 on
vlan2000 (172.30.0.120)
00:59:11 route,ospf,debug,raw PACKET:
00:59:11 route,ospf,debug,raw     45 C0 00 34 74 DB 00 00 40 59 AC 20
AC 1E 00 01
00:59:11 route,ospf,debug,raw     AC 1E 00 78 02 02 00 20 0A 00 00 01
00 00 00 00
00:59:11 route,ospf,debug,raw     12 9C 00 00 30 E3 E5 01 00 00 00 00
05 DC 02 07
00:59:11 route,ospf,debug,raw     BB 69 1D F4
00:59:11 route,ospf,info Discarding packet: wrong chekcsum
00:59:11 route,ospf,info     source=172.30.0.1
00:59:19 route,ospf,debug RECV: Hello <- 172.30.0.1 on vlan2000 (172.30.0.120)
00:59:19 route,ospf,debug,raw PACKET:
00:59:19 route,ospf,debug,raw     45 C0 00 40 74 DC 00 00 40 59 AC 13
AC 1E 00 01
00:59:19 route,ospf,debug,raw     AC 1E 00 78 02 01 00 2C 0A 00 00 01
00 00 00 00
00:59:19 route,ospf,debug,raw     46 61 00 00 30 E3 E5 01 00 00 00 00
FF FF FF 00
00:59:19 route,ospf,debug,raw     00 0A 02 1E 00 00 00 28 AC 1E 00 01
00 00 00 00
00:59:19 route,ospf,info Discarding packet: wrong chekcsum
00:59:19 route,ospf,info     source=172.30.0.1

bird lsa db:

bird> show ospf lsadb

Global

 Type   LS ID           Router           Age  Sequence  Checksum
 0005  0.0.0.0         10.0.0.1          544  80000001    a1f0

Area 0.0.0.0

 Type   LS ID           Router           Age  Sequence  Checksum
 0001  10.0.0.1        10.0.0.1          467  80000001    4224


Here is tcpdump:
http://consi.jest.pro/ospf.dump

Similar problem here:
http://www.mail-archive.com/bird-users@atrey.karlin.mff.cuni.cz/msg01037.html

Please help! :(



More information about the Bird-users mailing list