Remove some commented-out lines
This commit is contained in:
parent
d447df80a6
commit
efb3c3506d
13
bgp.conf
13
bgp.conf
|
@ -1,18 +1,21 @@
|
|||
template bgp dnpeers {
|
||||
local as OWNAS;
|
||||
table T_BGP4;
|
||||
|
||||
# metric is the number of hops between us and the peer
|
||||
path metric 1;
|
||||
# this lines allows debugging filter rules
|
||||
# filtered routes can be looked up in birdc using the "show route filtered" command
|
||||
|
||||
table T_BGP4;
|
||||
# this line allows debugging filter rules
|
||||
# filtered routes can be looked up in birdc using the "show route filtered" command
|
||||
import keep filtered on;
|
||||
|
||||
import all;
|
||||
export all;
|
||||
import limit 1000 action block;
|
||||
#source address 172.20.170.192;
|
||||
};
|
||||
|
||||
protocol pipe {
|
||||
table master;
|
||||
peer table T_BGP4;
|
||||
import filter {
|
||||
# accept every subnet, except our own advertised subnet
|
||||
|
@ -22,6 +25,7 @@ protocol pipe {
|
|||
}
|
||||
reject;
|
||||
};
|
||||
# import limit 1000 action block;
|
||||
|
||||
export filter {
|
||||
# here we export the whole net
|
||||
|
@ -31,4 +35,3 @@ protocol pipe {
|
|||
reject;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
|
||||
table T_BGP4;
|
||||
table T_OSPF;
|
||||
|
||||
|
@ -6,7 +7,6 @@ protocol device {
|
|||
}
|
||||
|
||||
protocol static {
|
||||
# route 172.20.0.0/14 via 172.20.170.192;
|
||||
route 172.20.170.192/27 reject;
|
||||
import all;
|
||||
export none;
|
||||
|
@ -24,8 +24,8 @@ 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 all; # Actually insert routes into the kernel routing table
|
||||
export filter {
|
||||
if source = RTS_STATIC then reject;
|
||||
krt_prefsrc = OWNIP;
|
||||
|
|
Loading…
Reference in a new issue