Troubleshoot RPKI Invalid Routes
For RPKI Invalid troubleshooting, capture the rejected prefix and its observed origin, compare all covering validated authorizations, then correct the announcement or ask the authorized holder to repair the ROA. Confirm the affected upstream accepts the intended route and test service traffic before closing the incident. NotFound and an unavailable validator are different findings.
Start with the failing network’s evidence
This procedure applies when a network reports an Invalid route under Resource Public Key Infrastructure (RPKI) origin validation. A Route Origin Authorization (ROA) is the holder’s signed permission for an origin ASN and prefix length. You need read access to route observations, a contact at the rejecting upstream and a contact authorized to manage the holder’s ROAs.
| Observation | Next check |
|---|---|
| Invalid for the exact route | Compare its origin and length with every covering validated record |
| NotFound | Investigate why no covering record is available; do not assume an origin mismatch |
| Validator or router-cache connection unavailable | Establish what data the router retains and which policy it applies |
| Different results at different networks | Compare timestamps, exact routes and each network’s validation data |
| Valid and accepted, but the service fails | Move to forwarding and return-path checks |
Examples below use documentation addresses and ASNs. The tables are illustrative decision cases, not captured router output or measurements of a live incident. Do not announce these resources publicly.
Capture the rejected announcement
Ask the rejecting network for the exact CIDR prefix, full AS path, validation state, peer and UTC timestamp. Save the last working prefix-origin pair and the most recent BGP or authorization change. Record aggregates and more-specific routes separately: acceptance of a /24 does not establish acceptance of a /25.
Read the origin from the externally observed route. In an ordinary AS sequence, it is the rightmost ASN; a local route with an empty path is not a remote observation. Account for provider origination or AS rewriting with the upstream before deciding which ASN should be authorized.
If the route is absent and no rejection reason is available, mark the cause unconfirmed. Obtain the upstream’s import evidence before changing ROAs; a missing route alone does not establish Invalid.
Compare covering authorizations and cache views
A validated ROA payload (VRP) is the prefix, maximum length and ASN record produced by a validator. Collect every VRP covering the rejected route, including less-specific authorizations, with the data source and observation time.
These read-only commands are documented for FRRouting (FRR) 10.4 in its vtysh shell. They require an existing RPKI-capable installation; confirm the correct routing instance. They have not been executed on a router for this guide.
show rpki cache-connection
show rpki prefix-table
show bgp ipv4 unicast 192.0.2.0/24Use the FRR RPKI display-command documentation to interpret your version’s fields. The prefix table describes the router’s cached authorizations; the BGP view describes retained routes. Neither proves what another network receives. If a rejected path is not retained, request the peer’s evidence rather than interpreting an empty table as NotFound.
| Illustrative observation | Interpretation and next branch |
|---|---|
Route 192.0.2.0/24, origin 64497; only VRP is 192.0.2.0/24, maxLength 24, ASN 64496 | Origin mismatch; confirm which origin was intended |
Route 192.0.2.0/25, origin 64496; same sole VRP | Length exceeds permission; confirm whether the more-specific is intended |
That /25 also has a VRP for 192.0.2.0/25, maxLength 25, ASN 64496 | A matching record makes this route Valid in that data set |
Only covering VRP uses ASN 0 | No ordinary announced origin matches it; ask the holder whether the space is intentionally marked unannounced |
| Publication and an independent validator have the intended record; rejecting router still has the old record | Trace publication, validator retrieval, router-cache synchronization and route reevaluation with their owners |
No covering VRP means NotFound. A covering record with no match means Invalid. One matching record is sufficient for Valid; do not stop at the first mismatch. A cache outage does not itself tell you which of these states a router assigns.
Choose the correction with the responsible operator
Compare the observations with the agreed change record. The ROA publication and origin-change guide owns the authorization workflow; this incident procedure determines which part is inconsistent.
If 64497 was an unintended origin, correct BGP rather than authorizing it to silence the alert. If the holder intended the origin change but only the IRR route object was updated, request the matching ROA from the authorized administrator. IRR changes do not repair RPKI validation.
Before a change, record the affected prefix-origin pair, responsible person, previous authorization/announcement and a rollback window. Stop and escalate when holder authority, intended origin or an AS0 policy is unresolved.
Apply the agreed repair within your authority
For a confirmed authorization error, have the holder publish only the intended prefix, origin and permitted length. For an announcement error, restore the agreed origin or withdraw the unintended more-specific while preserving the intended aggregate where applicable. Use the existing publication workflow rather than deleting all ROAs or disabling validation.
After a ROA change, confirm the record reaches independent validation data and the affected upstream’s router. If observations still disagree, investigate the stale checkpoint with its operator; there is no universal wait time that establishes completion.
If the change affects legitimate traffic, stop further rollout. Revert the exact changed announcement or authorization to its recorded state only if that state remains authorized and appropriate. Retain agreed migration permissions for the rollback window; retire them after verification. Do not broaden maxLength merely to make every announcement pass.
Verify route acceptance and service recovery
Obtain the upstream’s current route, origin, validation state and acceptance decision. A Valid label and import acceptance are separate checks. Use independent external observations from the affected networks, then test the required service and return traffic.
For example, after a planned change from 64496 to 64497, a portal may show the new authorization while one provider still evaluates its old cached record. The incident remains open at that provider until its route view and actual service tests pass. Repeatedly rewriting the ROA does not identify that stale checkpoint.
Use the prefix announcement checks if acceptance succeeds but traffic still fails. A Valid origin does not establish a correct full path; the BGP guide explains the separate import, selection and forwarding decisions.
Hand off unresolved observations
Send the following to the upstream for route acceptance, or the authorized holder for publication. Exclude credentials and session secrets.
UTC time and observation point:
Exact prefix; observed origin and full AS path:
Affected peer and agreed relationship:
Expected route; last known working comparison:
Covering VRPs; validator and router-cache observations with times:
Received/accepted/selected route; forwarding and service result:
Last change; scoped repair attempted; rollback state:
Requested check and responsible operator:When recording aggregates and more-specifics, the IPv4 subnet calculator can check their boundaries. It does not evaluate authorization or a provider’s acceptance policy.