<div dir="ltr"><pre style="white-space:pre-wrap">Hello, Ondrej!</pre><pre style="white-space:pre-wrap">There was something wrong with my previous test. So I did new one.</pre><pre style="white-space:pre-wrap">Answering your questions:</pre><pre style="white-space:pre-wrap">1) Where interface is broadcast and mode is ptmp - bird does not send any packet (checked with tcpdump) but with "debug all" there are messages "<TRACE> main_ospf: HELLO packet sent via em0" every tick.</pre><pre style="white-space:pre-wrap">2) Yes, if neighbors are configured ptmp works as expected. Without neighbors configured it even does not learn neighbors from incoming packets.</pre><pre style="white-space:pre-wrap">3) I read FreeBSD related post, but 1.6.3 is official port for FreeBSD and it includes patch:</pre><pre><span style="white-space:pre-wrap">+#if (defined __OpenBSD__) || (defined __DragonFly__) || (defined __FreeBSD__ && (__FreeBSD_version >= 1100030))
+ /* Different BSDs have different expectations of ip_len endianity */
ip->ip_len = htons(ip->ip_len);
#endif<br></span></pre><pre><span style="white-space:pre-wrap">4) There really are no problems with mode == broadcast</span></pre><pre><span style="white-space:pre-wrap"><br></span></pre><pre style="white-space:pre-wrap">><i> Hello!
</i>><i>
</i>><i> Trying to run bird on ethernet interface with type = ptmp. Yes, I know that
</i>><i> ethernet is broadcast interface, but there is a good practice to use ptmp
</i>><i> on ethernet. I found a strange bug. When type = ptmp, bird sends only one
</i>><i> Hello packet and then stops (and even receive?) next packets until I fully
</i>><i> restart bird, while other side (cisco or mikrotik) sends packets every 10s
</i>><i> (as configured).
</i>
Hello
To which address it sends the Hello packet? To the first learned neighbor?
What you see in logs if you enable 'debug all' for OSPF? What is shown by
'show ospf neighbors'?
Note that BIRD expect that you specify neighbors in 'neighbors' section
for NBMA or PTMP modes, but it would learn neighbors from received Hello
packets.
><i> There is no problems with type = broadcast
</i>
><i> FreeBSD - 11-STABLE
</i>><i> Bird 1.6.3
</i>
There were people reporting problems in FreeBSD 11 due to API change,
but that would affect also broadcast mode:
<a href="https://www.mail-archive.com/bird-users@network.cz/msg01542.html">https://www.mail-archive.com/bird-users@network.cz/msg01542.html</a>
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: <a href="http://trubka.network.cz/mailman/listinfo/bird-users">santiago at crfreenet.org</a>)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, <a href="http://wwwkeys.pgp.net">wwwkeys.pgp.net</a>)
"To err is human -- to blame it on a computer is even more so."</pre></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr">С уважением, <br>
Борис Коваленко </p>
</div></div>