<div dir="ltr"><br clear="all"><div><span style="font-size:12.8px">Hi All, </span><div style="font-size:12.8px"> </div><div style="font-size:12.8px"> I have a loopback IPv6 address on a server. IP addr = 2dd:1111:1111:1111:1111::1</div><div style="font-size:12.8px"> </div><div style="font-size:12.8px"> I use BGP to announce this to the upstream router. Client traffic comes in through an interface ens3 connected to the router with destination address as the loopback. Bird configuration: </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"> protocol direct {</div><div style="font-size:12.8px"> description "Local anycast addresses";</div><div style="font-size:12.8px"> export none;</div><div style="font-size:12.8px"> interface "lo";</div><div style="font-size:12.8px">}</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"># The kernel protocol gives us access to the kernel routing table.</div><div style="font-size:12.8px">protocol kernel {</div><div style="font-size:12.8px"> #persist; # Don't remove routes on shutdown</div><div style="font-size:12.8px"> scan time 20; # Scan kernel routing table every 20 seconds</div><div style="font-size:12.8px"> export all; # Default is export none</div><div style="font-size:12.8px">}</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"># The device protocol is needed in order to see what addresses are local</div><div style="font-size:12.8px"># to this server.</div><div style="font-size:12.8px">protocol device {</div><div style="font-size:12.8px"> scan time 10; # Scan interfaces every 10 seconds</div><div style="font-size:12.8px">}</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">protocol bgp {</div><div style="font-size:12.8px"> description "Arya";</div><div style="font-size:12.8px"> import none;</div><div style="font-size:12.8px"> local as 65001;</div><div style="font-size:12.8px"> neighbor neighbourIPv6ADDR as 100;</div><div style="font-size:12.8px"> direct; # Neighbors are directly connected</div><div style="font-size:12.8px"> hold time 240;</div><div style="font-size:12.8px"> connect retry time 120;</div><div style="font-size:12.8px"> keepalive time 80; # defaults to hold time / 3</div><div style="font-size:12.8px">#export filter packetdns;</div><div style="font-size:12.8px"> export all;</div><div style="font-size:12.8px">}</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"> </div><div style="font-size:12.8px">All this works great. Now, when client traffic comes in we get the following entries in the routing table: </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">.</div><div style="font-size:12.8px">.</div><div style="font-size:12.8px">.</div><div style="font-size:12.8px"><div>CLIENTIP::136 via 2dd:1111:1111:1111:1111::1 dev ens3 metric 0 </div><div> cache </div><div>CLIENTIP::5 via 2dd:1111:1111:1111:1111::1 dev ens3 metric 0 </div><div> cache </div><div>CLIENTIP::13 via 2dd:1111:1111:1111:1111::1 dev ens3 metric 0 </div><div> cache </div><div>CLIENTIP::15 via 2dd:1111:1111:1111:1111::1 dev ens3 metric 0 </div><div> cache </div><div>.</div><div>.</div><div>.</div><div><br></div><div>This table grows to ip -6 r s |wc -l</div><div>8296</div><div><br></div><div>And changes constantly.</div><div><br></div><div>Now, the top output shows bird using a lot of CPU: </div><div>2205 root 20 0 6924 780 560 R 26.2 0.0 0:06.14 bird6 </div><div><br></div><div>Since my configuration will never make use of these entries, is there a way to disable this scanning behaviour in bird? </div><div><br></div><div>Thanks! </div></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif"><font color="#999999">Saksham Manchanda</font></span><span style="font-family:arial,helvetica,sans-serif"></span><font color="#999999"><br></font></div><div><div style="color:rgb(136,136,136);font-size:small"><br></div></div></div></div></div>
</div>