ROSv7.2.1 RIP Configuration

Hi there!
I’m currently getting started with Mikrotik but I’m have some troubles with RIP that I am unfortunately not able to resolve via some tutorials, as most still use the “old” ROS version.

My Situation:
As seen in the attchments my topology is mostly Cisco-based, with the exception for B4 which is a Mikrotik CHR. The Mikrotik Router should propagete the IPs of his tunnel-interfaces and its’ lo1 interface.
Here my configuration:
[admin@MikroTik] > routing/rip/export

apr/19/2022 12:22:18 by RouterOS 7.2.1

software id =

/routing rip instance
add disabled=no name=default
/routing rip interface-template
add disabled=no instance=default interfaces=tun1,tun2,tun3,lo1

The Router receives RIP routes from the neighbors but does not send any.

Now my question: How can I specify the neworks it shoudl distribute?

Best Regards,
Fabio
Bildschirmfoto 2022-04-19 um 14.15.38.png

You are redistributing routes by enabling “redistribute” options in RIP instance configuration.

Thanks for your quick answer!
From my understanding that way I would only be able to redistribute all connected/static/… routes. In my case I want to distribute just some of my connected routes. How would I go about this?

Enable connected redistribution and set up output routing filter to accept only specific prefixes

Thanks that would work for me. I only found one resource to do that in ROSv7 but unfortunately it didn’t work.
What would be a correct rule if for example I want to allow the distribution of the route for the network 192.168.2.0/24

From the example I found online I would do it like that:
/routing/filter/rule add chain=rip_out rule=“if (dst in 192.168.2.0/24 && dst-len==24 && protocol rip) { accept }”

remove “protocol rip” otherwise the rule will try to match only redistributed routes from other RIP instances.

Thank you! You saved the day :smiley:

Hi,
I would like to ask if normal (not redistribution) route advertisement is on road map in near future.
thank you

HOW? (to do this filter)?
Do you filter in RIP instance?
What is the logic?
What is the syntax?