Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

routing loops

Status
Not open for further replies.

tccna

ISP
Jan 31, 2003
26
PS
when solving the problem of routing loop we say :max hop count / how does the router know that a packet exceeded the max hop count ?
 
In an IP packet there is a Time to Live(TTL) 16 bit number that is used to *set* the max hop count. The original host sets this TTL field and then each successive Layer 3 devices the packet passes through decrements the TTL and then checks if it is greater than 0. If it is not greater than 0 then it will discard the packet and send an ICMP message to the original sender of the packet saying that the packet was discarded because the TTL field got to 0. The max a TTL field can be is 2^16 = 256 or 255(since it starts at 0, not 1).

Hope this helps... Let me know....


Burke
 
Thank you

The max a TTL field can be is 2^16 = 256 which is the case with IGRP.

But with RIP it is 16 ? is not it ?
 
Sorry 2^8=256 not 2^16 so the Time to Live(TTL) is an 8 bit number not 16 isn't it ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top