Aggregate outgoing address.

Alexander Shikoff minotaur at crete.org.ua
Thu Nov 17 21:32:25 CET 2011


On Thu, Nov 17, 2011 at 08:54:46PM +0100, damkol at gmail.com wrote:
>    2011/11/17 Ondrej Zajicek <[1]santiago at crfreenet.org>
> 
>      I think the problem is that BIRD does not automatically aggregate
>      routes. It just export routes from other protocol (like static or
>      direct) according to filters.
>      If you just want to announce two /24, then add two /24 routes
>      using static protocol. (and you probably does not need direct
>      routes from direct protocol to generate subnet routes).
>      See this example:
>      [2]https://git.nic.cz/redmine/projects/bird/wiki/BGP_example_1
>      Where two aggregate routes (A.B.C.0/24 and D.E.F.0/24) are
>      exported.
> 
>    Of course i seen this example, but i need to route [3]11.11.11.128/25 via 11.11.11.66,
> 
>    and the rest directly connected in this /24 prefix.
> 
>    Without (even manually) forcing prefix aggregation, bird is a bit useless.
> 
>    Or how to do in other way which i not know?

Try 
protocol static static_bgp {
	route 11.11.11.128/25 via 11.11.11.66;
	route 11.11.11.0/24 drop;
}

And leave only /24 in announces via filtering.

-- 
MINO-RIPE



More information about the Bird-users mailing list