Temporarily announcing more specific prefix?

Alexander Zubkov green at qrator.net
Thu Sep 17 16:15:56 CEST 2020


Hello,

You can use an additional table. And attach your and static protocols
bgp there. And do not pipe those prefixes to your main table.

On Thu, Sep 17, 2020 at 4:00 PM Robert Sander
<r.sander at heinlein-support.de> wrote:
>
> Hi,
>
> I have the task to configure BIRD to be able to announce a more specific
> prefix temporarily to our BGP peers.
>
> Currently we announce a /22 and want to be able to flip a switch and
> announce one /24 from that /22.
>
> As we partition the network internally I cannot use the prefixes learned
> for the BGP announcements.
>
> Currently there is one static protocol that contains the /22 and the
> export filter looks at the protocol name.
>
> I was thinking about setting up another static protocol and enable it if
> needed. But the /24 is also used internally and therefor the preferred
> route in the table, even when the static protocol is enabled. This means
> I cannot filter on the protocol name in the export filter. I cannot
> filter on the prefix itself as it must not be exported always.
>
> How do I achieve that?
>
> Regards
> --
> Robert Sander
> Heinlein Support GmbH
> Schwedter Str. 8/9b, 10119 Berlin
>
> http://www.heinlein-support.de
>
> Tel: 030 / 405051-43
> Fax: 030 / 405051-19
>
> Zwangsangaben lt. §35a GmbHG:
> HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
> Geschäftsführer: Peer Heinlein -- Sitz: Berlin
>



More information about the Bird-users mailing list