bird/protocols/idfx.conf
2020-08-22 02:34:40 +02:00

37 lines
569 B
Text

template bgp idfx {
local as my_ripe_asn;
ipv4 {
import keep filtered;
import where is_idfx();
export filter {
if !is_mine() then
reject;
if source = RTS_STATIC || source = RTS_DEVICE then
bgp_local_pref = 200;
accept;
};
next hop self yes;
};
ipv6 {
import keep filtered;
import where is_idfx();
export where is_mine();
next hop self yes;
};
allow bgp_local_pref yes;
}
protocol bgp idfx_derhr1 from idfx {
description "iBGP: idfx-derhr1";
local fd42:4dd0:ff00::6;
neighbor fdb0:4339:ffff::106 as 4243390106;
}