Layer 2 Tunneling Protocol Versio 3 PDF
Layer 2 Tunneling Protocol Versio 3 PDF
Layer 2 Tunneling Protocol Versio 3 PDF
Protect Existing Investment while Building Packet Core Enhanced VPN Support
Easy configuration.
Enhanced VPN Support though the use of IOS features such as Security, QoS
and Management VPNs can be tailored to meet customer requirements
Technical Overview
L2TPv3 technology allows a pair of routers connected via an IP network to provide
high-speed transparent Layer 2 connectivity between a pair of interfaces. This
functionality can be used to build Layer 2 VPNs or to support traditional (Frame Relay,
ATM, leased-line) network migration. L2TPv3 tunnels are available with the IOS basic
IP package.
Figure 1
L2TPv3 Operation
All packets received on interface Int1 will be forwarded to R4. R3 and R4 cannot
see the intervening network.
In Cisco 12000 Series Internet routers, the other LAN ports on the card that are
not being used for L2TPv3 must have a router connected to them. When MediaAccess-Control (MAC) filtering assisted by Content-Addressable Memory is
turned off to allow L2TPv3 to work, it is turned off on all ports.
This same method is used for Ethernet interfaces: Any packet received from
LAN1 by R1 on Ethernet interface E1 will be encapsulated in L2TPv3 and sent
via tunnel Tu2 to R2 interface E2, where it will be transmitted on LAN2.
This same method is used for Frame Relay subinterfaces: Any packet received
from LAN1 by R1 on a subinterface will be encapsulated in L2TPv3 and sent via
tunnel to R2 subinterface, where it will be transmitted on LAN2.
Figure 2
Packet Encapsulation with L2TPv3
Delivery headerThe header needed to carry the L2TPv3 packet across the
delivery network. This is an IPv4 header. The delivery header is 20 bytes.
Tunnel cookieAn 8-octet signature that is shared between the two endpoints of
an L2TPv3 tunnel. This tunnel cookie reduces the chance that contamination of
the decapsulated traffic will occur because of an error in configuration. This
signature is configured at both the source and destination routers and must
match, or the data will be dropped.
Figure 3
Virtual Leased Line with L2TPv3 Logical Topology
In this case, two DS-3 serial interfaces are connected to the customer's network
(Enterprise A). Int2 and Int3 form the ingress and egress points of the L2TPv3 tunnel.
The service provider maintains IP connectivity between PE A and PE B using standard
routing protocols. This forms the fabric for the Layer 2 VPN to be established. Any
packets being sent over the DS-3 from the customer's edge router (CE A) will be
automatically encapsulated with an L2TPv3 header and forwarded across the IP
network to the egress interface on PE B and decapsulated. Then the entire original
High-Level Data Link Control (HDLC) frame is forwarded out of the serial interface
(Int3) and on to the customer router CE B, thus completing the Layer 2 circuit
emulation.
Figure 4
The following advanced scenario outlines a service offering that a service provider may
wish to support. The customer is an existing enterprise with a Frame Relay hub-andspoke network. The service provider wishes to offer Internet access coupled with
managed firewall and multimedia services. Figure 5 illustrates this service architecture.
Figure 5
Frame Relay Hub-and-Spoke Architecture with Outsourced Internet and Firewall
The enterprise connects to the service provider with a traditional serial interface
configuring Frame Relay encapsulations and a subinterface point-to-point configuration.
Designating which subinterfaces will be the corporate intranet and which will provide
Internet access. This decentralizes Internet access in traditional hub-and-spoke
configurations, thus reducing the bandwidth requirements at the hub site. The enterprise
is free to run an autonomous routing policy and even add IP Security (IPSec) encryption
for enhanced security requirements.
The data-link connection identifier (DLCI) at the ingress router must be the
same DLCI bound at the egress router.
L2TPv3 Frame Relay subinterfaces support 10-bit DLCI addresses. Frame Relay
extended addressing is not supported.
Ethernet Support
L2TPv3 Operation in Cisco 10720 Internet Routers
Support of the L2TPv3 feature in Cisco 10720 Internet routers allows service providers
to offer Ethernet services to their customers by extending their Ethernet or virtual LAN
(VLAN) from one location to the other using the L2TPv3 tunnel.
Figure 6
L2TPv3 Operation on Cisco 10720 Internet Routers
In Figure 6, the two routers at the end of the L2TPv3 tunnel are connected via a pointto-point POS link. The functionality supported is Layer 2-to-Layer 2 extension over the
L2TPv3 tunnel. Either the entire interface or the VLAN subinterface can be mapped to a
L2TPv3 tunnel to extend Ethernet over the IP network. This mechanism allows service
providers to offer Ethernet services over a wide area.
When L2TPv3 is used to connect customers across the IP backbone, the physical
interface connecting to the customer's network becomes the tunnel ingress/egress
interface. The interfaces on the Cisco 10720 Internet routers that can be used as an
ingress or egress can be either Ethernet or 802.1Q-encapsulated subinterfaces.
The Internet service provider routers communicate normally using the IP routing
protocols configured across the IP core network. The customer routers (CE routers)
communicate across the configured L2TPv3 tunnels. Any data packet that is received by
the Cisco 10720 Internet Router is encapsulated with a L2TPv3 header and sent via
L2TPv3 tunnel, either L2TPv3 Tunnel 1 or L2TPv3 Tunnel 2. Data packets arriving
from customer sites can travel over the main Ethernet interface. In this scenario, packets
are encapsulated with the L2TPv3 header and sent to the other site.
If customer data packets are coming in over an 802.1Q-encapsulated interface, packets
will still be encapsulated with an L2TPv3 header and sent to the other Cisco 10720
Internet Router. On the receiving end, the Cisco 10720 Internet Router decapsulates the
L2TPv3 header and forwards the encapsulated 802.1Q traffic to the other customer CE
router.
Figure 7
Ethernet over L2TPv3
The Cisco 10720 Internet Router on the receiving side decapsulates the data packets and
forwards the traffic to LAN2. A similar operation occurs if traffic originates from
LAN2. LAN1 and LAN2 become connected across the IP backbone network, and the
Cisco 10720 Internet Router relays the Layer 2 data packets without the need to get
involved with the customer in any routing or knowledge of the customer IP addresses.
Both customer sites appear as if they are connected to the same wire. This can be
extended to multiple sites if needed. The main difference in this case is that on the
customer sites there are no Layer 3 routers, so L2TPv3 extends Layer 2 connectivity
across the IP-enabled core for the service provider.
Figure 8
L2TPv3 Packet Handling in the Cisco 12000 Series Internet Router
Note The arrows in Figure 8 represent the flow and direction of a packet in one
direction. The actual traffic in the tunnel can flow in either direction.
the customer network. It does not add a new Layer 2 header. (The Layer 2 header is
carried from the origin of the tunnel.)
Note If the tunnel card receives non-L2TPv3 packets (other IP/Internet Control
Message Protocol [ICMP] packets such as a ping "loopback address"), the packets are
sent to the line card CPU and to the route processor.
General Limitations
L2TPv3 has these limitations:
802.1Q = 50
Ethernet = 46
POS = 36
Frame Relay = 34
CHDLC = 36
Availability
Supported Platforms and Release
Raw modeL2TPv3 tunneling at the port level; like interfaces on each end of
the tunnel