>On Fri, Oct 25, 2019 at 11:46 PM Claudio Jeker <[email protected]> wrote:

> > On Fri, Oct 25, 2019 at 11:09:14PM +0300, Esa Kuusisto wrote:
> > > Hi
> > >
> > > I encountered a BGPD problem after upgrade from 6.5 -> 6.6. BGPD
> crashes to
> > > "fatal in RDE: prefix_adjout_update: update for non existing prefix"
> > > problem.
> > >
> > > Environment:
> > > Two OpenBGPD instances. Primary (ROUTER1, now 6.5) and secondary 6.6
> > > (ROUTER2). Two iBGP instances to local switches (SW1 and SW2). One iBGP
> > > instances between ROUTER1 and ROUTER2.
> > > ROUTER1 and ROUTER2 advertise one /22 prefix and one /48 prefix to
> Internet
> > > peers. ROUTER1 and ROUTER2 advertise 0/0 routes to SW1 and SW2.
> > > SW1 and SW2 have same AS as ROUTER1 and ROUTER2. SW1 and SW2 advertise
> > > longer prefixes from /22 (23 or longer) and /48 (prefixlen 64) to
> ROUTER1
> > > and ROUTER2.
> > > Connection is passive in ROUTER1 and ROUTER2 towards SW1 and SW2. After
> > > BGPD starts and gets connection from SW1 and SW2 it quits when fatal:
> > >
> >
> > How do you announce the default routes to SW1 and SW2?
> > If you use 'export default-route' please try to replace them with network
> > 0/0 and network ::/0 instead. I think I know why it happens.
> > up_generate_default() injects the default route without adding it to the
> > prefix tree first so pt_get() fails since there is no 0/0 around.
>

Using export default-route.
If I announce 0/0 and ::/0 bgpd runs just fine and looks like it announces
networks.

I have filter where I only allow default route to SW1 and SW2.
allow quick to group "SW" prefix { 0.0.0.0/0, ::/0 }, but it leaks all
routes. With prefixlen 0, it won't announce default route. Little more
filter debugging, but initial problem has a workaround.

Thanks
Br
-Esa

Reply via email to