Skip to content

Instantly share code, notes, and snippets.

@schiederme schiederme/bird.conf Secret
Last active Jun 6, 2019

Embed
What would you like to do?
log syslog all;
router id 185.37.147.110;
protocol device {
scan time 10;
}
filter announceMeerfarbig {
if (source = RTS_OSPF) || (source = RTS_OSPF_IA) || (source = RTS_OSPF_EXT1) || (source = RTS_OSPF_EXT2) then {
reject;
}
if net ~ [
45.12.120.0/24
] then {
accept;
}
reject;
}
protocol static {
route 45.12.120.0/24 reject;
import all;
export none;
}
protocol bgp meerfarbig {
local as 208840;
source address 185.37.147.110;
neighbor 185.37.147.1 as 34549;
import none;
export filter announceMeerfarbig;
med metric on;
next hop self;
import keep filtered;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.