Configuring Layer 3 VPN Tunnel Interfaces

To configure a Layer 3 VPN as the tunnel end point of a generic routing encapsulation (GRE) tunnel interface, you need to specify which routing table to search on the router, indicated by the destination IP address, so that the appropriate routing table can be searched for the routing prefix, because identical routing prefixes can appear in different routing tables. To configure a Layer 3 VPN as the tunnel end point of a tunnel interface, include the routing-instance statement:

[edit interfaces interface-name unit unit-number tunnel {
routing-instance {
  destination routing-instance-name;
}

You must also configure the GRE tunnel interface at the [edit routing-instance routing-instance-name] hierarchy ...

Get Juniper Networks® Field Guide and Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.