<div dir="ltr">Hi Bernd,<div>no, the routing "from the kernel" doesn't come via 'learn yes', but via RIB, I mean if I do 'route' it shows the directly connected networks. The problem is that if I use the Direct protocol, the command 'route' shows me two same directly connected networks, one coming from RIB and the other one coming from Bird. </div><div>I tried protocol bgp { direct; }, but it doesn't change.</div><div><br></div><div>Thanks,</div><div><br></div><div>Fabiano</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 23 mar 2020 alle ore 16:15 Bernd Naumann <<a href="mailto:bena@spreadshirt.net">bena@spreadshirt.net</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 23.03.20 16:01, Fabiano D'Agostino wrote:<br>
> Hi Benedikt,<br>
> I am just learning Bird and I didn't want to use the Direct protocol<br>
> because using it I have two same routes in the RIB for the directly<br>
> connected networks, one coming from the kernel and the second one coming<br>
> from the direct protocol.<br>
<br>
<br>
Is the routing "from the kernel" coming via `learn yes;`? If you have no <br>
need to import "alien" routes, you can disable `learn` and just use <br>
`direct` and `static` protocol. /* OR if you know that your neighbor is <br>
directly connected to you can also set 'direct' on the `protocol bgp`. */<br>
<br>
Bernd<br>
<br>
<br>
</blockquote></div>