Hello!

Sorry for a long answer. I think I saw hello from previous configuration. Now test it again and with mode = ptmp bird does not send hello until neighbors are configured. 
Unfortunatelly, I also does not lear neighbors from incoming hellos. Yes, I know about API change, but official FreeBSD bird port is 1.6.3 and it has a patch for FreeBSD 11.
With debug all I see the messages:
<TRACE> main_ospf: HELLO packet sent via em0

every 2 seconds (I changed settings), but tcpdump sees no packets on interface :(

And yes, when mode is broadcast there are no problems really. 

Regards,
Boris


вс, 5 февр. 2017 г. в 14:38, Борис Коваленко <b.ju.kovalenko@gmail.com>:
Hello!

Trying to run bird on ethernet interface with type = ptmp. Yes, I know that ethernet is broadcast interface, but there is a good practice to use ptmp on ethernet. I found a strange bug. When type = ptmp, bird sends only one Hello packet and then stops (and even receive?) next packets until I fully restart bird, while other side (cisco or mikrotik) sends packets every 10s (as configured).
There is no problems with type = broadcast

Here is my simple test configuration:
protocol ospf main_ospf {
    import      all;

    instance id         0;
    tick                5;

    area 0.0.0.0 {
       networks {
            X.X.16.78/32;
            X.X.16.80/28;
        };

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

FreeBSD - 11-STABLE
Bird 1.6.3

With regards,
Boris

--

С уважением,
Борис Коваленко

--

С уважением,
Борис Коваленко