Enabling VRF-to-VR Peering

In this configuration, assume that the global instance of BGP for the PE router runs in the parent VR, PE 1, to exchange VPN routes with its peers by means of internal or external MP-BGP. BGP can also be learning IPv4 unicast Internet routes from one or more of its core-facing, internal or external BGP peers.

By virtue of the static route configured in VRF PE 11, a CE router that connects to that VRF can establish an EBGP session directly to loopback 1 (10.20.20.2) in the parent VR, PE 1. The same PE router can therefore provide both VPN and Internet access to any attached CE routers.

To enable VRF-to-VR peering:

  1. Configure the virtual router PE1.
    host1(config)#virtual-router PE1
  2. Define the loopback interface for the virtual router.
    host1:PE1(config)#interface loopback 1
  3. Configure the IP address.
    host1:PE1(config-if)#ip address 10.20.20.2 255.255.255.255 host1:PE1(config-if)#exit
  4. Configure virtual router PE11.
    host1:PE1(config)#virtual-router :PE11
  5. Configure static routes on PE11.
    host1:PE1:PE11(config)#ip route parent-router loopback 1

Related Documentation