<div dir="ltr">Does 'show route where' exist as command? Because I have syntax error.<div>Anyway I set up my route server as here:</div><div><a href="https://www.slideshare.net/apnic/bird-routing-daemon">https://www.slideshare.net/apnic/bird-routing-daemon</a> </div><div>But I am having the problem described here:</div><div><a href="https://bird.network.cz/pipermail/bird-users/2010-September/001620.html">https://bird.network.cz/pipermail/bird-users/2010-September/001620.html</a></div><div><br></div><div>I just edited the bird.conf of the route server, should I also edit the bird.conf of the routers which are peering with the route server?</div><div><br></div><div>Thanks, <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 6 apr 2020 alle ore 17:50 Alexander Zubkov <<a href="mailto:green@qrator.net">green@qrator.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">Have you tried to check that in cli like:<br>
show route where bgp_out(...)<br>
And check that required route has all needed communities:<br>
show route all x.x.x.x/y<br>
<br>
On Mon, Apr 6, 2020 at 5:35 PM Fabiano D'Agostino<br>
<<a href="mailto:fabiano.dagostino96@gmail.com" target="_blank">fabiano.dagostino96@gmail.com</a>> wrote:<br>
><br>
> Hey,<br>
> thank you! I think I am having the same problem they had here:<br>
> <a href="https://bird.network.cz/pipermail/bird-users/2010-September/001620.html" rel="noreferrer" target="_blank">https://bird.network.cz/pipermail/bird-users/2010-September/001620.html</a><br>
><br>
> But I didn't understand how they solved.<br>
><br>
> Regards,<br>
> Fabiano<br>
><br>
> Il giorno lun 6 apr 2020 alle ore 17:16 Cybertinus <<a href="mailto:bird@cybertinus.nl" target="_blank">bird@cybertinus.nl</a>> ha scritto:<br>
>><br>
>> Hello Fabiano,<br>
>><br>
>><br>
>> BGP Communities are basically tags you add to a prefix that is received from, or send to, a peer. And in Bird you can do whatever you want with these communities. A community by itself has no meaning and has no influence on the routing decision whatsoever. It is the meaning you add to it in your configuration what makes them work.<br>
>><br>
>> More information about communities: <a href="https://en.wikipedia.org/wiki/Border_Gateway_Protocol#Communities" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Border_Gateway_Protocol#Communities</a><br>
>><br>
>><br>
>> Kind regards,<br>
>> Cybertinus<br>
>><br>
>><br>
>> On 2020-04-06 17:03, Fabiano D'Agostino wrote:<br>
>><br>
>> and how these kind of checks are handled?<br>
>> if (myas,peeras) ~ bgp_community  what is bgp_community?<br>
>><br>
>> Thanks,<br>
>><br>
>> Il giorno lun 6 apr 2020 alle ore 15:32 Fabiano D'Agostino <<a href="mailto:fabiano.dagostino96@gmail.com" target="_blank">fabiano.dagostino96@gmail.com</a>> ha scritto:<br>
>><br>
>> Thank you, but "if the route does not come from BGP then false"<br>
>> here I have:<br>
>> protocol pipe a {<br>
>>     table master;<br>
>>     mode transparent;<br>
>>     peer table a;<br>
>>     import all;<br>
>>     export where bgp_out(x); => this becomes false, what does this mean?<br>
>>     #export all;<br>
>> }<br>
>><br>
>> Thanks,<br>
>><br>
>> Il giorno lun 6 apr 2020 alle ore 10:50 Bernd Naumann <<a href="mailto:bena@spreadshirt.net" target="_blank">bena@spreadshirt.net</a>> ha scritto:<br>
>><br>
>> On 05.04.20 23:08, Fabiano D'Agostino wrote:<br>
>> > Good evening,<br>
>> > could someone explain me the meaning of these lines?<br>
>> ><br>
>> > function bgp_out(int peeras)<br>
>> > {<br>
>> > if ! (source = RTS_BGP ) then return false;<br>
>> > if peeras > 65535 then return true; ### communities do not support AS32<br>
>> > if (0,peeras) ~ bgp_community then return false;<br>
>> > if (myas,peeras) ~ bgp_community then return true;<br>
>> > if (0, myas) ~ bgp_community then return false;<br>
>> > return true;<br>
>> > }<br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > Fabiano<br>
>> ><br>
>><br>
>> Morning,<br>
>><br>
>> I can not cover the whole section but as a start...<br>
>><br>
>> * if the route does not come from BGP then false (routing table source?)<br>
>> * if the remote AS Number is greater 65535 (16 Bit) then "just" return<br>
>> true (see AS 32 Bit Numbers, and the non-support of older<br>
>> devices/implementations)<br>
>> * For the next 3 I'm not 100% sure how to read but I found<br>
>> <a href="https://bird-users.network.narkive.com/3uDbo6H9/any-ix-willing-to-share-their-config" rel="noreferrer" target="_blank">https://bird-users.network.narkive.com/3uDbo6H9/any-ix-willing-to-share-their-config</a><br>
>><br>
>> ```<br>
>> 0:XXXXX - Do not announce route to peer XXXXX<br>
>> 0:MyASN - Do not announce route to all peers<br>
>> MyASN:XXXXX - Announce route to peer XXXXX only<br>
>> MyASN:MyASN - Announce routes to all peers. This community is<br>
>> automatically added to all routes that are not<br>
>> tagged with any of MyASN:XXXXX communities.<br>
>> ```<br>
>><br>
>> Maybe this helps a little bit.<br>
>><br>
>> Bernd<br>
</blockquote></div>