Revision 2 as of 2014-11-09 22:52:21

Clear message
Italiano English
Edit History Actions

BIRD

BIRD e` un demone di routing multi protocollo.

BGP route reflector client

Esempio di configurazione (/etc/bird.conf) per usare BIRD come BGP route reflector client, se la subnet pubblica e' assegnata allo stesso host su cui gira il demone BGP:

protocol device {
        scan time 10;
}

protocol kernel {
        scan time 20;
        export filter {
                krt_prefsrc = 176.62.53.X;
                accept;
        };
}

protocol direct {
        interface "peering-vpn";
}

filter ninux_bgp_filter { # Announce (only) our public subnet
        if ( net = 176.62.53.X/32 ) then {
                accept;
        } else {
                reject;
        }
}

protocol bgp {
        local 10.6.6.X as 197835;
        neighbor 10.6.6.1 as 197835;
        import all;
        export filter ninux_bgp_filter;
}