cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Configure L2TP On Router using Sub interface

alibahrian110
Level 1
Level 1

Hi There,

 

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 physical interface. 

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

 

Following is the Config

Service Module-1

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

Int fa 1/0/1

     Desc laptop-1 having IP 172.16.0.1 255.255.0.0 is connected on this port.

     Sw acc vlan 1

Int gi 1/0/2

     Desc Internal Dot1q Trunk

     sw mode tr

     sw trun en dot1q

==========

On Router-1

========

L2tp-class  l2tpclass11

 

pseudowire-class pseudoclass11

       encap l2tpv3

       internetworking ethernet

       protocol l2tpv3 l2tpclass11

       ip local interface loopback 0

 

Int loopback 0

    ip add 10.1.1.1 255.255.255.255

 

int gi 0/0

      Desc Directly connected to Router-2 on port gi 0/0 

      ip add 10.0.0.1 255.0.0.0

 

Inter gi 2/0

       Desc Trunk to Switch Module

       ip add 192.168.0.1 255.255.255.0

 

Inter gi 2/0.1

xconnect 10.2.2.2 22 encap l2tpv3 pw-class pseudoclass11

 

 

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

Service Module-2

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

Int fa 1/0/1

      Desc laptop-2 having IP 172.16.0.2 255.255.0.0 is connected on this port.

     Sw acc vlan 1

Int gi 1/0/2

     Desc Internal Dot1q Trunk

     sw mode tr

     sw trun en dot1q

==========

On Router-2

========

L2tp-class  l2tpclass11

 

pseudowire-class pseudoclass11

       encap l2tpv3

       internetworking ethernet

       protocol l2tpv3 l2tpclass11

       ip local interface loopback 0

 

Int loopback 0

    ip add 10.2.2.2 255.255.255.255

 

int gi 0/0

      Desc Directly connected to Router-1 on port gi 0/0 

      ip add 10.0.0.2 255.0.0.0

Inter gi 2/0

       Desc Trunk to Switch Module

       ip add 192.168.0.1 255.255.255.0

 

Inter gi 2/0.1

xconnect 10.1.1.1 22 encap l2tpv3 pw-class pseudoclass11

 

OSPF is running so all the routng 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.

 

Who Me Too'd this topic