Start playing with L2VPN

02/09/2012 22:49

First config - connected 2 sites over public backbone using L2TPv3. Pings CE1 to CE2 successful.

 

Config snippet

 

pseudowire-class TUN1

 encapsulation l2tpv3

 ip local interface Loopback0

!

interface Serial1/0

 

 ip address 200.100.100.2 255.255.255.252

!

interface FastEthernet2/0

 

 no ip address

 duplex auto

 speed auto

 no cdp enable

 xconnect 10.10.10.2 100 pw-class TUN1 ; VCID must be same on both ends otherwise we cant establish a session over a tunnel

 

 

 

PE2(config)#int fa 2/0
PE2(config-if)#no xconnect 10.10.10.1 100 pw-class TUN1
PE2(config-if)#xconnect 10.10.10.1 200 pw-class TUN1
 
From PE1
L2TP Tunnel Information Total tunnels 1 sessions 0
LocID RemID Remote Name   State  Remote Address  Port  Sessions L2TP Class/VPDN Group
50901 21623 PE2           nosess 10.10.10.2      0     0        l2tp_default_cl
 
PE1#sh L2tun session
%No active L2F tunnels
L2TP Session Information Total tunnels 1 sessions 0
%No active PPTP tunnels
 
PE2(config-if)#xconnect 10.10.10.1 100 pw-class TUN1
 
PE1#sh L2tun tunnel
%No active L2F tunnels
L2TP Tunnel Information Total tunnels 1 sessions 1
LocID RemID Remote Name   State  Remote Address  Port  Sessions L2TP Class/
                                                                VPDN Group
327   39133 PE2           est    10.10.10.2      0     1        l2tp_default_cl
%No active PPTP tunnels
 
PE1#sh L2tun session
%No active L2F tunnels
L2TP Session Information Total tunnels 1 sessions 1
LocID      RemID      TunID      Username, Intf/      State  Last Chg Uniq ID
                                 Vcid, Circuit
5248       63294      327        100, Fa2/0           est    00:00:13 10
%No active PPTP tunnels
 
CE1#ping 1.1.1.2 ; ping to CE2.FE0/2

 

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/54/88 ms
 
CE1#sh arp
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  1.1.1.1                 -   ca1c.04d4.001c  ARPA   FastEthernet1/0
Internet  1.1.1.2                 10   ca1d.1344.001c  ARPA   FastEthernet1/0