cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
330
Views
0
Helpful
10
Replies

RIP Redistributed Static Routes Failover

absuizo14
Level 1
Level 1

If static routes are redistributed into SW1 RIP what will happen if link between sw1 and sw2 fail? what can be done so that if sw1-sw2 link fail sw3 would advertise sa static routes?

 

absuizo14_0-1719999906455.png

 

 

1 Accepted Solution

Accepted Solutions

Oh, if my prior reply doesn't make sense, what I'm trying to say is, once a route gets into a routing protocol, it should be available to all routers participating in that routing protocol (excluding specific removals or summarizations, etc.).  In other words, any route placed into the RIP routing protocol, by default, should be available to all the other RIP routers.

For example, assuming on the interconnecting link networks are made know to RIP, the routers without a should know of that network.  I.e., SW1 should know SW2<>SW3, SW2 should know SW1<>SW3, and SW3 should know SW1<>SW2.  Likewise if, SW1 is redistributing routes, both SW2 and SW3 should know that, but if SW1<>SW2 link is up, it should chose that as the best path, but if that link is down, SW2 should still know of the redistributed routes via SW3 and use that as the best (and now only) path.

Do you have a copy of Packet Tracer?  If not, suggest you obtain one, as you could lab up your topology.

View solution in original post

10 Replies 10

Torbjørn
Spotlight
Spotlight

S3 will learn and advertise the route towards SW3 from SW1. If the link between SW1 and SW2 fails SW2 should start using the route learned from SW3 as the route towards SW1 is no longer viable.

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Joseph W. Doherty
Hall of Fame
Hall of Fame

Actually, SW3 should ALREADY advertise the routes being redistributed by SW1 to SW2.

Since RIP's best path selection is via least number of hops, if SW1<>SW2 is up, that would be best path to SW4.  If that link is down, SW1<>SW3<>SW2 would become the best path.

absuizo14
Level 1
Level 1

as i remember RIP only advertises network that are in the "Network x.x.x.x" statement so i dont think SW3 will automatically advertise those static routes between SW1 and SW4 to SW2 although SW3 will be able to learn them.. should i add those static routes to SW3 and redistribute them into its RIP?

Possibly you're confusing getting a route into a routing protocol and it being distributed by the routing protocol.

Oh, if my prior reply doesn't make sense, what I'm trying to say is, once a route gets into a routing protocol, it should be available to all routers participating in that routing protocol (excluding specific removals or summarizations, etc.).  In other words, any route placed into the RIP routing protocol, by default, should be available to all the other RIP routers.

For example, assuming on the interconnecting link networks are made know to RIP, the routers without a should know of that network.  I.e., SW1 should know SW2<>SW3, SW2 should know SW1<>SW3, and SW3 should know SW1<>SW2.  Likewise if, SW1 is redistributing routes, both SW2 and SW3 should know that, but if SW1<>SW2 link is up, it should chose that as the best path, but if that link is down, SW2 should still know of the redistributed routes via SW3 and use that as the best (and now only) path.

Do you have a copy of Packet Tracer?  If not, suggest you obtain one, as you could lab up your topology.

If you do have a copy of Packet Tracer, open the attachment and you'll see the behavior I'm trying to describe (I believe the topology corresponds to your OP).

The OP says "as i remember RIP only advertises network that are in the "Network x.x.x.x" statement". This describes one part of RIP logic - the part where RIP decides what locally connected routes to advertise. The other part of RIP logic is that if a device running RIP receives an advertisement of a "remote" route from one RIP neighbor it WILL advertise that route to its other RIP neighbor. So SW2 will learn the routes from SW3. In normal operation SW2 learns the static routes advertised from both neighbors and prefers the path through SW1. But if the link between SW1 and SW2 goes down then SW2 will begin to use the path through SW3.

HTH

Rick

What @Richard Burts is also describing, you'll actual can "see" take place in the PT attachment.  I left the attachment, with the SW1 interface to SW2 shutdown, but if you no shut that port, you'll see the path to the redistributed network change from going SW2=>SW3=>SW1 to just SW2=>SW1.

absuizo14
Level 1
Level 1

Thank you so much everyone. thanks @Joseph W. Doherty for the packet tracer file. i was using eve and for some weird reason the switches would not advertise the redistributed static routes from SW1 when any of its link went down. 

Rip is legacy dont waste your time with it, 

And why eve lab not work?

I think you need transit vlan

If your run ospf i can help you to understand what issue here

MHM

Review Cisco Networking for a $25 gift card