<div dir="ltr">Thanks Ondrej,<div><br></div><div>That query does seem to return all the routes of interest, but it takes a long time (many seconds per query). I'm guessing it's not FIB accelerated?</div><div><br></div><div>One of the things we're doing is script-driven bulk data collection, so we probably want something faster. (We have about 50 million routes.)</div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><br></div><br><div><div><font color="#666666"><span style="border-collapse:collapse;font-family:Helvetica">Andrew Francis</span><font style="font-family:Helvetica">  </font></font><font color="#999999" style="font-family:Helvetica"> </font><font color="#cccccc" style="font-family:Helvetica">| </font><font color="#999999" style="font-family:Helvetica">  </font><a href="http://www.twitch.tv/" style="color:rgb(17,85,204)" target="_blank"><b><font color="#674ea7" style="background-color:rgb(255,255,255)">Twitch</font></b></a><font><font color="#999999" style="font-family:Helvetica">   </font><font color="#cccccc" style="font-family:Helvetica">| </font><font color="#666666" style="font-family:Helvetica">  </font><font color="#666666" style="font-family:Helvetica">Engineering</font></font><font style="font-family:Helvetica"><font color="#666666"> </font><font color="#999999" style="color:rgb(102,102,102)">  </font><font color="#c0c0c0">| </font><font color="#666666"><font>  </font><a value="+14158080802" style="color:rgb(17,85,204)">415 430 8612</a></font></font></div><div><br></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Jan 23, 2015 at 3:09 AM, Ondrej Filip <span dir="ltr"><<a href="mailto:feela@network.cz" target="_blank">feela@network.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 23.1.2015 06:40, Andrew Francis wrote:<br>
> Hi,<br>
><br>
<br>
Hi Andrew,<br>
thank you for your e-mail. But isn't this command doing what you<br>
require:<br>
<br>
bird> show route where 192.168.168.168 ~ net<br>
<br>
?<br>
<br>
                Ondrej<br>
<span class=""><br>
<br>
<br>
<br>
><br>
> Twitch's network operations department uses BIRD as a<br>
> centralized looking glass. It's a BGP route reflector that is<br>
> peered with all our border routers. Staff use the route reflector<br>
> to inspect how a destination network can be reached from our<br>
> different points-of-presence.<br>
><br>
><br>
> Some peers will advertise the same IP as part of different<br>
> prefix lengths, likely due to aggregation or filtering. For<br>
> instance, one provider advertises <a href="http://117.120.24.0/22" target="_blank">117.120.24.0/22</a><br>
</span>> <<a href="http://117.120.24.0/22" target="_blank">http://117.120.24.0/22</a>> to us, but all others only advertise a<br>
<span class="">> /21.<br>
><br>
><br>
> Querying SHOW ROUTE on the looking glass shows the /22 on one<br>
> border router, and hides the /21's. This makes sense as a routing<br>
> decision from the location of the looking glass, but doesn't give<br>
> us the global visibility we want.<br>
><br>
><br>
> I have a patch which adds an option to SHOW ROUTE to reveal all<br>
> prefixes, regardless of length / best-match, covering a<br>
> particular IP.<br>
><br>
><br>
> This produces tons of output. I am also working on an option to<br>
> print the single best prefix for each unique BGP.next_hop /<br>
> BGP.originator_id. This gives us exactly what we want: the route<br>
> taken to a particular IP from each border router.<br>
><br>
><br>
> Would the community be interested in integrating this feature? If<br>
> so, I'll start the process here to get a patch released<br>
> publicly.<br>
><br>
><br>
> Thanks<br>
><br>
><br>
><br>
</span>> Andrew Francis   |   *Twitch* <<a href="http://www.twitch.tv/" target="_blank">http://www.twitch.tv/</a>>   |<br>
> Engineering<br>
><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1<br>
<br>
iQIcBAEBAgAGBQJUwivMAAoJED82D4RIDoWPoDYP/1RIk1bh1ANz3o3rxpPWUi14<br>
p8yt8Hv5F1TbuCBYGwqzksyS6sbcrF7zwcO5W7f9G5u1fuJug3cn4FRoTaHYR0q7<br>
pGCZNEydLg+ZAl53TicW0rjrl4VtlBe/oIWgImT5+sZ9hAKbfAGZyypVfjud6+BL<br>
TyxpAtHkFj5zia9E6VH3FmnoCYLyvF7WiwXO8OkdgJyOsBUtVl0txqonniYtoawT<br>
niPwOpXUVkf2A6me9Jz3HCRzBZa67zJpyqQZtfDElNeU9PnacyTjrHuhFISKu+sL<br>
RTM65fCYqeX3QfCP443I2b7Lej5nxFQQtBAwykOtDNKUN4LDeriD+1mX+pfJC0+Y<br>
INLVFscejugKqmi10PXN4S9TmK2Lgj+sWN2BCCFmARE7HhB2PO3s7CFL+QnbOQwX<br>
K2gRTL55XQoCHo1MZ6VAzHbxBd0UbqjGQsHZHa4dcSfLJkVpz/b4tt8MBYFVPYBP<br>
YjJV8ts4F+2yXO9FjFl8DdB21SCW/O9TFJbXcKDDgm5OhVP9zSrXVXQwfbZyoLir<br>
WhWB+TQjDT1/3balLGxRMWqL4icVy9luP9DN3mDWVUzrLURy47yhU8Sc3JkGDB/x<br>
n3h9C7iMpNUvX1GIiBv+9izP3XwG4jRUiro01IRcDSDnYEe4BCKTdrsIMfZ2du1p<br>
Z/Ys+d1QCyYmZJIj0DvI<br>
=mEgr<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div>