<div dir="ltr"><span style="font-size:13px">Hi Ondrej,</span><div style="font-size:13px"><br></div><div style="font-size:13px">Thanks for your help. I've changed as you suggested on sysdep/bsd/krt-sock.c to PROTO2 and i worked fine.</div><div style="font-size:13px"><br></div><div style="font-size:13px">I'd would like know what kind of problem i would have if i keep this change on my bird. Can i run into some issues with other protocols or systems?</div><div style="font-size:13px"><br></div><div style="font-size:13px">Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 25, 2015 at 5:42 AM, Ondrej Zajicek <span dir="ltr"><<a href="mailto:santiago@crfreenet.org" target="_blank">santiago@crfreenet.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jun 18, 2015 at 05:14:41PM -0300, Cassiano Peixoto wrote:<br>
> Hello,<br>
><br>
> I have a particular scenario where my BGP runs with OpenBGP and I can not<br>
> change it right now.<br>
><br>
> However I want BIRD to use OSPF and BFD. While BIRD works perfectly, better<br>
> than OpenOSPF for my scenario, when I start it, it completely removes all<br>
> routes installed by OpenBGP.<br>
<br>
</span>Hello<br>
<br>
On BSD systems, BIRD uses PROTO1 route flag to identify 'its' routes. If<br>
OpenBGP uses the same flag, then they mix-up their routes. Currently<br>
there is no option in BIRD to change it to use PROTO2 or PROTO3 flag [*],<br>
i don't know about OpenBGP. I wonder if there is a better way to<br>
distinguish route ownership in BSD systems (like there is u8 rtm_protocol<br>
field in Linux).<br>
<br>
<br>
[*] Could be changed in the source code on these lines in<br>
sysdep/bsd/krt-sock.c:<br>
<br>
msg.rtm.rtm_flags = RTF_UP | RTF_PROTO1;<br>
...<br>
u32 self_mask = RTF_PROTO1;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Elen sila lumenn' omentielvo<br>
<br>
Ondrej 'Santiago' Zajicek (email: <a href="mailto:santiago@crfreenet.org">santiago@crfreenet.org</a>)<br>
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, <a href="http://wwwkeys.pgp.net" rel="noreferrer" target="_blank">wwwkeys.pgp.net</a>)<br>
"To err is human -- to blame it on a computer is even more so."<br>
</font></span><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iEYEARECAAYFAlWLvuIACgkQw1GB2RHercNojACeMyUR2qqw0hdxiGNqNWujZOVd<br>
rPIAoIK5hu9xcnL09HB07sra+t48Vnvr<br>
=cMpO<br>
-----END PGP SIGNATURE-----<br>
<br></blockquote></div><br></div>