<div dir="ltr">I already had this idea, I even implemented it in the desperate time of the 512K "bug".<br>And with that I can tell you:<br>Do not do it! You will be bothered!<br><br>But if you want to go this way, what I can recommend is to try not to put routes in the FIB that match your Default.<br><br>Talking about having a default route other than /dev/null is already a problem at first...<br>Because a Transit Provider is not expected to use the Default route.<br>But I'm not even going to get into that (many flames will arise).<br><br>If you really decide to use a default route and choose what will not and what will not apply to the FIB, you must be prepared for a certain complexity in these choices.<br>And the more Peers and DFZ views you have, the more complex it will be.<br><br>In a very simplified hypothetical example of dual-homed DFZ, take the best routes from link B, and leave the default by link A.<br><br>There are even tools that, comparing flow analysis and routes exported from the RIB, "choose" the routes with more matching packages, and apply that for you.<br>But thinking in this way, the transition to the dark side of the force is already beginning to be made. Walking through the valley of death until arriving in the land of the Route Optimizers.<br><br>My memory is not helping me...<br>But I think the name of one of the projects that did this magic was rt-flow or flow-rt. Something like.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em seg., 10 de out. de 2022 às 12:01, Edvinas Kairys <<a href="mailto:edvinas.email@gmail.com">edvinas.email@gmail.com</a>> escreveu:<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">Hello,<div><br></div><div>We're considering to buy some Cisco boxes - NCS-55A1-24H. That box has 24x100G, but only 2.2mln route (FIB) memory entries. In a near future it will be not enough - so we're thinking to deny all /24s to save the memory. What do you think about that approach - I know it could provide some misbehavior. But theoretically every filtered /24 could be routed via smaller prefix /23 /22 /21 or etc. But of course it could be a situation when denied /24 will not be covered by any smaller prefix. </div><div><br></div><div>What do you think about this approach ?</div><div><br></div><div>Also maybe you know - some advices for edge routers that have at least 8x100G interfaces and "good" memory for prefix count ? Thanks</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Douglas Fernando Fischer<br>Engº de Controle e Automação<br><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;color:black;text-align:left;line-height:130%;font-family:"courier new",monospace"></div></div></div>