BGP config on BIRD

Simple BGP configuration with BIRD Internet Routing Daemon



See config here

Out Filter
Send our network to neighbor, but do not sent neighbor connected networks - This will prevent transit via BIRD router.

filter out_eBGP
if (net = then
else reject;

Connect to neighbor

protocol bgp bgp_51 # neighbor 51
import all; # Give me everything you got
export filter out_eBGP; # send only our network behing BIRD router
local as 15;
neighbor as 51;
default bgp_med 0;
default bgp_local_pref 0;