Configure a VT Interface for Route Table Lookup
To configure tunnel interfaces to facilitate route table lookups for VPNs, you specify a tunnel's endpoint IP addresses and associate them with a routing instance that belongs to a particular routing table. This enables the JUNOS software to search in the appropriate routing table for the route prefix, because the same prefix can appear in multiple routing tables. To configure the destination VPN, include the
routing-instancestatement at the [edit interfaces gr-fpc/pic/portunitlogical-unit-numbertunnel] hierarchy level:[edit interfaces]gr-fpc/pic/port{unitlogical-unit-number{tunnel {sourceaddress;destinationaddress;routing-instance {destinationrouting-instance-name;}}}}This configuration indicates that the tunnel's destination address is in routing instance
routing-instance-name. By default, the tunnel route prefixes are assumed to be in the default Internet routing tableinet.0.
You can configure a VT interface for VRF table lookup or route table lookup, but not for both. For more information, see Configure a VT Interface for VRF Table Lookup.
For more information about VPNs, see the JUNOS Internet Software Configuration Guide: VPNs.