ix-bird-config/bird.conf

39 lines
761 B
Plaintext

table T_BGP4;
table T_OSPF;
protocol device {
scan time 10;
}
protocol static {
# route 172.20.0.0/14 via 172.20.170.192;
route 172.20.170.192/27 reject;
import all;
export none;
}
include "/etc/bird/local4.conf";
# filter helpers
#################
#include "/etc/bird/filter4.conf";
include "/etc/bird/community_filters.conf";
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 none;
#export all; # Actually insert routes into the kernel routing table
export filter {
if source = RTS_STATIC then reject;
krt_prefsrc = OWNIP;
accept;
};
}
include "/etc/bird/ospf.conf";
include "/etc/bird/bgp.conf";
include "/etc/bird/peers4/*";