Skip to content
Calcrivo

VRF Route Leaking Calculator

Measure how much route leaking between VRFs amplifies the routing table under hub, mesh or selective policy.

Inputs

VRFs
routes
routes
pairs

Leaked Route Entries

1,000

Total Route Entries

11,000

Natively Originated Routes

10,000

Table Amplification Factor

1.10×

Entries if Fully Meshed

190,000

Policy Verdict

Shared-services hub scales linearly — 1.1× the native table

Step by step

  1. Values used

    VRFs = 20 VRFs; Routes originated per VRF = 500 routes; Shared-services routes each VRF imports = 50 routes; Leaking policy = Shared-services hub — every VRF imports the hub; Leaking VRF pairs (selective only) = 12 pairs

  2. VRF Route Leaking

    Hub leaking adds VRFs × shared routes; full-mesh leaking adds n(n − 1) × routes per VRF; selective leaking adds pairs × routes per VRF.

  3. Table amplification

    amplification = (own routes + leaked routes) ÷ own routes.

  4. Leaked Route Entries

    = 1,000

  5. Total Route Entries

    = 11,000

  6. Natively Originated Routes

    = 10,000

  7. Table Amplification Factor

    = 1.10 ×

  8. Entries if Fully Meshed

    = 190,000

  9. Policy Verdict

    = Shared-services hub scales linearly — 1.1× the native table

How it works

Leaking is implemented by importing route targets, and every imported prefix is a real FIB entry in the receiving VRF. A shared-services hub adds a fixed number of routes per VRF, while mutual full-mesh import multiplies the table by the VRF count. Route leaking is also the mechanism that quietly defeats the isolation the VRFs were built for, so the entry count is both a capacity number and a security review item.

Formulas

VRF Route Leaking

Hub leaking adds VRFs × shared routes; full-mesh leaking adds n(n − 1) × routes per VRF; selective leaking adds pairs × routes per VRF.

route target
The extended community that drives import and export between VRFs
shared services
A hub VRF holding DNS, NTP, monitoring and other common destinations
amplification
Total entries ÷ natively originated entries

Table amplification

amplification = (own routes + leaked routes) ÷ own routes.

Frequently Asked Questions

How is VRF Route Leaking calculated?

Hub leaking adds VRFs × shared routes; full-mesh leaking adds n(n − 1) × routes per VRF; selective leaking adds pairs × routes per VRF. Leaking is implemented by importing route targets, and every imported prefix is a real FIB entry in the receiving VRF. A shared-services hub adds a fixed number of routes per VRF, while mutual full-mesh import multiplies the table by the VRF count.

Why does VRF Route Leaking matter?

Route leaking is also the mechanism that quietly defeats the isolation the VRFs were built for, so the entry count is both a capacity number and a security review item.

What values do I need to enter?

This calculator takes 5 inputs: VRFs, Routes originated per VRF, Shared-services routes each VRF imports, Leaking policy, Leaking VRF pairs (selective only). The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

Is leaking or a firewall the right way to reach shared services?

Route the traffic through a firewall or fusion router when policy matters. Leaking gives any-to-any reachability between the leaked prefixes with no inspection point, which is rarely what a segmented design intended.

You might also need