Hello!
We have a problem with redistributing routes between OSPF and BGP.
I’ve checked the box on redistribute-ospf in BGP, so the routes should be added
to bgp, but thats not gonna happen.
I’ve added static networks in /routing bgp networks, these are the only one’s that
are getting announced via bgp. We’ve added some filters in /routing filters but that’s not
the problem.
Can i use static announced networks AND redistribute-ospf in bgp?
/routing bgp instance
set default as=12345 out-filter=bgp-out redistribute-ospf=yes
redistribute-other-bgp=yes redistribute-static=yes router-id=12.23.23.12
These are the only ones that getting announced via bgp:
/routing bgp network
add network=12.34.56.0/24 synchronize=no
OSPF is working normally, but the routes are not distributed!
Filter Settings (the first one is for the net i’ve added under /routing bgp networks, the
second one is a route i’ve got via ospf):
/routing filter
add action=accept chain=nextlayer-out prefix=12.34.56.0/24 prefix-length=24
protocol=bgp
add action=accept chain=nextlayer-out prefix=78.89.10.0/24 prefix-length=24
protocol=bgp