Free tech learning for everyone, from basics to pro

Network ArchitectureNetworking SecurityAdvanced

Multi-tenant network architecture with VRFs: separating organisations, zones and services

In short: A VRF gives a router or switch several independent routing tables, so different groups (tenants, zones or customers) can share the same equipment without seeing each other. VRFs are a strong way to separate guest, OT, payment and management networks. Traffic between VRFs is sent through a firewall or carefully leaked for shared services, and the design scales across sites with MPLS or EVPN.

VLANs, ACLs and VRFs

VLANs separate traffic at Layer 2, but once a switch routes between VLANs, every subnet can reach every other unless ACLs block it. On a large network those ACLs become long and fragile. A VRF (virtual routing and forwarding instance) gives each group its own routing table: a subnet in the Guest VRF simply has no route to the Corporate VRF, so isolation is built in rather than added with filters.

Using VRFs to separate networksCorporatestaff and serversGuestinternet onlyOT / IoTbuildings, camerasPCIcard payment systemsManagementdevice adminPartnersshared services only
Figure 1. Each VRF has its own routing table; traffic between them only passes where you allow it.

Typical tenants and zones

  • Enterprises: corporate, guest, OT/building systems, PCI (card payment), management, labs.
  • Colleges and universities: staff, students, research, residences, guests.
  • Shared buildings or hospitals: separate organisations sharing one physical network.
  • Service providers: one VRF per customer (MPLS L3VPN).

Extending VRFs across the network

  • VRF-lite: each VRF uses its own subinterface or VLAN on every link between routers, with a routing protocol per VRF. Simple for a few VRFs and a few hops, but configuration grows quickly.
  • MPLS L3VPN or EVPN-VXLAN: VRFs are carried across a shared core using labels or VNIs, with BGP distributing routes per VRF. Scales to many VRFs and sites.
  • SD-WAN: most platforms carry multiple segments (VRFs) across the WAN.

Traffic between VRFs

Some communication between zones is always needed: guests need the internet, OT devices need their management server, everyone needs DNS. Two approaches:

  • Through a firewall (recommended): each VRF has a default route to a firewall interface or subinterface, and the firewall enforces policy between zones. This is sometimes called a "fusion" design.
  • Route leaking: importing selected routes from one VRF into another (for example shared DNS servers). Useful for a few shared services, but it bypasses firewall inspection and can grow messy.

Shared services

DNS, DHCP, NTP, AAA and monitoring often live in a shared services VRF. Decide clearly which VRFs may reach them and how (through the firewall or by leaking only those host routes). DHCP relays need the VRF-aware form (ip helper-address vrf SHARED 10.10.5.10).

Design tips

  • Keep the number of VRFs small and meaningful; each one adds operational work.
  • Plan non-overlapping addresses unless you deliberately allow overlap (for separate customers).
  • Remember every VRF-aware command: ping, traceroute, SSH and SNMP need vrf NAME.
  • Combine with group-based policy (SGTs) for finer control inside a VRF.

Real-world example: the hospital's building systems

A hospital's heating, lifts and lighting controllers sat in VLANs on the same routed core as clinical systems, separated only by a long ACL that had drifted over time. Moving building systems into an OT VRF, with a default route to the internal firewall and only their management servers allowed, isolated them completely. A later vulnerability in a lighting controller could not be reached from any clinical or staff network.

Practice

What does a VRF provide that a VLAN alone does not?
A separate routing table, so subnets in different VRFs have no routes to each other unless explicitly allowed.
What is the recommended way to allow traffic between VRFs?
Route it through a firewall that enforces policy between the zones.
Why does VRF-lite become hard to manage at scale?
Each VRF needs its own subinterface and routing configuration on every link, which grows quickly with more VRFs and hops.

Key takeaways

  • VRFs give separate routing tables on shared equipment.
  • Use them for guest, OT, PCI, management and separate tenants.
  • Extend with VRF-lite for small designs, MPLS or EVPN for scale.
  • Connect VRFs through firewalls; leak routes only for a few shared services.
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: