VCL-WIKI
L2VPN Configuration

VCL-WIKI > Routers > Layer 2 MPLS VPN > L2VPN Configuration

L2VPN Configuration Example

PIM Configuration

Note: The I.P addresses configured between the routers are in the format of 192.168.x.x/24 for routers.

In this setup, the configuration is done in four parts:

  • Protocol OSPF for connectivity between backbone routers R2, R3 and R4.
  • MPLS LDP tunnel at backbone routers R2, R3 and R4.
  • OSPF at customer edge routers R1 and R5.
  • L2TPv3 tunnel between routers R1 to R5.

The routers R1, R2, R3, R4 and R5 have been assigned with router-id 1.1.1.1, 2.2.2.2, 3.3.3.3, 4.4.4.4 and 5.5.5.5 respectively.

MPLS configuration on R2 >>

The Ethernet interfaces and dummy of Routers are added in MPLS.

We have used dummy address for MPLS router-id.

Discovery transport-ipv4 is also using the dummy address.

MPLS LDP neighbor will be defined as 192.168.24.2.


Similarly for R4

R3 will have 2 neighbors.


L2TPv3 configuration on R1 >>

Source-address will be 1.1.1.1

Remote address will be 5.5.5.5

Session-id will be 1

Peer-Session-id will be 1.

Tunnel-id will be 2.

Peer-tunnel-id will be 2.

Finally we will create a bridge interface making l2tpeth1 and eth0 as the member of the Bridge interface.


Similarly for R5.

After the configuration is done, an L2TPv3 tunnel will be established. Now the PCs can ping with each other with IP configured in same domain.

After the ping is initiated from PC1, R5 will forward the packet to R4 where an MPLS label will be pushed. This MPLS label will be popped at R3 and forwarded to R2 as we are using LDP. Finally the packet will reach its destination.

The above mentioned features are offered and supported by VCL-MX-50xx family of IP/MPLS Routers.


Valiant Communications is an ISO 9001:2015, ISO 10001:2018, ISO 14001:2015, ISO 27001:2013 and ISO 45001:2018 certified equipment manufacturer.