2018-09-12 09:16:29 +00:00
|
|
|
log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
|
2018-09-12 06:41:25 +00:00
|
|
|
table T_BGP4;
|
|
|
|
table T_OSPF;
|
|
|
|
|
2018-09-08 08:23:51 +00:00
|
|
|
protocol device {
|
|
|
|
scan time 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
protocol static {
|
2018-09-11 07:11:22 +00:00
|
|
|
route 172.20.170.192/27 reject;
|
2018-09-08 08:23:51 +00:00
|
|
|
import all;
|
|
|
|
export none;
|
|
|
|
}
|
|
|
|
|
|
|
|
include "/etc/bird/local4.conf";
|
|
|
|
|
|
|
|
# filter helpers
|
|
|
|
#################
|
|
|
|
|
2018-09-11 07:11:22 +00:00
|
|
|
#include "/etc/bird/filter4.conf";
|
|
|
|
include "/etc/bird/community_filters.conf";
|
2018-09-08 08:23:51 +00:00
|
|
|
|
|
|
|
protocol kernel {
|
|
|
|
scan time 20;
|
|
|
|
metric 64; # Use explicit kernel route metric to avoid collisions
|
|
|
|
# with non-BIRD routes in the kernel routing table
|
2018-09-12 09:16:29 +00:00
|
|
|
import keep filtered;
|
2018-09-08 08:23:51 +00:00
|
|
|
import none;
|
|
|
|
export filter {
|
|
|
|
if source = RTS_STATIC then reject;
|
|
|
|
krt_prefsrc = OWNIP;
|
|
|
|
accept;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2018-09-08 11:16:50 +00:00
|
|
|
include "/etc/bird/ospf.conf";
|
2018-09-12 06:56:34 +00:00
|
|
|
include "/etc/bird/bgp.conf";
|
2018-09-08 08:23:51 +00:00
|
|
|
include "/etc/bird/peers4/*";
|