← Back
Cloudflare
Cloudflare launches Automatic Return Routing to resolve IP address overlap without NAT or VRF
Cloudflare · featurereleaseplatform · blog.cloudflare.com ↗

Problem: IP Address Overlap in Enterprise Networks

IP address overlap is a common challenge in enterprise networking, particularly as companies expand connectivity across multiple sites and networks. Traditional internet architecture assumes each IP address is globally unique, but private networks frequently reuse the same address ranges. This creates ambiguity when traffic from overlapping networks attempts to route through a centralized point like Cloudflare.

Common scenarios triggering this problem include:

  • Mergers & acquisitions where two companies both use identical private IP ranges (e.g., 10.0.1.0/24)
  • Extranet connections with partners and vendors who bring their own overlapping IP schemes
  • Cookie-cutter branch deployments where SaaS providers or retail chains replicate identical network configurations across locations

When return traffic reaches the Cloudflare edge, standard routing tables cannot deterministically choose the correct destination, potentially sending packets to the wrong site.

Traditional Solutions and Their Limitations

Current industry approaches to solving IP overlap introduce significant complexity:

Virtual Routing and Forwarding (VRF) isolates traffic into separate virtual routing tables but requires extensive administrative overhead, particularly when managing cross-VRF communication and route leaking at scale.

Network Address Translation (NAT) translates overlapping subnets into unique address ranges, which works functionally but requires manual mapping for each new site or partner integration.

Cloudflare recognized the need for a solution that eliminates this administrative toil.

How Automatic Return Routing Works

ARR replaces routing table lookups with stateful flow tracking, shifting intelligence from the network layer to connection-aware intelligence. Instead of asking "Where does this IP live?", the system asks "Where did this conversation originate?"

The process:

  1. Ingress — A packet arrives at the Cloudflare edge from a site via a specific connection (IPsec tunnel, GRE tunnel, or Network Interconnect)
  2. Flow Matching — The system inspects packet headers to determine if it matches an existing flow
  3. Proxying — If matched, the packet follows already-established paths without further routing decisions
  4. Flow Setup — For new traffic, the system establishes a flow and remembers the originating tunnel

This approach allows overlapping networks to coexist and communicate without requiring routing table entries or address translation. Return traffic automatically follows the same tunnel back to its origin.

Availability and Next Steps

Automatic Return Routing is currently available in closed beta for Cloudflare One customers. Organizations experiencing IP overlap challenges in their Magic WAN deployments or enterprise connectivity should contact Cloudflare to join the beta program.