RIPv2 - Distance and Redistribute

Hi,
I’m using RouterOSv7 to connect some networks with the following diagramme:

  1. I was following a new page in the official documentation, here, and I wasn’t being able to get all the routes, namely those transmitted by R-4. Then I decided to set redistribute=connected,static,rip, meaning also redistribute the rip-discovered routes. Is this ok? Or am I going to get some problems in the future?
  2. When I read about the RIP or RIPv2 algorithm, I got the impression that the distance used was based solely on the number of hops, i.e. number of routers the packets need to pass. In my topology, this should be at maximum 2 (?). However, I see a 120 in the distance. This happens in all routers, when I execute ip route print. What is this number?

Thanks

Hello. Hmm, i don’t like to advertise Connected Routes, because if someone put one wrong IP on the interface of router like: the IP may be 10.0.0.0/24, but accidentaly set IP 10.0.0.0/4, you’ll have problems…

But. of course, you can prevent that with filters…

About the distance, this is how can you router select the route. In another vendors this is called priority or weight. So, this is just for your router select the route. Ex.:

You have two default routes:

1 - 0.0.0.0/0 via gateway 10.10.50.1, distance 1
2 - 0.0.0.0/0 via gateway 192.168.0.1 distance 10

Your router will be select the option 1 because the distance of that is smaller than the other.