Saturday, August 25, 2012

Lab 184 - L2TPv3

Prerequisites: CCNP level skills.

Topology

Pic1. MPLS Topology 3

Task 1
Assume there is no MPLS between PE1 (R1) and PE2 (R3) (remove LDP protocol in PE routers).

Task 2
Based on the previous lab's assignment (lab 183), configure similar VLAN-based VPN between CE3 (R5) and CE4 (R4). Use L2TPv3 to accomplish the task.

Solution

Task 1
Assume there is no MPLS between PE1 (R1) and PE2 (R3) (remove LDP protocol in PE routers).

PE1 (R1) Config:

R1(config)#int f0/0.13
R1(config-subif)#no mpls ip



PE2 (R3) Config:

R3(config)#int f0/0.13
R3(config-subif)#no mpls ip

Notice!
PE1 and PE2 are not using MP-BGP and LDP any more. Reachability in the cloud is purely OSPF routing domain (Layer3).

Task 2
Based on the previous lab's assignment (lab 183), configure similar VLAN-based VPN between CE3 (R5) and CE4 (R4). Use L2TPv3 to accomplish the task.


PE1 (R1) Config:

R1(config)#int f0/1.15
R1(config-subif)#no xconnect 10.0.3.3 45 encapsulation mpls
R1(config-subif)#

PE2 (R3) Config:

R3(config)#int f0/0.34
R3(config-subif)#no xconnect 10.0.1.1 45 encapsulation mpls
R3(config-subif)#

PE1 and PE2 Config:
!
pseudowire-class VPN1
 encapsulation l2tpv3
 ip local interface Loopback0
!

PE1 Config:
!
interface FastEthernet0/1.15
 encapsulation dot1Q 45
 xconnect 10.0.3.3 45 encapsulation l2tpv3 pw-class VPN1
!

PE2 Config:
!
interface FastEthernet0/0.34
 encapsulation dot1Q 45
 xconnect 10.0.1.1 45 encapsulation l2tpv3 pw-class VPN1
!

Notice!
It took a good while for the tunnel to be brought up. Be patient here!

Verification:

PE1 (R1):

Ping from CE3 to CE4 should now work (also EIGRP adjacency between them too, like in lab 183).