Tuesday, August 28, 2012

Lab 185 - MPLS L2 VPN

Prerequisites: CCNP level skills.

Topology
Pic.3 - MPLS Topology 3

Task 1
Based on the previous lab configuration, assume there is no MPLS between PE1 and PE2 (already removed in Lab 184). Remove L2TPv3 configuration from PE1 and PE2

Task 2
Configure PE1 and PE2 to provide layer 2 VPN service between CE3 and CE4. If the task requires this, you can create required static routes and additional interfaces. Use AToM encapsulation to accomplish the task.

Solution

Yet another "interesting" hack here. Don't you miss the time when things were simpler and there was only one way of getting it done?


Task 1
Based on the previous lab configuration, assume there is no MPLS between PE1 and PE2 (already removed in Lab 184). Remove L2TPv3 configuration from PE1 and PE2. 

CE1 (R1) Config:
!

no pseudowire-class VPN1
!
int f0/1.15
 no xconnect 10.0.3.3 45 encapsulation l2tpv3 pw-class VPN1
!


CE2 (R3) Config:
!

no pseudowire-class VPN1
!
int f0/0.34
 no xconnect 10.0.1.1 45 encapsulation l2tpv3 pw-class VPN1
!

Task 2
Configure PE1 and PE2 to provide layer 2 VPN service between CE3 and CE4. If the task requires this, you can create required static routes and additional interfaces. Use AToM encapsulation to accomplish the task.

CE1 (R1) Config:
!

interface Loopback1
 ip address 1.1.1.1 255.255.255.255

!
mpls ldp router-id Loopback1 force
!

interface Tunnel13
 ip address 10.13.13.1 255.255.255.0
 mpls ip
 tunnel source Loopback0
 tunnel destination 10.0.3.3
!
ip route 3.3.3.3 255.255.255.255 Tunnel13
!
interface FastEthernet0/1.15
 encapsulation dot1Q 45
 xconnect 3.3.3.3 45 encapsulation mpls


CE2 (R3) Config:
!

interface Loopback1
 ip address 3.3.3.3 255.255.255.255

mpls ldp router-id Loopback1 force
!        
interface Tunnel13
 ip address 10.13.13.3 255.255.255.0
 mpls ip  
 tunnel source Loopback0
 tunnel destination 10.0.1.1
!
ip route 1.1.1.1 255.255.255.255 Tunnel13

!

interface FastEthernet0/0.34
 encapsulation dot1Q 45
 xconnect 1.1.1.1 45 encapsulation mpls
!

Note!
In previous lab we have removed LDP protocol. For this solution to work, LDP must be implemented (it is used on Tunnel interfaces).