Course contents

Unit 4: VPNs and segmentationLesson 4.5 (5 of 5 in this unit)25 of 62 in the Cisco SD-WAN course

Inter-VPN route leaking and access-policy implications

How a prefix is shared between VPNs, why that weakens segmentation, and when a firewall or shared services VPN is the safer choice.

Advanced · 9 min read

You'll learn to describe how a route is leaked between VPNs, name the risks, and choose between leaking and sending traffic through a shared services or firewall segment.

Technical definition

Route leaking is the deliberate sharing of selected prefixes between VPNs so that hosts in one segment can reach chosen destinations in another. In Cisco SD-WAN it is configured with policy or local VRF settings, and it applies to the prefixes named, not to the whole VPN.

Why leaking is needed, and why it is risky

Strict segmentation is rarely complete. Staff may need a printer in the guest network, or every VPN may need a shared service such as DNS. Route leaking provides this by making a prefix from one VPN appear in another. The cost is that the wall between the segments now has an opening, and nothing in the route alone checks who uses it.

Diagram
Leaking a prefix
Leaking a prefix

One prefix is exported into another VPN.

  1. Selectprefix in VPN 30
  2. Exportto VPN 10
  3. Installroute in VPN 10
  4. Returnreverse route needed
Return traffic needs the reverse route as well.
Diagram
Ways to connect two VPNs
Ways to connect two VPNs
MethodInspectionComplexityTypical use
Route leaking by policyNone by itselfLowShared infrastructure such as DNS or NTP
Shared services VPNOptionalMediumA common set of servers used by several VPNs
Traffic through a firewallFull inspection and logsHigherSensitive segments such as payment systems
Choose by how sensitive the destination is.

Checks before leaking

  • Name the exact prefixes; avoid leaking a default route or a wide summary.
  • Check for overlapping addresses. A leaked prefix that overlaps a local one creates ambiguity.
  • Plan the return path, and test traffic in both directions.
  • Limit what the destination segment can reach with an access list or a policy on the interface.
  • Record each leak and its reason, so it can be reviewed and removed later.
Diagram
Leak or inspect
Leak or inspect

Two ways to allow a flow between segments.

LeakDirect pathNo inspection
FirewallInspected pathLogged
The firewall adds control but also work.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#show ip route vrf 10
C    192.168.10.0/24 is directly connected, ge0/1.10
O    198.51.100.53/32 [1/0] via 10.255.1.1 (leaked from VPN 30)
The second line is the leaked host route to a shared server. The wording shown here is illustrative: real output marks the source differently, and the way leaked routes are labelled depends on the release.

Learn more: Service VPN ArchitectureTemplates and Configuration Groups

Test yourself

Predict · scenario 1

Guests in VPN 20 must reach only a DNS server in VPN 30. What is the safest change?

Predict · scenario 2

Which option gives inspection and logging between two VPNs?

FAQ

Does leaking one prefix open the whole VPN?
No. Only the prefixes named in the policy are shared. Return traffic still needs a route back, so both directions are usually leaked, and that is why the exposure is larger than it looks.
Is leaking better than going through a firewall?
They suit different needs. Leaking is simple and fast but has no inspection. A shared services VPN with a firewall adds inspection and logging at the cost of extra design. Many security teams prefer the firewall for anything sensitive.
Where is leaking configured?
Commonly with a centralised control policy on the Controller, which can export routes from one VPN to others, or locally on a device. The available options depend on the release, so check the configuration guide.