L2VPN
L2VPN
Overview of L2VPN
Layer 2 (L2) transport over MPLS and IP already exists for like-to-like attachment circuits, such as
Ethernet-to-Ethernet, PPP-to-PPP, High-Level Data Link Control (HDLC), etc.
• L2VPNs are built with Pseudowire (PW) technology
• PWs provide a common intermediate format to transport multiple types of network services over
a Packet Switched Network (PSN) – a network that forwards packets – IPv4, IPv6, MPLS,
Ethernet
• PW technology provides Like-to-Like transport and also Interworking (IW)
• Frames that are received at the PE router on the AC are encapsulated and sent across the PSW to
the remote PE router.
• The egress PE router receives the packet from the PSW and removes their encapsulation.
• The egress PE extracts and forwards the frame to the AC.
Motivation for L2VPNs
Old and New Drivers
• Network Consolidation
‒ Multiple access services (FR, ATM, TDM)
required multiple core technologies Acc
Access Accessss
e
• Enterprise Ethernet WAN Connectivity L3 service
Pseudo Wire
IP/MPLS
PW1
Attachment Circuit
PW2
AC PW2 AC
CE PE PE CE
AC AC
CE CE
Ref: RFC 3985 Pseudo Wire EmulaJon Edge-‐to-‐Edge (PWE3) Architecture, March 2005
In VPWS, the two pseudo-wire technologies that enable point-to-point
Layer 2 services are as follows:
• AToM—A pseudo-wire technology that uses MPLS-enabled networks
to provide Layer 2 services.
• L2TPv3—A pseudo-wire technology for non-MPLS enabled networks
or purely native IP-based networks.
Both AToM and L2TPv3 support the transport of Frame Relay, ATM,
High-Level Data Link Control (HDLC), PPP, and Ethernet traffic over an
MPLS or IP core.
VPWS
Discovery and Signaling
Alternatives
• VPWS Signaling VPN Discovery
‒ LDP-based (RFC 4447)
Manual Border Gateway
‒ BGP-based No Auto-Discovery Protocol (BGP)
draft- – expired
kompella- Most widely
l2vpn-l2vpn deployed
2012
Signaling
• VPWS with LDP-signaling and No
RFC6624
auto-discovery Label
Static BGP
‒ Most widely deployed solution No Signaling
Distribution
Protocol (LDP)
• Auto-discovery for point-to-
point services not as relevant
as for multipoint
25
VPWS Forwarding Plane Processing
PE1 PE2
CE-1 CE-2
P1 P2
MPLS
Pseudowire
Traffic direction
Tunnel label
swapping through Penultimate Hop
Popping (PHP) VC label
VC and Tunnel MPLS cloud disposition
label imposition
4B 4B 4B (optional)
R6
Config Ex.
Verify
With Tunnel
pseudowire-class te1 pseudowire-class te1
encapsulation mpls encapsulation mpls
preferred-path interface Tunnel1 preferred-path interface Tunnel1
! !
interface GigabitEthernet2.20 interface GigabitEthernet1.20
encapsulation dot1Q 20 encapsulation dot1Q 20
xconnect 6.6.6.6 20 encapsulation mpls pw-class te1 xconnect 7.7.7.7 20 encapsulation mpls pw-class te1
! !
interface Tunnel1 interface Tunnel1
ip unnumbered Loopback0 ip unnumbered Loopback0
tunnel source Loopback0 tunnel source Loopback0
tunnel mode mpls traffic-eng tunnel mode mpls traffic-eng
tunnel destination 6.6.6.6 tunnel destination 7.7.7.7
tunnel mpls traffic-eng path-option 1 dynamic tunnel mpls traffic-eng path-option 1 dynamic
! !
Verify
VPLS
Virtual Private LAN Service
Overview
IP/MPLS
Layer-2 PDU
Tunnel Encapsulation
One or more MPLS labels associated with the tunnel
Defines the LSP from ingress to egress PE router
Can be derived from LDP+IGP, RSVP-TE, BGP IPv4+Label
Ethernet PW Demultiplexer
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Layer-2 PDU
VC Label
Inner label used by receiving PE to determine the following
Egress interface for L2PDU forwarding (Port based)
Egress VLAN used on the CE facing interface (VLAN Based)
EXP can be set to the values received in the L2 frame
Ethernet PW Control Word
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
Layer-2 PDU
addresses CE
CE
‒ Flooding (Broadcast, Multicast, Unknown
PW
Unicast) CE
U-PE B N-PE 4Applies
N-PE 2 Applies
Split-
• MAC Learning/Aging/Withdrawal Ethernet UNI Split-
Horizon Ethernet UNI
Horizon
‒ Dynamic learning based on Source MAC
and VLAN
Customer
Equipment
‒ Refresh aging timers with incoming packet N-PE 1 N-PE 3
CE
‒ MAC withdrawal upon topology changes
CE
Data SA DA?
Broadcast, Multicast, and Unknown Unicast are learned via the received
label associations
Two LSPs associated with a VC (Tx & Rx)
If inbound or outbound LSP is down
Then the entire Pseudo Wire is considered down
MAC Address Withdrawal Message
Directed LDP
MAC wal
d ra
With
X
l
ra w a
Withd C
MPLS
MA
MPLS
N-PE1
Virtual
Pseudo Wire Forwarding
MPLS Based Interface Pseudo Wires
CEs
PEs MPLS
MPLS
PE view
Each PE has a P2MP view of all other PEs it sees it self as a root bridge
with split horizon loop protection
Full mesh topology obviates STP in the SP network
Customer STP is transparent to the SP / Customer BPDUs are forwarded
transparently
VPLS Topology – CE View
CEs
PEs MPLSMPLS
VPLS
MPLS VPLSCore
MPLS Core
Full Mesh LDP
Ethernet PW to each peer
PE view
CE
CE PE PE CE PE-rs PE-rs
CE
CE
PE PE
PE-rs PE-r
CE CE PE-rs PE-rs
CE
PE CE
• Potential signaling overhead • Minimizes signaling overhead
• Full PW mesh from the Edge • Full PW mesh among Core devices
• Packet replication done at the Edge • Packet replication done the Core
• Node Discovery and Provisioning extends • Partitions Node Discovery process
end to end
VPLS
Discovery and Signaling
Alternatives
• VPLS Signaling VPN Discovery
‒ LDP-based (RFC 4762)
Manual Border Gateway
‒ BGP-based (RFC 4761) No Auto-Discovery Protocol (BGP)
2
New targeted
LDP session
between PE PE-1 PE-2
routers
established, in
MPLS CE-2
case one does CE-1
not already exist
1 Interface A Interface B
The Route Target import/export mechanism as used in L3VPN is also used here to
filter out the L2 VPN NLRI information for a particular VPLS instance. The Route
Distinguisher (RD) keeps the NLRI unique for various VPLS instances.
OSPF A0
MPLS BGP
100
BGP AD - LDP Signaling
BGP AD - BGP Signaling
“Kesepian tanpa kekasih,
Cukup sekian Terima Kasih.”