On Router PE1, configure VPN AB:
- [edit]
- routing instances {
-
- VPN-AB {
- instance-type vrf;
- interface fe-1/1/0.0;
- route-distinguisher 10.255.14.175:9;
- vrf-import vpnab-import;
- vrf-export vpnab-export;
-
- routing-options {
-
- interface-routes {
- rib-group vpnab-vpna_and_vpnb;
- }
-
- static {
- route 10.255.14.185/32 next-hop 192.168.197.178;
- route 10.255.14.155/32 next-hop 192.168.197.141;
- route 10.255.14.186/32 next-hop 192.168.197.242;
- }
- }
- }
- }
In this configuration, the following static routes are installed in the VPN-AB.inet.0 routing table:
Next-hops 192.168.197.141 and 192.168.197.242 do not belong to VPN AB. Routes 10.255.14.155/32 and 10.255.14.186/32 cannot be installed in VPN-AB.inet.0 unless interface routes from VPN A and VPN B are installed in this routing table. The interface route configurations in VPN A and VPN B routing instances provide these next hops.