HI guys
Based on the picture below with 3 Routes are connected together as a triangel , I have some questions still confusing :
As I've written before, you should get yourself a good book. Not just study random cisco cases. I don't think you have a good understanding of the basic concepts. If you do get that, all your current questions will be much easier to answer/understand.
- In Static Route , we have Floating Static Route act as a Backup route . If one link failed , the Backup link will be activated .
True.
But both links can not be activated at the same time because it will cause "looping" in the Network
The reason they are not activated at the same time is, as MntMan says, because of Administrative Distance (AD). Floating static routes have a worse AD. And thus will not be installed in the routing-table if there is already another (static) route with a better AD.
This has nothing to do with preventing loops.
Of course, if you configure wierd/wrong floating static routes, you can create loops. But the concept of floating static routes has nothing to do with loops. Or preventing loops.
If you want two static routes pointing to the same destination, over 2 different path, that is all possible and legal. It just means that traffic towards that destination will be "load balanced" over those 2 paths.
In RIP , OSPF , EIGRP , I never seen any lines mention about the Backup route , because both links are enabled at the same time without any additional configurations like " Floating Static Route ".
IGPs don't have "backup routes". They just keep re-computing the routing-table any time they think that is necessary. So one second you might have this route in your routing table "route to 20.20.0.0/16 via interface Serial0", and a few seconds later it might change into "route to 20.20.0.0/16 via interface Serial 1". Even when Serial0 is still up. It depends on the overall topology of the network.
Static routes only know about the state of the router that the static route is configured on. Therefor (floating) static routes can not do a lot of failure-recovery. They literally don't know if something failed that is not inside the router or attached to the router.
My question :
Does looping happen on (RIP,OSPF,EIGRP) ?
I can talk for hours about this subject. Days probably. But I will only confuse you. So let's keep it simple.
Routing protocols (also called IGPs, Interior Gateway Protocols) are designed and built and optimized to compute loop-free routes inside a network. So your answer is: yes.
However, right when something changes in the network (aka a failure somewhere), there is some communication between routers. And then they need to do some computation. While this is going on in the network, some routers might have outdated info, and some might have new info. And therefor their routing tables might not be in sync. And that can cause routing loops. But those routing loops are temporary. Also called "transient loops".
In modern networks, with modern routers, OSPF and IS-IS should be able to converge (change their state to the new topology) in under a second. A few hundreds of milliseconds. If you use RIP, it might take a few minutes at worse. I hope this answer is good enough for you. Because I'm gonna explain further.
🙂
Again, get yourself a good book (or two).
I always liked "Internetworking with TCP/IP, volume 1" by Douglas Comer. It's been a couple of decades since I read introduction books about network. Maybe other posters here have more suggestions. The cisco documenation is probably excellent. But maybe not for a beginner. (My apologies that I call you a beginner. But it seems you can use some help with some of the basic concepts).