<div dir="ltr">Hi Benedikt,<div>I am just learning Bird and I didn't want to use the Direct protocol because using it I have two same routes in the RIB for the directly connected networks, one coming from the kernel and the second one coming from the direct protocol.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 23 mar 2020 alle ore 16:01 Fabiano D'Agostino <<a href="mailto:fabiano.dagostino96@gmail.com">fabiano.dagostino96@gmail.com</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"><div dir="ltr">Hi Benedikt,<div>I am just learning Bird and I didn't want to use the Direct protocol because using it I have two same routes in the RIB for the directly connected networks, one coming from the kernel and the second one coming from the direct protocol.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 23 mar 2020 alle ore 15:38 Benedikt Neuffer <<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</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">Hi Fabiano,<br>
<br>
that should be the reason. The TCP connection is done via RIB (kernel<br>
routing table). In FIB (birds internal table) the route is currently<br>
missing.<br>
If you enable the direct protocol a route for 192.168.2.22 will be<br>
appear in the FIB and the nexthop resolution will work.<br>
<br>
Is there a reason why you don't want to use the direct protocol?<br>
<br>
Regards,<br>
Benedikt<br>
<br>
On 23.03.20 14:46, Fabiano D'Agostino wrote:<br>
> Hi,<br>
> thanks for helping, <br>
> I did show route for 192.168.2.22 (which is my neighbor) table all all<br>
> --> I get Network not found.<br>
> show protocols: bgp established<br>
> show protocol all bgp1: 0 imported, 0 exported<br>
> <br>
> <br>
> Il giorno lun 23 mar 2020 alle ore 14:18 Benedikt Neuffer<br>
> <<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a> <mailto:<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a>>> ha scritto:<br>
> <br>
> Hi Fabio,<br>
> <br>
> so the routes are in FIB (kernel) but maybe not in RIB (bird).bb<br>
> <br>
> Can you provide me the output of "show route for <prefix> table all all"<br>
> where <prefix> should be the prefix configured on the connection or the<br>
> ip address of the neighbor.<br>
> <br>
> Regards,<br>
> Bene<br>
> <br>
> On 23.03.20 12:43, Fabiano D'Agostino wrote:<br>
> > Hi Benedikt,<br>
> > the nexthop is resolvable, indeed router1 can ping router2'nic in the<br>
> > same network of router1, with direct protocol disabled. The<br>
> scenario is: <br>
> > PCa - R1 - R2 - PCb<br>
> > With direct protocol enabled and bgp working: PCa can ping PCb<br>
> > With direct protocol disabled and bgp working: PCa can't ping PCb<br>
> ><br>
> ><br>
> > Il giorno lun 23 mar 2020 alle ore 12:26 Benedikt Neuffer<br>
> > <<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a> <mailto:<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a>><br>
> <mailto:<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a> <mailto:<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a>>>><br>
> ha scritto:<br>
> ><br>
> > Hi Fabio,<br>
> ><br>
> > the BGP nexthop field must be resolvable. In other words there<br>
> must be a<br>
> > route to the neighbor in RIB.<br>
> ><br>
> > Regards,<br>
> > Bene<br>
> ><br>
> ><br>
> > On 23.03.20 12:05, Fabiano D'Agostino wrote:<br>
> > > Hi all,<br>
> > > why if I disable the direct protocol the BGP routes are not<br>
> > > imported/exported? If I run show route, it is empty, while<br>
> if I enable<br>
> > > the direct protocol show route has directly connected routes and<br>
> > BGP routes.<br>
> > > My configuration is very easy, two routers make a eBGP<br>
> peering and<br>
> > they<br>
> > > import and export all routes. I am using Bird 2.0.7.<br>
> > ><br>
> > > Thanks,<br>
> > ><br>
> > > Fabiano<br>
> ><br>
> ><br>
> > --<br>
> > Karlsruher Institut für Technologie (KIT)<br>
> > Steinbuch Centre for Computing (SCC)<br>
> ><br>
> > Benedikt Neuffer<br>
> > Netze und Telekommunikation (NET)<br>
> ><br>
> > Hermann-von-Helmholtz-Platz 1<br>
> > Gebäude 442<br>
> > Raum 185<br>
> > 76344 Eggenstein-Leopoldshafen<br>
> ><br>
> > Telefon: +49 721 608-24502<br>
> > Fax: +49 721 608-47763<br>
> > E-Mail: <a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a><br>
> <mailto:<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a>> <mailto:<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a><br>
> <mailto:<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a>>><br>
> > Web: <a href="https://www.scc.kit.edu" rel="noreferrer" target="_blank">https://www.scc.kit.edu</a><br>
> ><br>
> ><br>
> ><br>
> > Sitz der Körperschaft:<br>
> > Kaiserstraße 12, 76131 Karlsruhe<br>
> ><br>
> ><br>
> ><br>
> > KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft<br>
> ><br>
> ><br>
> ><br>
> > Signaturversion: 19.1.0 beta<br>
> ><br>
> <br>
> <br>
> -- <br>
> Karlsruher Institut für Technologie (KIT)<br>
> Steinbuch Centre for Computing (SCC)<br>
> <br>
> Benedikt Neuffer<br>
> Netze und Telekommunikation (NET)<br>
> <br>
> Hermann-von-Helmholtz-Platz 1<br>
> Gebäude 442<br>
> Raum 185<br>
> 76344 Eggenstein-Leopoldshafen<br>
> <br>
> Telefon: +49 721 608-24502<br>
> Fax: +49 721 608-47763<br>
> E-Mail: <a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a> <mailto:<a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a>><br>
> Web: <a href="https://www.scc.kit.edu" rel="noreferrer" target="_blank">https://www.scc.kit.edu</a><br>
> <br>
> <br>
> <br>
> Sitz der Körperschaft:<br>
> Kaiserstraße 12, 76131 Karlsruhe<br>
> <br>
> <br>
> <br>
> KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft<br>
> <br>
> <br>
> <br>
> Signaturversion: 19.1.0 beta<br>
> <br>
<br>
<br>
-- <br>
Karlsruher Institut für Technologie (KIT)<br>
Steinbuch Centre for Computing (SCC)<br>
<br>
Benedikt Neuffer<br>
Netze und Telekommunikation (NET)<br>
<br>
Hermann-von-Helmholtz-Platz 1<br>
Gebäude 442<br>
Raum 185<br>
76344 Eggenstein-Leopoldshafen<br>
<br>
Telefon: +49 721 608-24502<br>
Fax: +49 721 608-47763<br>
E-Mail: <a href="mailto:benedikt.neuffer@kit.edu" target="_blank">benedikt.neuffer@kit.edu</a><br>
Web: <a href="https://www.scc.kit.edu" rel="noreferrer" target="_blank">https://www.scc.kit.edu</a><br>
<br>
<br>
<br>
Sitz der Körperschaft:<br>
Kaiserstraße 12, 76131 Karlsruhe<br>
<br>
<br>
<br>
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft<br>
<br>
<br>
<br>
Signaturversion: 19.1.0 beta<br>
<br>
</blockquote></div>
</blockquote></div>