Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

RIP problem


I have the following topology in my lab setup. I am using xxxx routers, not cisco devices.|R1| - - |R2|

- configured RIP between R1 and R2.

- Added few static routes in R1 like

" via" where is not existing.

- Redistributed above said static routes into RIP on R1.

- These routes are not visible in R2.

- If I add a route like " via" and redistributed, then these routes are coming into R2.

Is there any specific reasong for this?




Re: RIP problem

What I understand is, you are not using in your topology but route is pointed towards it. Now, routing tables contains entries for Prefix, Next-hop, interface & metric. When next-hop is not available, the route will not make entry in to the routing table & thus there is no chance for this route to be visible in the routing table of R2.

For, may be the next-hop is available thats why route appears on other router.

Hall of Fame Super Silver

Re: RIP problem


I believe that there is a somewhat different explanation for this behavior. It is a reflection of the fact that RIP uses classful routing and uses split horizon to prevent loops. If the static route specifies a next hop of and if the subnet is shared with R2 then RIP on R1 will not advertise the redistributed routes out that interface because that would be advertising toward the source of the route and RIP does not do that. When the static route has a next hop of and the network is not shared with R2 then R1 will advertise the route.

B V S is correct that if the next hop is not reachable then the static route will be withdrawn from the routing table and will not redistribute. But if the next hop address is within the subnet of a connected interface then IOS assumes that the next hop is reachable.



CreatePlease to create content