periodic krt_scan when learning and import is not enabled

Senthil Kumar Nagappan sknagappan at yahoo.com
Fri Sep 17 07:59:11 CEST 2021


 Hi,

I assume when kernel protocol is configured with export all “protocolkernel {ipv4 { export all;};}”, bird performs synchronization of bird's routingtables with the OS kernel.

When the learn switch is disabled and no import is there,why bird is doing a periodic krt_scan and sends netlink request to os kernel toget the routes dump?

When learn switch is enabled, then non bird routes are learntfrom os kernel and added to bird’s routing table, then what's the use of importcommand? Looks bit ambiguous.

Please correct me if my understanding is incorrect.

 

Debug all all enabled:

bird: krt_scan(time=2021-09-17 05:28:40.478)

bird: kernel1: Scanning routing table

bird: kernel1: 0.0.0.0/0: [alien] ignored

bird: kernel1: Pruning table master4

 

my bird config for kernel:

protocol kernel {

ipv4 { };

}

 

Or this happens with this config too

protocol kernel {

ipv4 { export all;};

}


Thanks and Regards,Senthil
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20210917/e4d56590/attachment.htm>


More information about the Bird-users mailing list