Updated October 2026: I re-tested strict vs loose uRPF in my home lab on an asymmetric Containerlab topology. Strict on the return path dropped legitimate traffic; loose on that interface only fixed it. I also corrected the default-route, DHCP, and ACL-exception details for IOL 17.18.2. See the new section before Key Takeaways.
Source IP addresses are trivially forged. Nothing in the IP header proves the source is who it claims to be, and a packet with a lie in the source field is the raw material for reflection attacks, spoofed floods, and a whole category of nuisance traffic. Unicast Reverse Path Forwarding (uRPF) is the router feature that calls the bluff: for each arriving packet, it asks "do I actually have a route back to this source?" and drops the ones where the answer is no.
This article configures strict uRPF, proves it with spoofed packets, and then shows where strict mode breaks on an asymmetric path. It extends the Infrastructure Security cluster guide.
The Idea in One Sentence
Normal forwarding looks up the destination to decide where a packet goes. uRPF adds a second lookup on the source: it checks the routing table (specifically CEF, the Cisco Express Forwarding table) to see whether the source address is reachable, and if so, whether it is reachable via the interface the packet arrived on. Fail the check, drop the packet.
The intuition: if a packet claiming to be from 8.8.8.8 arrives on your customer-facing interface, but your route to 8.8.8.8 points out your upstream interface, that packet is lying. A real packet from 8.8.8.8 would never arrive on the customer port. uRPF drops it.
Strict vs Loose: The Whole Decision
There are two modes, and choosing wrong either breaks legitimate traffic or fails to catch the spoofing.
The trade-off is entirely about asymmetric routing, where a packet's return path differs from its arrival path. Strict mode assumes symmetry: it expects traffic from a source to arrive on the same interface you would use to reach that source. On a single-homed customer link that assumption holds, and strict mode is the gold standard. On a multi-homed router where traffic legitimately arrives on one link and leaves on another, strict mode drops perfectly valid packets, and you need loose mode.
Loose mode drops only the truly unroutable: source addresses that appear nowhere in your routing table at all (bogons, unallocated space, obvious garbage). It cannot catch a spoofed source that happens to be a real, routable address arriving on the wrong interface, because it does not care which interface. It is the compromise you make when you cannot guarantee symmetry.
Configuration
uRPF is one line per interface, and it requires CEF (I enabled ip cef explicitly on the IOL 17.18.2 routers in my lab). Strict mode on R-EDGE Ethernet0/3, the interface facing the customer-side client:
R-EDGE(config)#interface Ethernet0/3
R-EDGE(config-if)#ip verify unicast source reachable-via rxrx is strict (received-interface). any would be loose. That is the entire difference in the config.
Verify it is armed:
R-EDGE#show ip interface Ethernet0/3 | include verify|drop
IP verify source reachable-via RX
0 verification drops
0 suppressed verification drops
0 verification drop-rateZero drops so far, because nothing has spoofed yet.
Proof: Spoof It and Count the Drops
The lab sends two batches of packets with Scapy from the Alpine client (10.149.10.10) behind R-EDGE Ethernet0/3, both aimed at the server 10.149.20.20. First, 20 forged packets with a source of 203.0.113.66, documentation space R-EDGE has no route to via that interface. Then, as a control, 5 legitimate packets with the client's real source.
Sent 20 packets.
Sent 5 packets.Now the router:
R-EDGE#show ip interface Ethernet0/3 | include verify|drop
IP verify source reachable-via RX
20 verification drops
0 suppressed verification drops
0 verification drop-rate
R-EDGE#show ip traffic | include drop|RPF
0 no route, 20 unicast RPF, 0 forced drop, 0 unsupported-addrExactly 20 drops on Ethernet0/3. Every forged packet was caught. And the 5 legitimate packets? They added zero to the drop counter, and the server capture shows all 5 echo requests arriving and being answered, because 10.149.10.10 is reachable via Ethernet0/3. The counter matching the forged count, with the legitimate traffic untouched, is the feature working as specified.
The 20 unicast RPF line in show ip traffic is the global tally, useful for confirming the drops are uRPF and not something else (a route missing, an ACL). uRPF drops have their own bucket.
This Is BCP 38
uRPF is the practical implementation of BCP 38 (RFC 2827), the internet's long-standing best practice on source-address validation. The idea is simple and the impact is large: if every network filtered packets whose source addresses it could not legitimately originate, entire classes of reflection and amplification DDoS attacks would become far harder to launch.
An ISP applying strict uRPF on its customer access ports guarantees that a customer can only send packets sourced from the address space that customer was assigned. A compromised machine behind that port cannot spoof arbitrary sources for an attack. This is why uRPF on the access edge is one of the highest-leverage security controls a provider can deploy, and why it belongs on enterprise edges too.
The ACL Escape Hatch
Sometimes you need uRPF but with exceptions, DHCP being the classic case. A DHCP client sends its initial DISCOVER with a source of 0.0.0.0, which is not reachable by definition. Some platforms drop it under strict uRPF, but in my IOL 17.18.2 re-test three source-0.0.0.0 DISCOVER broadcasts were still relayed to the server under strict uRPF with no exception ACL. I did not test lease completion. When you do need an exception, uRPF accepts an ACL. On IOL 17.18.2 the named-ACL form (reachable-via rx URPF-ALLOW) was rejected by the parser; the numeric form worked. This is the exact exception I tested, permitting the forged test source so the counters would show it:
R-EDGE(config)#access-list 149 permit ip host 203.0.113.66 any
R-EDGE(config-if)#ip verify unicast source reachable-via rx 149Packets that fail the uRPF check are then re-checked against the ACL; a permit overrides the drop. In my test ACL 149 showed 20 matches for the 20 forged packets. In production you would permit only the specific exception you need (for example host 0.0.0.0 for DHCP), never a test source. Use this sparingly and specifically. A broad permit ACL defeats the entire purpose.
Where Strict uRPF Bites
- Multihoming and asymmetry. This is the case I reproduced here: strict mode on an asymmetric return interface dropped legitimate traffic. If your network has asymmetric paths, strict mode on the affected interfaces will drop valid packets. Use loose mode there.
- Default routes and loose mode. Loose mode does not count a default route unless you add
allow-default. On IOL 17.18.2, with only a default route, 20 forged sources were still dropped; withallow-default, the same 20 passed. Soallow-defaulton loose is what turns it into a near no-op, not the default route by itself. - DHCP and 0.0.0.0. Some platforms drop the 0.0.0.0-sourced DISCOVER under strict uRPF. On IOL 17.18.2, three DISCOVERs were still relayed with no exception (lease completion not tested). Test your image before adding an exception.
- Placement. uRPF belongs on interfaces facing untrusted or customer networks, checking traffic coming in. Applying it on a core-facing interface toward your own network is usually pointless and occasionally harmful.
FAQ
Strict or loose, if I am not sure?
If the interface is single-homed and faces users or customers, strict. If the router is multi-homed or you have any asymmetric routing, loose. When in doubt on a core box, loose is the safe default; strict on an access edge is the strong choice.
Does uRPF need CEF?
Yes. uRPF does its source lookup in the CEF table. CEF was enabled on the IOL 17.18.2 routers in my lab (I set ip cef explicitly), and I did not test uRPF with CEF disabled, but without CEF there is no table for the check to use.
Will loose mode stop spoofing?
Only spoofing with unroutable (bogon) sources. A spoof using a real, routable address arriving on the wrong interface passes loose mode. That is the price of surviving asymmetry.
Does uRPF replace anti-spoofing ACLs?
It complements them and scales better. An ACL must be maintained as your address space changes; uRPF follows the routing table automatically. Many networks run both: uRPF for the dynamic check, an ACL for specific known-bad ranges.
Can I see which sources were dropped?
The counters tell you how many. To see which, add logging via an ACL exception with log, or use CoPP/ACL logging alongside. uRPF itself only counts.
Re-tested in my home lab (October 2026)
I rebuilt this in my home lab in Containerlab with four Cisco IOL 17.18.2 routers (R-EDGE, ISP-A, ISP-B, R-CORE) and two Alpine hosts. Client 10.149.10.10 sits on R-EDGE Ethernet0/3. Server 10.149.20.20 sits on R-CORE. Outbound to the server prefers ISP-A; the return prefers ISP-B, so the path is asymmetric on purpose.

Customer strict still catches the forge
With ip verify unicast source reachable-via rx on the customer interface only, twenty forged packets from 203.0.113.66 produced twenty verification drops. Legitimate client traffic was untouched:
Sent 20 packets.
...
20 verification drops
0 no route, 20 unicast RPF, 0 forced drop, 0 unsupported-addrBreak it: strict on the asymmetric return
CEF still preferred ISP-A toward the server, while return traffic arrived on Ethernet0/2 from ISP-B. Enabling strict on that return interface broke legitimate pings (5 transmitted, 0 received) and added five verification drops:
10.149.20.0/24
nexthop 10.149.1.2 Ethernet0/15 packets transmitted, 0 packets received, 100% packet lossR-EDGE#show ip interface Ethernet0/2 | include verify|drop
IP verify source reachable-via RX
5 verification dropsFix: loose on the return path only
Changing only Ethernet0/2 to ip verify unicast source reachable-via any restored bidirectional pings and HTTP. The customer interface stayed strict:
ip address 10.149.2.1 255.255.255.0
ip verify unicast source reachable-via any--- 10.149.20.20 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet lossCorrections from the same run
Three claims needed tightening on IOL 17.18.2. First, loose mode does not automatically treat a default route as a qualifying path: without allow-default, twenty forged sources still dropped; with allow-default, the same twenty passed. Second, three DHCP DISCOVER broadcasts sourced from 0.0.0.0 were relayed to the server under strict uRPF with no exception ACL (lease completion was not tested). Third, the post's named ACL form ip verify unicast source reachable-via rx URPF-ALLOW was rejected by the parser; numeric ACL 149 worked and showed 20 permit matches for a forged-source exception test:
R-EDGE(config-if)#ip verify unicast source reachable-via rx URPF-ALLOW
% Invalid input detected at '^' marker. IP verify source reachable-via RX, ACL 149
Extended IP access list 149
10 permit ip host 203.0.113.66 any (20 matches)Key Takeaways
- uRPF adds a source lookup to forwarding: is this source reachable, and (in strict mode) via the interface it arrived on?
- Strict (
reachable-via rx) is the strongest anti-spoofing but breaks on asymmetric routing. Loose (reachable-via any) survives asymmetry but only catches unroutable sources. - The lab proved it on R-EDGE Ethernet0/3: 20 forged packets, 20 verification drops, while 5 legitimate packets passed untouched.
- uRPF is the implementation of BCP 38 source-address validation. On access edges it stops compromised hosts from spoofing.
- Watch the traps: multihoming (use loose on the asymmetric interfaces), default routes (on IOL 17.18.2 loose needs
allow-defaultbefore it uses a default route), and DHCP's 0.0.0.0 source (some platforms drop it; on IOL 17.18.2 my strict relay still forwarded DISCOVER broadcasts, lease not tested). - Place it on untrusted-facing interfaces, checking inbound traffic.
Next: Control Plane Policing to protect the CPU, or the Infrastructure Security cluster guide.