PE Router 2 (PE2)
PE2 connects to both customer A and customer B.
On customer B VRF3 configure:
- RD – 2:21
- Route target – export 2:20 and import 2:2 and 2:20
On customer A VRF4 configure:
- RD – 1:11
- Route target – export 1:10 and import 1:1 and 1:10
In the global VRF (using L3 Tunneling):
- Configure a loopback interface for each L3 tunnel to be used as the tunnel source interface, specifying the global VRF BGP address as secondary
- Configure L3 tunnels 1 (tun.0.1) connecting PE2 and PE1 and L3 tunnel 2 (tun.0.2) connecting PE2 and PE3
- Configure a static route to the loopback interface BGP address to force BGP traffic to use the tunnel instead of the associated VLAN
- Enable the VPNV4 address family in BGP configuration mode (if using IPv6 enable VPNV6)
- Activate VPNV4 neighbors
- Activate VPNV4 neighbors
- Redistribute OSPF in the BGP configuration mode IPv4 address family for both VRF3 and VRF4
In the global VRF (using Native MPLS):
- Enable Native MPLS for the appropriate IP address type
- Enable MPLS LDP for the appropriate IP address type
- Configure a loopback interface specifying the global VRF BGP address as primary
- Enable the VPNV4 address family in BGP configuration mode (if using IPv6 enable VPNV6)
- Activate VPNV4 neighbors
- Redistribute OSPF in the BGP configuration mode IPv4 address family for both VRF1 and VRF2