I have a question regarding how Cisco IOS behaves when multiple routing protocols are present.
Suppose a router is running two different routing processes (say, EIGRP 100 and RIP) on two different interfaces, and receives two routes for the same destination (say, 192.168.1.0/24), one from each routing protocol. Assume that no redistribution between EIGRP and RIP (or vice-versa) is configured in the router and that the router knows of no other way to reach 192.168.1.0/24.
Since the default administrative distance (AD) of EIGRP internal routes is higher than RIP's, the router will naturally choose the route received via EIGRP and place it in the routing table.
The question is: which route to 192.168.1.0/24 is announced by the router to its neighbors on the RIP side (if any)? Since the active route comes from EIGRP but no redistribution is configured, it doesn't seem right to announce the route learned via EIGRP. But announcing the route learned via RIP doesn't make sense either, since it is not the route actually used to forward data packets to 192.168.1.0/24.
What does Cisco IOS do in this situation? Would the answer be different if the protocols in question were any other than EIGRP and RIP?
Thanks in advance for your help.