Free tech learning for everyone, from basics to pro

Routing & SwitchingNetworking SecurityAdvanced

Overlapping subnets after a merger or partner connection: NAT, VRFs and renumbering

In short: When two networks use the same private ranges, routers cannot tell which 10.1.1.10 you mean. The quick fix is NAT, translating one or both sides into unused ranges so each sees the other at unique addresses. VRFs can keep the networks separate while sharing some services. The lasting fix is renumbering into a single addressing plan.

The problem

Company A uses 10.1.0.0/16. Company B, which A has just bought, also uses 10.1.0.0/16. A user in A wants to reach a server at B's 10.1.5.20. A's router sees 10.1.5.20 as a local address and never sends it towards B. Even if it did, the reply from B would go to B's own 10.1.x.x hosts. Routing alone cannot fix overlapping addresses. The same thing happens with partner VPNs and with home users whose 192.168.1.0/24 matches an office subnet.

Two ways to connect overlapping networksNATTranslate one side to a new rangeQuick to deployDNS must match the new addressesBreaks some applicationsSeparate VRFsKeep each network isolatedRoute only shared servicesClean for long-term separationStill needs NAT to talk directly
Figure 1. NAT is the fast fix; renumbering is the real fix; VRFs keep networks apart while you get there.

Option 1: NAT the remote side (one-way)

Pick an unused range in A's plan, say 10.201.0.0/16, to represent B. On the router or firewall between them, translate B's addresses into that range as seen from A. A's users connect to 10.201.5.20, which becomes 10.1.5.20 inside B. On Cisco IOS, network-wide static NAT does this in one line:

! On B's edge router: B's real network appears to A as 10.201.0.0/16
interface Tunnel1
 description To Company A
 ip nat outside
interface GigabitEthernet0/1
 description B internal
 ip nat inside
ip nat inside source static network 10.1.0.0 10.201.0.0 /16

Option 2: twice NAT (both sides)

If B's users also need to reach A, translate A's network as seen from B too, for example to 10.200.0.0/16. Each side now sees the other at a unique range. On IOS this combines ip nat inside source static network and ip nat outside source static network; on firewalls such as Cisco ASA, FTD, Palo Alto and FortiGate it is usually called twice NAT or bidirectional NAT, and is easier to manage there.

Don't forget DNS

Users connect by name, not address. A's DNS must return B's servers at their translated 10.201.x.x addresses. Use conditional forwarding plus DNS views, or a dedicated zone for B's services seen from A. Some firewalls can rewrite addresses inside DNS replies (DNS doctoring), but explicit records are clearer.

Option 3: VRFs for separation

Put each company's network in its own VRF on shared routers. The overlapping ranges can then coexist on the same equipment without clashing. Shared services (email, file servers, internet) live in a third VRF, reachable from both through NAT or route leaking with unique addresses. This is a good structure for a long integration period or for service providers hosting many customers.

The real fix: renumber

NAT adds complexity, breaks some applications (anything carrying IP addresses in its payload, some authentication and VoIP), and makes troubleshooting harder. Plan to renumber the smaller network into the combined addressing plan: move DHCP scopes first, then servers with DNS updates, then network infrastructure, one site at a time.

Real-world example: the VPN users at home

After a company moved to remote access VPN, users whose home router used 192.168.0.0/24 could not reach the office printers on the same range. The client always sent that traffic to the home network. The short-term fix was a NAT range for printers seen through the VPN. The long-term fix moved office subnets into a 10.x range that home routers do not use.

Practice

Why can routing alone not connect two networks that both use 10.1.0.0/16?
Each router sees the addresses as local and cannot tell which network a given address belongs to.
What is twice NAT?
Translating both the source and destination networks so each side sees the other at a unique address range.
Besides NAT rules, what must change so users can reach translated servers by name?
DNS, so it returns the translated addresses to users on the other side.

Key takeaways

  • Overlapping ranges cannot be fixed with routing alone.
  • NAT one or both sides into unused ranges, and update DNS to match.
  • VRFs let overlapping networks share equipment while staying separate.
  • Renumbering into one plan is the lasting fix.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: