35 lines
727 B
Plaintext
35 lines
727 B
Plaintext
log "/var/log/bird.log" { debug, trace, info, remote, warning, error, auth, fatal, bug };
|
|
|
|
table T_BGP;
|
|
table T_OSPF;
|
|
|
|
protocol device {
|
|
scan time 10;
|
|
}
|
|
|
|
protocol static {
|
|
route 172.20.170.192/27 reject;
|
|
import all;
|
|
export none;
|
|
}
|
|
|
|
protocol kernel {
|
|
scan time 20;
|
|
metric 64; # Use explicit kernel route metric to avoid collisions
|
|
# with non-BIRD routes in the kernel routing table
|
|
import keep filtered;
|
|
import none;
|
|
export filter {
|
|
if source = RTS_STATIC then reject;
|
|
krt_prefsrc = OWNIP;
|
|
accept;
|
|
};
|
|
}
|
|
|
|
include "/etc/bird/local4.conf";
|
|
include "/etc/bird/filter4.conf";
|
|
include "/etc/bird/community_filters.conf";
|
|
include "/etc/bird/ospf4.conf";
|
|
include "/etc/bird/bgp4.conf";
|
|
include "/etc/bird/peers4/*";
|