log "/var/log/bird.log" all;
protocol device {
scan time 10; # Scan interfaces every 10 seconds
}
protocol kernel {
# kernel table 5;
import none; # Default is import all
export all; # Default is export none
scan time 3600;
}
protocol static {
route 10.6.6.x/24 via "tap0";
}
protocol static static_bgp {
import all;
route 176.62.53.x/32 reject;
}
protocol bgp {
local 10.6.6.x as 197835;
neighbor 10.6.6.1 as 197835;
import all;
export where proto = "static_bgp";
}
Ho messo scan time delle tabelle del kernel a 3600 (1 ora, valore piuttosto alto) per allegerire la CPU della mia Cubieboard2, e perche non mi interessa che BIRD impari rotte dal kernel.