OSPF ptmp

Борис Коваленко b.ju.kovalenko at gmail.com
Sat Mar 4 19:19:54 CET 2017


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

[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
23:11:15.129276 IP (tos 0x0, ttl 1, id 28686, 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: 0x0025009f
        Options [External]
          Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.240, Priority 1
          Neighbor List:
            X.X.16.78
23:11:15.129321 IP (tos 0xc0, ttl 1, id 59292, 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: 0x0024f83f
        Options [External]
          Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.240, Priority 1
          Neighbor List:
            X.X.16.77

em0 DOWN (index=1)
        MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500
em1 DOWN (index=2)
        MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500
lo0 up (index=3)
        MultiAccess AdminUp LinkUp Loopback Ignored MTU=16384
        127.0.0.1/8 (Primary, scope host)
enc0 DOWN (index=4)
        MultiAccess AdminDown LinkUp MTU=1536
em0.102 up (index=5)
        MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500
        X.X.16.82/28 (Primary, scope univ)
em1.600 up (index=6)
        MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500
        X.X.1.254/23 (Primary, scope univ)
em1.4065 up (index=7)
        MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500
        X.X.255.1/28 (Primary, scope site)
lo1 up (index=8)
        MultiAccess AdminUp LinkUp Loopback Ignored MTU=16384
        X.X.16.78/32 (Primary, scope univ)
em1.21 up (index=9)
        MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500
        X.X.16.203/31 (Primary, opposite 80.64.16.202, scope univ)

bird> show ospf interface
main_ospf:
Interface em1.21 (X.X.16.202/31)
        Type: ptp
        Area: 0.0.1.1 (257)
        State: PtP
        Priority: 1
        Cost: 10
        Hello timer: 10
        Wait timer: 40
        Dead timer: 40
        Retransmit timer: 5
Interface em1.4065 (X.X.255.0/28)
        Type: broadcast
        Area: 0.0.1.1 (257)
        State: Waiting (stub)
        Priority: 1
        Cost: 10
        Hello timer: 10
        Wait timer: 40
        Dead timer: 40
        Retransmit timer: 5
        Designated router (ID): 0.0.0.0
        Designated router (IP): 0.0.0.0
        Backup designated router (ID): 0.0.0.0
        Backup designated router (IP): 0.0.0.0
Interface em1.600 (X.X.0.0/23)
        Type: broadcast
        Area: 0.0.1.1 (257)
        State: DR
        Priority: 1
        Cost: 10
        Hello timer: 10
        Wait timer: 40
        Dead timer: 40
        Retransmit timer: 5
        Designated router (ID): X.X.16.78
        Designated router (IP): X.X.1.254
        Backup designated router (ID): 0.0.0.0
        Backup designated router (IP): 0.0.0.0
Interface lo1 (X.X.16.78/32)
        Type: ptp
        Area: 0.0.0.0 (0)
        State: PtP (stub)
        Priority: 0
        Cost: 10
        Hello timer: 60
        Wait timer: 240
        Dead timer: 30
        Retransmit timer: 10
Interface em0.102 (X.X.16.80/28)
        Type: ptp
        Area: 0.0.0.0 (0)
        State: PtP
        Priority: 1
        Cost: 10
        Hello timer: 10
        Wait timer: 40
        Dead timer: 40
        Retransmit timer: 5


    area 0.0.0.0 {
        interface "lo1" {
            stub        yes;
            priority    0;
            type        ptp;
            hello       60;
            retransmit  10;
            dead        30;
        };

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

        };
    };

Regards,
Boris


вт, 28 февр. 2017 г. в 5:13, Ondrej Zajicek <santiago at crfreenet.org>:

> On Sat, Feb 25, 2017 at 06:38:24AM +0000, Борис Коваленко wrote:
> > пн, 20 февр. 2017, 9:06 Борис Коваленко <b.ju.kovalenko at gmail.com>:
> >
> > 1) No, there are no incoming HELLOs in log
>
> Hi
>
> That looks strange. Could you send me output of tcpdump (with Hello
> packets from the other side), config file and output of
> 'show interfaces' and 'show ospf interfaces'?
>
> --
> 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/20170304/e0583326/attachment.html>


More information about the Bird-users mailing list