11-18-2006 11:09 PM - edited 03-03-2019 02:45 PM
What are routing loops?How do they occur?How do we recognise routing loops?How do we troubleshoot them and how do we overcome from routing loops
11-19-2006 06:14 AM
Routing loops occur when a router incorrectly forwards packets, that is: to a wrong next hop router. This is most easily detected with traceroute where you will see the same hops recurring over and over, or ping where you will see a message like "ttl expired in transit".
Routing loops are always caused by misconfiguration although it is not always as obvious as two static routes that point to eachother. Redistribution of routing information is a notorious source of routing loops.
Regards,
Leo
11-22-2006 08:05 AM
Hi Leo,
Thanks for u r invaluable information.I just wanted to know how we can find the loops when a link is configured with EIGRP and OSPF.
I got to know from my senior that using Debug commands and Sh ip route command we can find the the loops.Is that true? and to stop the routing loop in EIGRP is there a command anything like #eigrp stub as we have split-horizon in RIP.
11-22-2006 08:40 AM
The traceroute is the best to find simple routing loops. Show ip route to a point will find the more complex ones. You hope to see routes coming in and out of the table very quickly. You will also see the routing processes running all the time.
A simple example if you have a lab of a way to create a difficult to find loop would be. You can actaully do this with 2 routers it is just to make the example more clear.
Router A talks to router b via OSPF
Router A talks to router C via EIGRP
ROuter B talks to router C via OSPF
Router C is running both OSPF and EIGRP and redistributes EIGRP routes into OSPF
Now say router A has a route
IP route 10.10.10.10 255.255.255.255 1.2.3.4 200
This has a high metric of 200 to illistrate this problem.
Now router A redistributes this static route into EIGRP. Router C receives it via EIGRP puts it in his routing table and redistributes in into OSPF.
Router B gets this route via OSPF and puts it in his routing table. He also forwards this to router A.
When router A gets this route via OSPF route it has a better administrative distance than the static so he removes the static and puts the OSPF route in the routing table.
Now since the static route was just removed from the routing table router A takes it out of EIGRP which means router C stops sending the OSPF route to router B. Since router B no longer has the OSPF router he no longer tells router A about the route. Router A removes the ospf and puts the static back in since it now is the only route.
And you start all over again.
This type of routing loop goes so fast it is very hard to tell. Traffic will work sometime and fail others. These type of loops are best just avoided by design.
11-22-2006 01:00 PM
Do u work for Cisco?ur e-mail has a "cisco" domain.
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