06-12-2011 05:57 AM - edited 03-04-2019 12:41 PM
Hi,
When i am trying to tracert one of the Router in LAN, It who "maximum of 30 hops" but in result it show 2 hops?
Please suggest is it routing loop?
S:\>tracert 150.100.20.100
Tracing route to 10.10.1.1 over a maximum of 30 hops
1 31 ms <1 ms <1 ms 150.100.15.1
2 1 ms 1 ms 1 ms 150.100.20.100
Trace complete.
S:\>
Thanks,
Boby
06-12-2011 06:41 AM
Hello Boby,
No, there is no routing loop here. The statement about "a maximum of 30 hops" simply means that the tracert command will display only up to 30 hops to the destination, not more. If the route to the destination is longer than 30 hops, it won't be displayed in its entirety and in such case, you will need to increase the maximum hop limit using the -h switch to the tracert command.
Best regards,
Peter
06-12-2011 08:46 AM
Hi,
If those two hops kept repeating until the maximum number of hops, it would have been a routing loop.
For example:
1 31 ms <1 ms <1 ms 150.100.15.1
2 1 ms 1 ms 1 ms 150.100.20.100
3 31 ms <1 ms <1 ms 150.100.15.1
4 1 ms 1 ms 1 ms 150.100.20.100
5 31 ms <1 ms <1 ms 150.100.15.1
6 1 ms 1 ms 1 ms 150.100.20.100
...and so on.
The case you describe is not a rooting loop, as Peter aready said.
To get to 150.100.20.100 from the device you used you need only 2 hops. In other words, the packet travels through two routers.
Best regards,
Giorgos
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