ix-bird-config/bird.conf

39 lines
750 B
Plaintext
Raw Normal View History

2018-09-12 09:16:29 +00:00
log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
table T_BGP4;
table T_OSPF;
2018-09-08 08:23:51 +00:00
protocol device {
scan time 10;
}
protocol static {
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
#################
#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";
include "/etc/bird/bgp.conf";
2018-09-08 08:23:51 +00:00
include "/etc/bird/peers4/*";