OSPF ptmp

Борис Коваленко b.ju.kovalenko at gmail.com
Sun Mar 5 05:51:47 CET 2017


Hello, Ondrej!

Ough. It was deep night when I returned to this problem. Of course you are
right. Here is info for ptmp. No packets from FreeBSD.

[root at ugw]~# tcpdump -n -i em0.102 -vvv proto ospf
tcpdump: listening on em0.102, link-type EN10MB (Ethernet), capture size
262144 bytes
09:47:20.696959 IP (tos 0x0, ttl 1, id 40406, offset 0, flags [none], proto
OSPF (89), length 80)
    X.X.16.94 > 224.0.0.5: OSPFv2, Hello, length 44
        Router-ID X.X.16.77, Backbone Area, Authentication Type: MD5 (2)
        Key-ID: 1, Auth-Length: 16, Crypto Sequence Number: 0x002595db
        Options [External]
          Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.240, Priority 1
09:47:30.692401 IP (tos 0x0, ttl 1, id 40409, offset 0, flags [none], proto
OSPF (89), length 80)
    X.X.16.94 > 224.0.0.5: OSPFv2, Hello, length 44
        Router-ID X.X.16.77, Backbone Area, Authentication Type: MD5 (2)
        Key-ID: 1, Auth-Length: 16, Crypto Sequence Number: 0x002595dc
        Options [External]
          Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.240, Priority 1
09:47:40.698296 IP (tos 0x0, ttl 1, id 40412, offset 0, flags [none], proto
OSPF (89), length 80)
    X.X.16.94 > 224.0.0.5: OSPFv2, Hello, length 44
        Router-ID X.X.16.77, Backbone Area, Authentication Type: MD5 (2)
        Key-ID: 1, Auth-Length: 16, Crypto Sequence Number: 0x002595dd
        Options [External]
          Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.240, Priority 1
09:47:50.703611 IP (tos 0x0, ttl 1, id 40415, offset 0, flags [none], proto
OSPF (89), length 80)
    X.X.16.94 > 224.0.0.5: OSPFv2, Hello, length 44
        Router-ID X.X.16.77, Backbone Area, Authentication Type: MD5 (2)
        Key-ID: 1, Auth-Length: 16, Crypto Sequence Number: 0x002595de
        Options [External]
          Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.240, Priority 1

em0.102 up (index=5)
        MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500
        80.64.16.82/28 (Primary, scope univ)

Interface em0.102 (80.64.16.80/28)
        Type: ptmp
        Area: 0.0.0.0 (0)
        State: PtP
        Priority: 0
        Cost: 10
        Hello timer: 10
        Wait timer: 40
        Dead timer: 40
        Retransmit timer: 5
bird>


        interface "em0.102" {
            #
            priority            0;
            type                ptmp;
            #
            cost                10;
            hello               10;
            retransmit          5;
            dead                40;
            #
            authentication      cryptographic;
            password    "XXXXX" {
                id              1;
                algorithm       keyed md5;
            };

        };
    };

Regards,
Boris

вс, 5 мар. 2017 г. в 6:21, Ondrej Zajicek <santiago at crfreenet.org>:

On Sat, Mar 04, 2017 at 06:19:54PM +0000, Борис Коваленко wrote:
> Hello, Ondrej!
>
> Something strange. So, FreeBSD 11 with bird 1.6.3, and Mikrotik 6.38.3. As
> said previous - no problems with broadcast mode. When PtP - no luck. OSPF
> is running on em0.102 interface. FreeBSD IP is X.X.16.82, and lo1 is
> X.X.16.78

Hello

Is the tcpdump log from PtP mode? As in the Hello packets both have each
other in neighbor lists, so they see each other.

Also, you wrote about PtMP mode before, not PtP (although both should work).

> [root at ugw]~# tcpdump -n -i em0.102 -vvv proto ospf
> tcpdump: listening on em0.102, link-type EN10MB (Ethernet), capture size
> 262144 bytes
> 23:11:05.124319 IP (tos 0x0, ttl 1, id 28683, offset 0, flags [none],
proto
> OSPF (89), length 84)
>     X.X.16.94 > 224.0.0.5: OSPFv2, Hello, length 48
>         Router-ID X.X.16.77, Backbone Area, Authentication Type: MD5 (2)
>         Key-ID: 1, Auth-Length: 16, Crypto Sequence Number: 0x0025009e
>         Options [External]
>           Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.240, Priority
1
>           Neighbor List:
>             X.X.16.78
> 23:11:05.124365 IP (tos 0xc0, ttl 1, id 11981, offset 0, flags [none],
> proto OSPF (89), length 84)
>     X.X.16.82 > 224.0.0.5: OSPFv2, Hello, length 48
>         Router-ID X.X.16.78, Backbone Area, Authentication Type: MD5 (2)
>         Key-ID: 1, Auth-Length: 16, Crypto Sequence Number: 0x0024f83e
>         Options [External]
>           Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.240, Priority
1
>           Neighbor List:
>             X.X.16.77


--
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."

-- 

С уважением,
Борис Коваленко
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170305/b64b1246/attachment.html>


More information about the Bird-users mailing list