07-03-2024 02:46 AM
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?
Solved! Go to Solution.
07-05-2024 12:42 PM
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.
07-03-2024 03:20 AM
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.
07-03-2024 05:11 AM
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.
07-04-2024 06:19 PM
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?
07-04-2024 07:24 PM
Possibly you're confusing getting a route into a routing protocol and it being distributed by the routing protocol.
07-05-2024 12:42 PM
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.
07-05-2024 04:18 PM
07-06-2024 08:18 AM
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.
07-06-2024 08:49 AM
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.
07-08-2024 08:11 PM
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.
07-08-2024 08:29 PM - edited 07-08-2024 08:29 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide