On Router PE1, configure a routing instance. As part of the configuration for the routing instance, configure a static route that is installed in vpna.inet.0 and is pointed at inet.0 for resolution.
- [edit]
- routing-instances {
-
- vpna {
- instance-type vrf;
- interface t3-0/2/0.0;
- route-distinguisher 10.255.14.171:100;
- vrf-import vpna-import;
- vrf-export vpna-export;
-
- routing-options {
-
- static {
- route 0.0.0.0/0 next-table inet.0;
- }
- }
- }
- }
At the [edit routing-instances vpna protocols bgp] hierarchy level, configure a policy (import-public-addr-to-inet0) to import public routes into inet.0 and a routing table group (vpna-to-inet0) to allow BGP to install routes into multiple routing tables (vpna.inet.0 and inet.0):
- [edit routing-instances vpna]
- protocols {
-
- bgp {
-
- group to-CE1 {
- import import-public-addr-to-inet0;
-
- family inet {
-
- unicast {
- rib-group vpna-to-inet0;
- }
- }
- peer-as 63001;
- neighbor 192.168.197.14;
- }
- }
- }