What RPKI and ROAs actually protect against
Step 1: Check whether a ROA exists for your prefix
- Cloudflare's RPKI toolkit at
rpki.cloudflare.com— enter your prefix and origin AS. - RIPE's RPKI Validator / RIPEstat — search for your prefix at
stat.ripe.netand look at the "RPKI" or "Routing Status" widget.
BASH
# If you run routinator locally (NLnet Labs RPKI relying party software):
routinator vrps --filter-prefix 203.0.113.0/24TEXT
ASN,IP Prefix,Max Length,Trust Anchor
AS64500,203.0.113.0/24,24,apnicStep 2: Verify the max-length setting
Step 3: Confirm your BGP announcement matches the ROA
- Wrong origin AS. You created the ROA for AS64500 but your router announces the prefix with AS64501 (maybe after a merger, renumbering, or misconfigured route-map). Result: RPKI Invalid.
- Announcing a prefix length not covered. ROA covers 203.0.113.0/24 with max-length /24, but your router announces 203.0.113.0/23 (a less-specific aggregate). The /23 is not covered by a ROA for /24. Result: Unknown (not Invalid, but not Valid either — no protection).
- Stale ROA after IP transfer. You acquired a prefix block from another organization. The old ROA still points to their AS. Your announcement from your AS is now Invalid.
stat.ripe.net, "BGP Looking Glass" or "Routing Status") shows the origin AS and prefix length as seen by their collectors worldwide. Compare that against your ROA.
Step 4: Check whether your upstream actually enforces ROV
-
Cloudflare's "Is BGP Safe Yet?" page (
isbgpsafeyet.com) tests whether your current ISP or transit drops known RPKI-invalid test prefixes. It works by checking reachability to prefixes that are deliberately announced with invalid RPKI status. If you can reach them, your path to those prefixes does not enforce ROV. - Ask your transit provider directly. In your next NOC call or contract review, ask whether they perform ROV and whether they drop RPKI-invalid routes or merely deprioritize them. "Deprioritize" (lower local-pref) is weaker than "drop" — a deprioritized invalid route can still win if no valid alternative exists.
- Check looking glasses of major transit networks. Many large networks publish looking glasses where you can query a prefix and see the validation state. If a looking glass shows your prefix as "Valid," that network's validators see your ROA. If it shows "Unknown," they either don't have your ROA cached or aren't running validation.
Step 5: Watch for ROA expiration and repository issues
- ROA is listed and not expired.
- The prefix, origin AS, and max-length still match your operational reality.
- No stale ROAs exist for prefixes you no longer hold or ASes you no longer use.
When the symptom is traffic loss, not a hijack alert
Practical takeaway
isbgpsafeyet.com make all three checks possible without special access. Run them after any change to your BGP announcements, after IP transfers, and on a periodic schedule. The five minutes it takes to verify beats the hours spent debugging mysterious partial reachability loss caused by your own stale ROA.