When the Forwarding Path Beats RPKI Validation
At APNIC 62 earlier in this year, there was an interesting presentation from Ritesh Mukherjee from Nokia. His presentation was titled The Good Neighbor Problem: BGP Security Beyond Your Own Prefix. Slide 7 covered an interesting scenario where a network (Seacom) was impacted by a hijack despite performing RPKI validation. This happened because both the hijacked and legitimate announcements came from ASNs that weren’t performing RPKI validation.
This is quite an interesting and less discussed scenario, especially when people assume that just doing RPKI RoV makes them completely safe. The basic idea is that if a single-homed network with a full routing table (and no default route) performs RPKI RoV, it can still be impacted if its only upstream accepts a hijacked route and installs it in its forwarding table.
Let’s try to reproduce this in a container lab with FRR with a simple topology:
Lab

We have a customer (C) single-homed behind a provider (P). Let’s say P is peered with Google (AS15169) and also has two downstream networks, H1 and H2. I am using Google and a real-world IPv4 prefix here so that we can test with an actual RPKI-invalid state. Only C performs RPKI RoV; P does not.
Google originates 35.215.128.0/18 from AS15169, and C sees the following AS path: C > P > G (35.215.128.0/18).
Normal scenario
C# sh ip bgp 35.215.128.1
BGP routing table entry for 35.215.128.0/18, version 11
Paths: (1 available, best #1, table default)
Advertised to peers:
10.1.0.1
65001 15169
10.1.0.1 from 10.1.0.1 (10.0.0.1)
Origin IGP, localpref 200, valid, external, best (First path received), rpki validation-state: valid
Last update: Sat Nov 28 21:46:33 2026
C#
C# traceroute 35.215.128.1
traceroute to 35.215.128.1 (35.215.128.1), 30 hops max, 46 byte packets
1 10.1.0.1 (10.1.0.1) 0.004 ms 0.005 ms 0.005 ms
2 35.215.128.1 (35.215.128.1) 0.003 ms 0.005 ms 0.003 ms
C#
The route is visible and everything works as expected. We can also see rpki validation-state: valid, so all looks good here.
Hijack scenario
H2 originates a more-specific /24 route and announces it to H1, which then propagates it to P.
Looking at P:
P# sh ip bgp
BGP table version is 2, local router ID is 10.0.0.1, vrf id 0
Default local pref 100, local AS 65001
Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 35.215.128.0/18 10.2.0.2 0 100 0 15169 i
*> 35.215.128.0/24 10.3.0.2 140 0 65002 i
Displayed 2 routes and 2 total paths
P#
P prefers the hijacked route from H2 here.
But since C is performing RPKI validation, let’s check what it sees:
C# sh ip bgp 35.215.128.0/24
% Network not in table
C#
As expected, C rejects the /24 route because it is RPKI-invalid. However, let’s run the traceroute to 35.215.128.1 again.
C# traceroute 35.215.128.1
traceroute to 35.215.128.1 (35.215.128.1), 30 hops max, 46 byte packets
1 10.1.0.1 (10.1.0.1) 0.004 ms 0.006 ms 0.003 ms
2 10.3.0.2 (10.3.0.2) 0.002 ms 0.278 ms 0.005 ms
3 35.215.128.1 (35.215.128.1) 0.005 ms 0.004 ms 0.004 ms
C#
And there we have it. Even with RPKI RoV in place, C is impacted. It rejects the hijacked /24 route, but still forwards traffic to P, which has accepted the hijacked route and prefers it over the legitimate /18 route.
So it’s important for everyone to implement RPKI RoV, not just at the customer edge but throughout their network. And eventually, ASPA validation as well, to help secure the AS_PATH.
Happy routing! 😀