On 2007/01/26 12:18, Frans Haarman wrote:
> How does bgpd handle routes it learns which are already a staticroute
> in the kernel ?

static routes take priority over dynamically-learned routes (bgp/ospf).

> We want the staticroute to be used if we do not learn the same route via 
> bgp.

I am parsing this as: "if we have a static route and receive the same
route by bgp, we want to prefer the bgp one". If that's correct, maybe
you can arrange that the BGP prefix is longer (e.g. if you have a /24
static, ask the peer to announce 2x /25 and make sure you adjust the
filters to permit it)

Reply via email to