Aggregate outgoing address.

Alexander Shikoff minotaur at crete.org.ua
Wed Nov 16 12:15:54 CET 2011


Hi,

On Thu, Nov 10, 2011 at 11:55:09AM +0100, damkol at gmail.com wrote:
>    Hello.
> 
>    In my test configuration of bird i want to announce two prefixes: [1]11.11.11.0/24 and
>    [2]12.12.12.0/24.
> 
>    But i do not understand how.
> 
>    vlan3001 [3]11.11.11.1/28 (direct connected)
> 
>    vlan3002 [4]11.11.11.17/28 (direct connected)
> 
>    vlan3003 [5]11.11.11.65/26 (direct connected)
> 
>    bird.conf
> 
>    #v+
> 
>    protocol static static_bgp {
> 
>    route [6]11.11.11.128/25 via 11.11.11.66;
>    route [7]12.12.12.0/24 via 11.11.11.66;
>    }
> 
>    protocol direct { interface "*"; }
> 
>    #v-
> 
>    This configration announce as is - two times /28, one /26 and one /25 of [8]11.11.11.0/24
>    prefix.
> 
>    How to aggregate this in one /24 prefix in this sample?

Firstly, the term "announce" usually applies to BGP, but I cannot see
anny configuration related to BGP.

Secondly, every route being announced via BGP should be confirmed with some
IGP protocol, for example, static. Thus if you have no 11.11.11.0/24
in IGP then 11.11.11.0/24 will not be announced via BGP. It seems
you do not have 11.11.11.0/24 in IGP.

Thirdly, if you want to announce only two /24 networks then make a 
outbound BGP filter and include them into it.

-- 
MINO-RIPE



More information about the Bird-users mailing list