ansible.fftdf.supernode/files/bird-troisdorf7.conf

95 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2016-05-12 19:11:04 +00:00
/*
* This is an example configuration file.
*/
# Yes, even shell-like comments work...
# Configure logging
#log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
#log stderr all;
#log "tmp" all;
#log syslog all;
#debug protocols all;
# Override router ID
2016-07-30 16:51:08 +00:00
router id 10.188.255.7;
2016-05-12 19:11:04 +00:00
protocol direct {
interface "*";
};
protocol kernel {
device routes;
import all;
export all;
kernel table 42;
};
protocol device {
scan time 8;
};
function is_default() {
return (net ~ [0.0.0.0/0]);
};
# own network
function is_self_net() {
return (net ~ [ 10.188.0.0/16+ ]);
}
# freifunk ip ranges in general
function is_freifunk() {
return net ~ [ 10.0.0.0/8+,
104.0.0.0/8+
];
}
filter hostroute {
if net ~ 185.66.193.107/32 then accept;
2016-05-12 19:11:04 +00:00
reject;
};
# Uplink über ff Rheinland
template bgp uplink {
local as 65066;
import where is_default();
export filter hostroute;
next hop self;
multihop 64;
default bgp_local_pref 200;
};
protocol bgp ffrl_bb_a_ak_ber from uplink {
2016-05-12 19:14:14 +00:00
source address 100.64.6.25;
neighbor 100.64.6.24 as 201701;
2016-05-12 19:11:04 +00:00
};
protocol bgp ffrl_bb_b_ak_ber from uplink {
2016-05-12 19:14:14 +00:00
source address 100.64.6.31;
neighbor 100.64.6.30 as 201701;
2016-05-12 19:11:04 +00:00
};
protocol bgp ffrl_bb_a_ix_dus from uplink {
2016-05-12 19:14:14 +00:00
source address 100.64.6.29;
neighbor 100.64.6.28 as 201701;
2016-05-12 19:11:04 +00:00
};
protocol bgp ffrl_bb_b_ix_dus from uplink {
2016-05-12 19:14:14 +00:00
source address 100.64.6.35;
neighbor 100.64.6.34 as 201701;
2016-05-12 19:11:04 +00:00
};
protocol bgp ffrl_bb_a_fra3_fra from uplink {
2016-05-12 19:14:14 +00:00
source address 100.64.6.27;
neighbor 100.64.6.26 as 201701;
2016-05-12 19:11:04 +00:00
};
protocol bgp ffrl_bb_b_fra3_fra from uplink {
2016-05-12 19:14:14 +00:00
source address 100.64.6.33;
neighbor 100.64.6.32 as 201701;
2016-05-12 19:11:04 +00:00
};