On Router PE1, configure VPN B:
- [edit]
- routing instances {
-
- VPN-B {
- instance-type vrf;
- interface fe-1/0/2.0;
- route-distinguisher 10.255.14.175:10;
- vrf-import vpnb-import;
- vrf-export vpnb-export;
-
- routing-options {
-
- interface-routes {
- rib-group inet vpnb-vpnab;
- }
-
- static {
- route 10.255.14.186/32 next-hop 192.168.197.242;
- route 10.255.14.185/32 next-hop 192.168.197.178;
- }
- }
- }
- }
When you configure the routing instance for VPN B, these static routes are placed in VPNB.inet.0:
Next-hop 192.168.197.178 does not belong to VPN B. Route 10.255.14.185/32 cannot be installed in VPN-B.inet.0 unless interface routes from VPN AB are installed in this routing table. The interface route configuration in VPN AB provides this next hop.