ix-bird-config/bird.conf

35 lines
716 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;
2018-09-15 19:09:28 +00:00
table T_OSPF4;
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";
2018-09-22 10:51:14 +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
2018-09-15 19:09:28 +00:00
# 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-15 19:09:28 +00:00
include "/etc/bird/ospf4.conf";
include "/etc/bird/bgp4.conf";
2018-09-08 08:23:51 +00:00
include "/etc/bird/peers4/*";