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.
One prefix is exported into another VPN.
- Selectprefix in VPN 30
- Exportto VPN 10
- Installroute in VPN 10
- Returnreverse route needed
| Method | Inspection | Complexity | Typical use |
|---|---|---|---|
| Route leaking by policy | None by itself | Low | Shared infrastructure such as DNS or NTP |
| Shared services VPN | Optional | Medium | A common set of servers used by several VPNs |
| Traffic through a firewall | Full inspection and logs | Higher | Sensitive segments such as payment systems |
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.
Two ways to allow a flow between segments.
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)
Learn more: Service VPN ArchitectureTemplates and Configuration Groups
Test yourself
Guests in VPN 20 must reach only a DNS server in VPN 30. What is the safest change?
Which option gives inspection and logging between two VPNs?