<div dir="ltr"><div><div><div><div><div><div><div><div>I'm not sure the BIRD logic, but it sounds like you're saying:<br><br></div>- send static<br></div>*and*<br></div>- send all provider A routes<br></div>*and*<br></div>- send all provider B routes<br><br></div>These would total more than a million routes.<br><br></div>Usually what you share downstream is your own routes; the best-path selection after BGP processes all the routes it learned. That would be a list of about 680k best routes, and be less than your filter.<br><br></div><div>(alternately, you're getting different routes from each of your providers, so if you add them together and remove the duplicates, you have more than 700k routes. I have more than 700k routes in my default-free zone)<br><br></div><div>Jonathan<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 4, 2018 at 4:42 PM, Guillaume LUCAS <span dir="ltr"><<a href="mailto:glucas+bird@glucas.fr" target="_blank">glucas+bird@glucas.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le 04/04/2018 à 15:28, Ondrej Zajicek a écrit :<br>
> Hi<br>
><br>
> What do you see in 'show protocols all' in import/export statistics?<br>
> Do they make sense?<br>
><br>
<br>
<br>
</span>Hi,<br>
<br>
# sudo birdc show protocols all<br>
<br>
direct1 Direct master up 2018-01-12<br>
Routes: 2 imported, 0 exported, 2 preferred<br>
Route change stats: received rejected filtered ignored<br>
accepted<br>
Import updates: 3 0 0 0<br>
3<br>
Import withdraws: 1 0 --- 0<br>
1<br>
Export updates: 0 0 0 ---<br>
0<br>
Export withdraws: 0 --- --- ---<br>
0<br>
<br>
kernel1 Kernel master up 2018-01-12<br>
Routes: 31 imported, 681991 exported, 30 preferred<br>
Route change stats: received rejected filtered ignored<br>
accepted<br>
Import updates: 52 0 1 0<br>
51<br>
Import withdraws: 20 0 --- 1<br>
20<br>
Export updates: 83427721 55 0 ---<br>
83427666<br>
Export withdraws: 4163126 --- --- ---<br>
4163135<br>
<br>
static_allocations Static master up 2018-01-12<br>
Routes: 1 imported, 0 exported, 1 preferred<br>
Route change stats: received rejected filtered ignored<br>
accepted<br>
Import updates: 1 0 0 0<br>
1<br>
Import withdraws: 0 0 --- 0<br>
0<br>
Export updates: 0 0 0 ---<br>
0<br>
Export withdraws: 0 --- --- ---<br>
0<br>
<br>
bgp_upstream1 BGP master up 2018-01-27 Established<br>
Routes: 678683 imported, 0 filtered, 1 exported, 569533 preferred<br>
Route change stats: received rejected filtered ignored<br>
accepted<br>
Import updates: 38113294 0 294 12493695<br>
25619305<br>
Import withdraws: 2348477 0 --- 280<br>
2348484<br>
Export updates: 69298824 25943901 43354922 ---<br>
1<br>
Export withdraws: 2932089 --- --- ---<br>
0<br>
<br>
bgp_upstream2 BGP master up 2018-04-03 Established<br>
Routes: 681762 imported, 77 filtered, 1 exported, 112446 preferred<br>
Route change stats: received rejected filtered ignored<br>
accepted<br>
Import updates: 2828562 0 109 0<br>
2828453<br>
Import withdraws: 162753 0 --- 125<br>
162737<br>
Export updates: 2175525 646411 1529113 ---<br>
1<br>
Export withdraws: 67445 --- --- ---<br>
0<br>
<br>
ibgp BGP master up 2018-02-18 Established<br>
Routes: 681993 imported, 682012 exported, 10 preferred<br>
Route change stats: received rejected filtered ignored<br>
accepted<br>
Import updates: 29660288 0 0 518955<br>
29141333<br>
Import withdraws: 7164695 0 --- 0<br>
7164695<br>
Export updates: 51000527 12312881 0 ---<br>
38687646<br>
Export withdraws: 1950522 --- --- ---<br>
12715457<br>
<br>
bgp_downstream BGP master up 20:17:52 Established<br>
Routes: 0 imported, 681980 exported, 0 preferred<br>
Route change stats: received rejected filtered ignored<br>
accepted<br>
Import updates: 0 0 0 0<br>
0<br>
Import withdraws: 0 0 --- 0<br>
0<br>
Export updates: 2121052 0 17236 ---<br>
2103816<br>
Export withdraws: 4750 --- --- ---<br>
18179<br>
<br>
<br>
It seems to me it makes sense: in ibgp (no filter in place), this router<br>
redistributes 682012 routes (upstream1 + upstream2 + some differences<br>
between them, probably). 682012 - 2 (direct1) - 31 (kernel1) = 681979 =<br>
downstream. (kernel1 and direct1 are block by the "export where", see my<br>
previous mail)<br>
<br>
Yes, I use iBGP because I have an another router. Quagga. Same two<br>
upstreams. No downstreams. Same receive limits (shutdown BGP session if<br>
routes > 700,000).<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"> Jonathan</div>
</div>