VyOS RPKI Overview

Routing protocols such as Border Gateway Protocol (BGP) are commonly deployed today with a strong reliance on trust. Any peer—either unintentionally or with malicious intent—can announce IP prefixes they don’t own, potentially disrupting Internet traffic. To prevent this, many networks implement manually maintained filtering rules, which require human oversight whenever routing changes occur.

Resource Public Key Infrastructure (RPKI) addresses this issue by offering a cryptographic mechanism to validate prefix ownership, reducing the risk of incorrect route advertisements on the global Internet.

ill_protection_key

What is Resource Public Key Infrastructure?

Resource Public Key Infrastructure (RPKI) is a security framework designed to prevent IP route hijacking and improve the trustworthiness of BGP (Border Gateway Protocol) routing on the Internet. It uses cryptographic certificates to prove ownership of IP address blocks and Autonomous System Numbers (ASNs).

What is RPKI Used For?

RPKI is used to create and validate Route Origin Authorizations (ROAs), which specify which ASNs are authorized to originate routes to specific IP prefixes. When a BGP update is received, networks that use RPKI can check the validity of the origin AS number against the ROAs to ensure it is legitimate.

rpki_diagram

How is RPKI used?

Here’s how it works with VyOS

1

Certificate Authorities (CAs) issue digital certificates to IP address holders (e.g., RIRs like ARIN, RIPE).

2

Organizations generate ROAs, stating which AS is allowed to advertise each prefix.

3

Network operators deploy RPKI validators that fetch and verify ROAs.

4

BGP routers use the validation results to mark prefixes as:

5

Routing policies can then be enforced to prefer valid routes and reject or deprioritize invalid ones.

VyOS Resource Public Key Infrastructure

DatasheetDownload Solution Brief
EVPN-VXLAN Architecture Diagram

How does RPKI benefit organizations?

Protection icon

Protection

Protects IP address space from being hijacked or misused.

Security icon

Security

Improves routing security, reducing the risk of traffic interception or blackholing due to incorrect BGP advertisements.

Credibility icon

Credibility

Enhances trust and reputation, especially for ISPs, content providers, and enterprises with public-facing services.

Compliance icon

Compliance

Helps comply with security best practices and industry expectations for BGP filtering and origin validation.

Summary of Key Components

Components
Role
ROA
Authorizes an ASN to announce a prefix
RPKI Validator
Fetches and verifies ROAs from CAs
BGP Router
Receives prefix info and validates it
RTR Protocol
Transports validated data to routers
Routing Policy
Decides what to do with valid/invalid routes
VyOS, being a fully open-source network operating system, supports RPKI-based BGP origin validation, making it a great option for organizations that want to enhance routing security without relying on expensive or proprietary solutions.

How VyOS helps with RPKI

Here’s how it works with VyOS:

VyOS uses FRRouting (FRR) as its routing engine, which supports integration with external RPKI validators via the RTR (RPKI-to-Router) protocol (RFC 6810/6811).

1

Configure VyOS to connect to an RPKI validator, such as Routinator or rpki-client.

2

VyOS downloads validated ROAs via RTR over TCP.

3

BGP announcements received by VyOS are validated against ROAs.

4

Routing policy is applied to:


Datasheet
Datasheet

Want to learn more about VyOS Technical Capabilities?

Download the Technical Datasheet

DatasheetDatasheetDatasheetTechnical DatasheetDatasheet

Why VyOS?

Benefits of Using RPKI in VyOS:

Check

Routing Security

Prevents acceptance of BGP routes from unauthorized or malicious sources.

Check

Flexibility

Can be deployed on-prem, in the cloud, or at the edge.

Check

Compliance & Best Practices

Aligns with MANRS (Mutually Agreed Norms for Routing Security) standards.

Check

Open-Source & Cost-Effective

No licensing costs; full transparency and customization.

Check

BGP Policy Control

Easily define route-maps and prefix-lists based on RPKI status.

Resources

Here are some resources to help you learn more about VyOS, keep up with the development, and participate in it.

Book a Complimentary Consultation Today

GET FREE TRIAL TODAY

Still not 100% sure about VyOS? Give it a shot and let the hands-on experience speak for itself!