BIRD e` un demone di routing multi protocollo.
BGP route reflector client
Questo è il mio /etc/bird.conf, il demone BGP è sullo stesso host a cui è assegnata la subnet pubblica annunciata.
# This pseudo-protocol performs synchronization between BIRD's routing
# tables and the kernel.
protocol kernel {
scan time 20; # Scan kernel routing table every 20 seconds
export filter {
krt_prefsrc = 176.62.53.27; # Set SRC for routes added by BIRD
accept;
};
}
# This pseudo-protocol watches all interface up/down events.
protocol device {
scan time 10; # Scan interfaces every 10 seconds
}
# Learn routes from specified interface
protocol direct {
interface "ninux-peering-vpn";
}
filter ninux_bgp_export_filter { # Announce (only) our public subnet
if ( net = 176.62.53.27/32 ) then {
accept;
} else {
reject;
}
}
protocol bgp {
local 10.6.6.10 as 197835; # My BGP
neighbor 10.6.6.1 as 197835;
import all;
export filter ninux_bgp_export_filter;
}





