# Help in understanding gap\_limit in traceroute settings and the 255 hop number

**URL:** <https://forum.ripe.net/t/help-in-understanding-gap-limit-in-traceroute-settings-and-the-255-hop-number/1817>\
**Category:** Uncategorized\
**Created:** [September 11, 2026, 3:49pm UTC](https://forum.ripe.net/t/help-in-understanding-gap-limit-in-traceroute-settings-and-the-255-hop-number/1817 "2026-09-11T15:49:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ksafa](https://avatars.discourse-cdn.com/v4/letter/k/22d042/32.png) [@ksafa](https://forum.ripe.net/u/ksafa)\
**Post date:** [September 11, 2026, 3:49pm UTC](https://forum.ripe.net/t/help-in-understanding-gap-limit-in-traceroute-settings-and-the-255-hop-number/1817/1 "2026-09-11T15:49:03Z")

</div>

Please excuse me in advance if this is not the right forum for these kinds of questions, if it is the case I would appreciate any guidance towards a suitable platform.

I am trying to understand the effect of changing **gap\_limit** on traceroute results. According to the [documentation](https://atlas.ripe.net/docs/apis/rest-api-reference/measurements/measurements_create), **gap\_limit** represents the number of unresponsive hops before the traceroute measurement is _stopped_. I interpreted that like: as soon as **gap\_limit** consecutive unresponsive hops represented by \* lines are observed, the traceroute measurement is stopped and flagged as “no reply” or something similar.

I am currently conducting measurements to test reachability towards a particular server from several probes. I noticed for a very large number of traceroutes that after about 6 consecutive unresponsive nodes the last hop is numbered 255 along with the RTT value from the target. I assumed that 6 unresponsive hops is the default although the documentation doesn’t mention it and that 255 is the new TTL value set after the gap\_limit is reached although my hops limit is set to a smaller value such as 32 or 64. The hops column on the interface also shows the number of lines in the traceroute details, e.g., 16 instead of 255.

To understand more about how it works, I set gap\_limit to 0, and indeed the responses come in faster and only 2 lines are showing with the second numbered 255 and with the hops column still showing 2.

My questions are:

1. Is my interpretation of how gap\_limit works and the 255 TTL behaviour correct?
2. Should traceroutes that show results with last line being numbered 255 be interpreted as having \<=255 number of hops instead of the number of lines in the traceroute as it currently shows?

Thank you very much for your help in advance!

---

<div class="post-metadata">

**Author:** ![robertk](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.ripe.net/robertk/32/413_2.png) [@robertk](https://forum.ripe.net/u/robertk)\
**Post date:** [September 13, 2026, 9:25am UTC](https://forum.ripe.net/t/help-in-understanding-gap-limit-in-traceroute-settings-and-the-255-hop-number/1817/2 "2026-09-13T09:25:39Z")

</div>

I believe the answer is yes to both questions, your interpretation is correct
