BGP make client (default) announcement depend on ibgp/upstream peers being "up"

Ondrej Zajicek santiago at crfreenet.org
Tue Jun 12 13:46:20 CEST 2018


On Tue, Jun 12, 2018 at 08:00:10AM +0200, Patrick Schaaf wrote:
> Hi,
> 
> new bird / BGP user here, please bear with me :)
> 
> Consider a scenario with a bird box acting as (one of several
> possible) gateway for a set of clients, while having an iBGP and/or
> upstream BGP connection where the "real routes" come from.
> 
> Towards the client(s) a default route should be announced.
> 
> Is it possible to make the client default route announcement depend on
> at least one of the upstream peers (iBGP, real upstream) being "up"
> and having sent us all its routes? Or, even more ideally, one of them
> being up, having sent all its routes, _and_ bird having gotten around
> to installing them all in the kernel (data plane)?

No, that is not currently possible directly in BIRD.

You could make some shell scripts that tracks state of BGP sessions
and/or number of routes and enable/disable a static protocol with
default route.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."


More information about the Bird-users mailing list