Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Using the Layer 2 Interworking Interface to Interconnect a Layer 2 VPN to a Layer 2 VPN

Instead of using a physical Tunnel PIC for looping the packet received from the Layer 2 VPN to another Layer 2 VPN, the Layer 2 Interworking interface uses Junos OS to stitch together both Layer 2 VPN routes.

To configure the interworking interface, include the iw0 statement. The iw0 statement is configured at the [edit interfaces] hierarchy level.

Note:

You must always create and delete (or deactivate) interworking (iw) interfaces in pairs, such as:

An error message displays if you delete or deactivate only one of the interworking interfaces. To successfully deactivate the interfaces and avoid any configuration errors, you must deactivate both.

The configuration of an interworking (iw) interface is similar to the configuration of a logical tunnel (lt) interface. In this example, the logical interfaces must be associated with the endpoints of both Layer 2 VPN connections terminating on this router. To make the association, include the interfaces statement and specify iw0 as the interface name. Include the statement at the [edit routing-instances routing-instances-name protocols l2vpn site site-name] hierarchy level for each routing instance. The routing-instances statement is configured at the [edit routing-instances] hierarchy level.

In addition to the iw0 interface configuration, Layer 2 interworking l2iw protocols need to be configured. Without the l2iw configuration, the l2iw routes will not be formed, regardless of whether any iw interfaces are present. Only standard trace options can be configured within the l2iw protocol. The minimum configuration necessary for the feature to work is shown below: