BGP operators use both RPKI authorization and Internet Routing Registry records to manage IP prefixes. These mechanisms differ in validation, and mismatches can interrupt routing during migrations.
The ROA vs IRR comparison examines two different ways to document an IP prefix’s authorized BGP origin. A Route Origin Authorization (ROA) is a cryptographically signed RPKI object authorizing an autonomous system to originate a prefix. An IRR route object is a registry record that associates a prefix with an origin ASN for routing-policy publication and filter generation.
An RPKI ROA is issued by an authorized resource holder and verified through the RPKI certificate chain. It identifies the ASN permitted to originate a specified IPv4 or IPv6 prefix.
A ROA includes:
Without maxLength, only the stated prefix length is authorized. An illustrative ROA for 203.0.113.0/24 does not cover separate /25 announcements unless maxLength permits /25. Avoid authorizing unnecessary more-specifics.
An IRR route object records a prefix and expected origin ASN in a routing registry. IPv4 uses route and origin attributes; IPv6 uses route6 objects.
IRR data supports prefix filters and routing-policy records. Operators may collect route objects to build customer prefix lists. Unlike a ROA, a route object in IRR relies on registry authentication rather than RPKI signatures.
To understand the ROA and IRR difference, consider the following:
An IRR entry cannot make an RPKI-invalid route valid. A correct ROA also cannot replace a route object needed by an upstream. Many operators maintain both.
Route Origin Validation (ROV) compares a BGP route with validated ROAs:
An Invalid result affects routing according to the receiving network’s policy; many networks reject such routes. RPKI validates the origin, not the entire AS path. Neither ROA nor IRR records authenticate every hop.
ROAs support certificate-based origin validation; IRR records support route filtering and policy exchange with peers and transit networks.
When using leased IPv4 blocks, an upstream may require an LOA and IRR data alongside ROAs. The resource holder usually controls RPKI certification, so the lessee must coordinate authorization.
During migration, BGP may use a new ASN while the ROA still authorizes the old one. The route can become RPKI Invalid even when IRR data is updated.
Conversely, outdated IRR records may generate filters for the previous ASN. For example, moving an illustrative 203.0.113.0/24 prefix from AS64500 to AS64501 requires the new origin to be authorized before its BGP announcement. Check:
Prepare new authorization before cutover. Remove obsolete origins and IRR entries once the migration is complete.
Yes. Multiple ROAs may authorize different ASNs for one prefix. Corresponding IRR records can also reflect a planned multiple-origin setup. This is useful when two upstreams announce the same prefix during a controlled transition.
Review authorized origins after migration. Old ASNs and overly broad maxLength values can leave more routes authorized than intended.
Hosting, ISP, and cloud teams should inspect BGP announcements, ROAs, IRR records, and authorization before deploying an IPv4 block.
Buying IPv4 space may involve registry updates; leasing requires holder coordination. LIR support can assist with records. A valid ROA does not establish clean IP reputation or correct geolocation.
Does a ROA announce an IP prefix in BGP?
No. It authorizes a BGP origin. A route is still announced by network equipment through a separate BGP session.
Can an IRR route object replace an RPKI ROA?
No. IRR data may inform prefix filters, but it cannot provide RPKI’s certificate-backed origin authorization.
What happens if BGP shows an ASN not included in the ROA?
If a covering validated ROA exists and none authorizes the actual origin ASN, route origin validation reports Invalid. An upstream may then reject the route.
Should I delete the old origin during a provider migration?
Remove obsolete authorization and IRR records after the new origin is operating correctly. Temporary multiple-origin records may be appropriate during the transition.
Keep BGP, RPKI, and IRR aligned with your intended routing design. Before leasing, buying, or transferring IP space, contact InterLIR to explore available IPv4 blocks and coordination of routing-related registry records. The team can assist with resource-management documentation and planning so that origin-ASN changes are prepared before the new prefix goes live.
Evgeny Sevastyanov
Support Team Leader
Live chat is provided by Intercom and is loaded only after you enable it. You can also contact us without enabling the chat.