cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
405
Views
0
Helpful
0
Replies

L2TPv3 on Cisco 2800 series with EtherSwitch Service Module

alibahrian110
Level 1
Level 1

I have 2x2800 routers with NME-16ES-1G-P - 16-port 10/100 Cisco EtherSwitch Service Module installed in it.

 

I created L2tp tunnel using Physical interfaces on the routers. It works fine. laptops could ping each other.

 

Now I Want to create a L2TPtunnel from the router sub interface to another router Subinterface

Following config I applied. Tunnel comes up but the two laptops cant ping.

================================================
Switch1

interface gi1/0/2
Desc Internal Dot1q Trunk to router R1
sw trunk encap dot1q
switchport mode trunk
!
interface FastEthernet1/0/1
Desc laptop-1 having IP 172.16.0.1 255.255.0.0 is connected on this port.
switchport access vlan 200

=================================

R1

Int loopback 0
ip add 10.2.2.2 255.255.255.255

Interface gi 0/0
ip address 10.0.0.1 255.0.0.0

l2tp-class l2tp-defaults
retransmit initial retries 30
cookie size 8
!
!
pseudowire-class VLANS
encapsulation l2tpv3
protocol none
ip local interface loopback0

!
interface gi2/0.200
encapsulation dot1Q 200
xconnect 10.1.1.2 200 encapsulation l2tpv3 manual pw-class VLANS
! This id is important 102 and 202 must be swaped on the other end
l2tp id 102 202
! "remote" is data sent
! "local" is data expected to be recieved.
! Therefore 221200 is Router 2 2 Router 1 VLAN 200 (R22R1VLAN200)
! Just makes it easier for you, but you can do any number as long as
! it is flipped
l2tp cookie local 4 221200
l2tp cookie remote 4 122200
l2tp hello l2tp-defaults

!


=========================================


R2

Int loopback 0
ip add 10.2.2.2 255.255.255.255

Interface gi 0/0
ip address 10.0.0.2 255.0.0.0

l2tp-class l2tp-defaults
retransmit initial retries 30
cookie size 8
!
!
pseudowire-class VLAN200
encapsulation l2tpv3
protocol none
ip local interface loopback0


interface gi2/0.200
encapsulation dot1Q 200
xconnect 10.1.1.1 200 encapsulation l2tpv3 manual pw-class VLAN200
l2tp id 202 102
l2tp cookie local 4 122200
l2tp cookie remote 4 221200
l2tp hello l2tp-defaults

=============================================

Switch2

interface gi1/0/2
Desc Internal Dot1q Trunk to router R1
sw trunk encap dot1q
switchport mode trunk
!
interface FastEthernet1/0/1
Desc laptop-1 having IP 172.16.0.1 255.255.0.0 is connected on this port.
switchport access vlan 200


OSPF is running so all the routing is in place. Router 1 can ping router 2 loopback and other IP address.

L2TP tunnel comes up straight away but Laptop-1 cant ping laptop2 and vice versa.

 

Any sggestion whats wrong in the config.

0 Replies 0
Review Cisco Networking for a $25 gift card