Ospf distance in 2.9

Hi I just tried to configure redistribution from ospf to BGP.

It looks like 2.9 hasn’t configured ospf distance correctly. It may be 110 and I see nothing (means 0). Same situation in static and connected routes. eBGP writes “20” there.

So I can’t redistribute BGP to ospf (because my router preferes ospf routes instead of BGP).

In 2.8 the distance on ospf routes looks fine.

May I missed anything in configuration? Or another bug in 2.9 line?

You need to use inbound filters with routing-test package eg:

/routing filter chain=ospf-in set-distance=110

/ routing ospf area set backbone area-id=0.0.0.0 authentication=none prefix-list-import=ospf-in prefix-list-export=“” disabled=no

BEWARE - the last (at least 2) versions of routing-test (up to 2.9.14 so far) are very broken. wait until about 2.9.73 and it might be closer to stable.

where to get 2.9.10 routing-test? :bulb:

found it :slight_smile:

I’ve installed 2.9.10 routing-test and ospf stopped to work (same configuration).

I’ve disabled routing-test and waiting for new version of OS.

Just now upgraded to 2.9.16 and ospf routes are still not marked by default. I’m not so brave to load routing-test this version. Can anybody fix the problem? It must be definitelly one line in the code.

Routing-test in the 2.9.16 is known to work.

Eugene

I’ve found it and testing. Distance is set, but it seems like there is still no redistribution to my ospf process … Have to look more deeply into routing tables in my area …