Information Technology Reference
In-Depth Information
Route Target Design Examples
This section presents some examples of how you can use RTs to achieve complex VPN
solutions:
Hub-and-spoke VPN
Extranet VPN
Management VPN
Hub-and-Spoke VPN Topologies
On the PE connecting to the hub site, create two VRFs for customer Cust1—Cust1-hub-in
and Cust1-hub-out—as shown in Example 10-42. On Cust1-hub-in, import all spoke routes
(RT 100:50); on Cust1-hub-out, export hub routes to spokes (RT 100:51).
Example 10-42 RTs for the Hub PE
ip vrf Cust1-hub-in
rd 100:100
route-target import 100:50
ip vrf Cust1-hub-out
rd 100:101
route-target export 100:51
On each spoke site, import all routes from Cust1-hub-out with 100:51, and export spoke
routes as 100:50. Example 10-43 shows the sample configurations.
Example 10-43 RTs for the Spoke PE
ip vrf Cust1-spoke1
rd 100:1
route-target export 100:50
route-target import 100:51
Extranet VPN
An extranet VPN is created when routing information is exchanged between certain sites
of one VPN with certain sites of another VPN. In Example 10-44, Cust1 wants to allow
access to a locally connected site to the current PE by Cust2. An additional RT of 100:100
is created for the extranet. Note that the configurations in this example allow the whole site
to be accessible. If only some prefixes should be accessible, you can use route maps (import
maps and export maps).
Search WWH ::




Custom Search