Troubleshooting notes · Security

uRPF strict mode drops legitimate traffic (asymmetric routing)

After enabling ip verify unicast source reachable-via rx, traffic from a valid subnet is dropped and the verification drops counter rises. Strict uRPF fails when routing is asymmetric; loose mode keeps the anti-spoofing check. Real output from Cisco IOS XE 17.18.

The symptom

Since uRPF went live on R2, traffic from the head-office LAN behind R1 is dropped, although it's perfectly legitimate. R2's interface towards R1 runs strict uRPF:

interface Ethernet0/1
 ip verify unicast source reachable-via rx

Every ping from R1's LAN fails, and show ip interface Ethernet0/1 counts the packets as verification drops.

Why it happens

Strict uRPF (rx) accepts a packet only if the router's best route back to the source points out of the same interface the packet arrived on. R1's LAN traffic arrives on Ethernet0/1, but R2's best route to 10.1.1.0/24 points out of Ethernet0/0. The routing is asymmetric, so every packet fails the check.

uRPF doesn't use an ACL to decide: it checks the source address against the routing table (FIB). An ACL can only be added as an exception list.

The fix

Loose uRPF (any) only checks that a route to the source exists through any interface. It still drops spoofed and bogon sources:

R2(config)# interface Ethernet0/1
R2(config-if)# ip verify unicast source reachable-via any

Check it

R2# show ipv6 access-list FROM-BRANCH
IPv6 access list FROM-BRANCH
    permit tcp any any eq 22 sequence 10
    permit icmp any any (4 matches) sequence 20
    deny ipv6 any any log sequence 30
R2# show ipv6 neighbors Ethernet0/2
2001:DB8:23::2                              0 aabb.cc00.0c00  REACH Et0/2
R2# show ip interface Ethernet0/1 | include verify|drops
  IP verify source reachable-via ANY
   3 verification drops

The lab also fixed an IPv6 filter on R2 (the first two outputs). The last part is the uRPF check: the interface now runs reachable-via ANY. The drop counter keeps its old value (3) but no longer rises, and R1's pings succeed.

Use strict mode only where traffic always returns on the interface it arrived on, such as a single-homed customer edge. Multihomed edges, ECMP and provider links need loose mode.

Practise this fault

This fault is in ENARSI Lab 34 of ENARSI Troubleshooting Labs: a ready-made GNS3 project where you find and fix it yourself, alongside the other faults in the ticket, with the tested solution.

Or start with 15 free labs (5 each from CCNA, ENARSI and ENCOR), by email:

We’ll email you the download links and occasional lab tips. Unsubscribe with one click, any time. Your address is never shared.