<div dir="ltr"><div>Here my configuration (client):</div><div><br></div><div>ifconfig tun0:</div><div><div>tun0   Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00</div><div>     inet addr:10.29.0.10 P-t-P:10.29.0.9 Mask:255.255.255.255</div></div><div><br></div><div>bird_ospf.conf (included in bird.conf) :</div><div><div><br></div><div><div>protocol ospf myOSPF {</div></div><div>    area 0.0.0.0 {<br></div><div>        interface "tun0" {<br></div><div>            cost 10;</div><div>            type ptp;</div><div>            stub no; hello 10; transmit delay 5; wait 10; dead 40;</div><div>            neighbors {</div><div>                10.29.0.1;<br></div><div>            }; }; };</div></div><div><br></div><div><div>tcpdump -v -XX proto ospf -i tun0 (confirmation, that hello messages are sent and received) :</div></div><div><br></div><div><div><br></div><div>12:59:03.143238 IP (tos 0xc0, ttl 1, id 15765, offset 0, flags [none], proto OSPF (89), length 64)</div><div> 10.29.0.01 > <a href="http://224.0.0.5">224.0.0.5</a>: OSPFv2, Hello, length 44</div><div>...</div><div>12:59:09.157965 IP (tos 0xc0, ttl 1, id 59599, offset 0, flags [none], proto OSPF (89), length 64)</div><div>  10.29.0.10 > <a href="http://224.0.0.5">224.0.0.5</a>: OSPFv2, Hello, length 44</div></div><div><br></div><div><br></div><div>The server is using similar configuration. It differs only by IP(10.29.0.1) and router-ID. </div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-29 13:37 GMT+02:00 dawid k <span dir="ltr"><<a href="mailto:tookie009smieci@gmail.com" target="_blank">tookie009smieci@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div dir="ltr"><div style="font-size:12.8px">I'm trying to set up pretty simply configuration consisting of two linux machines connected over tun-interface created by OpenVPN. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The VPN-connection is working fine - I can send data over this interface. Now I installed bird and configured ospf on both devices. I can see that both bird instances are sending hello packets on tun-interface however no one of them is getting the message. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I can see with tcpdump, that every device is getting the hello-message. However they are not forwarded to bird or bird just ignores them.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I tried my setup over cabel with eth0-interface and everything is working fine. Right now every machine is advertising just one example static network. I will focus on correct advertising later after I connect those two instances. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The tun0 interface is working in type ptp and the netmask is 255.255.255.255. Do you have any idea what's wrong? </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks for every input, tookie009</div></div>
</div></div></blockquote></div><br></div>