Neatbo.

Inspect a declared route table completely

Structure a static route table, inspect both ranking stages for every destination, and save the complete comparisons with the original JSON.

Declare the limited model

Input is a declared table, rather than a live table read from your computer. Each route has a stable id, CIDR, unsigned metric and type; optional nextHop, interface and hopLimit remain in the report.

A legacy negative metric sentinel, expires, proto or cache record needs manual interpretation. Removing those fields cannot establish a reproduction of the actual system. Raw ip route text is not parsed.

Retain the two ranking stages

Only routes of the same family containing the destination match. Choose the longest prefix, then its lowest metric; preserve all equals. Input order is not a third ranking key.

Recorded host-bit normalization makes a changed CIDR visible. IPv4-mapped IPv6 stays in the IPv6 family, and hopLimit is retained without ranking.

Read every delivered comparison

report.json contains matched, selected and reason for every route against every destination. routes.csv includes all comparisons; route-source.json retains exact input and copy text is the full JSON report.

blackhole, unreachable and prohibit remain distinct from forwarding. Equal candidates with different actions are mixed-tie, rather than an inferred actual next hop.

Use the active native source and retain the handoff

Native route text requires manual structuring into the declared JSON fields. This tool reads one static table and cannot repair a live route, cache, redirect or policy.

Only the active paste/file source is processed. Active filenames allow 512 UTF-8 bytes and MIME labels 128; strict byte-exact originals and provenance SHA256 remain downloadable.

A whole 10-second absolute deadline starts before metadata validation and native file reading and continues through Worker loading and publication. Cancel, timeout or a source change clears every old artifact; retain the same complete source to rerun.

Complete JSON report, formula-safe CSV, original and copy total 16 MiB. Output sizes are reserved before large serialization; typed report/table JSON has a separate 16 MiB work cap. No partial output is published.

Complete artifacts
ArtifactPurpose
report.jsonAll routes, destinations, comparisons and provenance
routes.csvEvery route/destination comparison; formula-safe quoted cells
route-source.jsonByte-exact active JSON source
CopyComplete report, unchanged by preview
  • Choose paste or one native JSON file. Switching source invalidates the old result.
  • Review all tied candidates, download the byte-exact source and full report/CSV, then check the actual system separately.
  • After unfinished cancel or timeout, rerun the same complete source; a 4,000-codepoint preview does not shorten copy or downloads.

References

  • Original request

    Complete question, answers and author feedback read. The author asks ranking and reports same-subnet replies through a gateway; this declared-table task explains ranking without determining the live cache/redirect cause.

  • Primary implementation reference

    ipaddr.js provides address/CIDR parsing; this tool separately declares its single-table ranking model.

Tools in this category

Expand a tool to see its steps, options and supported formats, then open its workspace.

Explain declared route selectionCompare a declared IPv4/IPv6 route table against destinations; retain longest-prefix and metric decisions, equal-rank candidates, terminal actions and every comparison.

Compare a declared IPv4/IPv6 route table against destinations; retain longest-prefix and metric decisions, equal-rank candidates, terminal actions and every comparison.

Steps

  1. Choose paste or file mode.
  2. Provide declared routes and destinations.
  3. Inspect every comparison and all equal-rank candidates.
  4. Download originals and full JSON/CSV before checking actual system state.

Available options

Source mode
Paste · Files

Capabilities and limits

  • Explicit paste or one UTF-8 JSON file mode; only the selected mode is processed. Raw input is at most 1 MiB. BOM, malformed UTF-8, duplicate keys and lossy numbers refuse.
  • 1–4096 routes and 1–256 destinations; their product is at most 16384. id/interface use 1–128 UTF-16 units; metric is an integer 0–4294967295 and hopLimit an integer 0–255.
  • unicast, blackhole, unreachable and prohibit are supported. A unicast nextHop must have the same family. CIDR host-bit normalization is recorded; IPv4-mapped IPv6 stays IPv6.
  • Rank by longest prefix, then lowest metric. Keep every equal-rank candidate; order and hopLimit never resolve a tie. Mixed terminal actions remain explicit.
  • All complete JSON, CSV, original and copy text total at most 16 MiB. CSV prefixes formula-leading cells with an apostrophe; JSON and original preserve values. Over-budget work refuses atomically.
  • The declared table omits actual policy, cache, redirects, interface state and packet-level ECMP. It cannot establish or repair a live packet path.
  • Native route text requires manual structuring into the declared JSON fields. This tool reads one static table and cannot repair a live route, cache, redirect or policy.
  • Only the active paste/file source is processed. Active filenames allow 512 UTF-8 bytes and MIME labels 128; strict byte-exact originals and provenance SHA256 remain downloadable.
  • A whole 10-second absolute deadline starts before metadata validation and native file reading and continues through Worker loading and publication. Cancel, timeout or a source change clears every old artifact; retain the same complete source to rerun.
  • Complete JSON report, formula-safe CSV, original and copy total 16 MiB. Output sizes are reserved before large serialization; typed report/table JSON has a separate 16 MiB work cap. No partial output is published.
Open Explain declared route selection →