← Interview Prep

L2VPN — Pseudowire, VPLS & EVPN

Carrying Layer 2 across an MPLS/IP core: pseudowires (PWE3, VC label, tLDP, E-Line), VPLS (multipoint, split-horizon, flood-and-learn, its scaling pain), and EVPN (BGP MAC learning, Type 1/2/3/4 routes, all-active ESI multihoming, ARP suppression, MPLS or VXLAN).

Sometimes customers want their Layer 2 carried across a provider core — the same broadcast domain or the same "wire" in two cities. Three technologies do this over MPLS/IP, in order of capability: pseudowire (point-to-point), VPLS (multipoint, data-plane learning), and EVPN (multipoint, BGP control plane). EVPN is where everything has converged.

The progression: a pseudowire emulates one wire; VPLS emulates a whole switch by meshing pseudowires and flooding to learn MACs; EVPN keeps the switch model but learns MACs in BGP — fixing VPLS's flooding, scaling, and multihoming problems.

Pseudowire (PWE3 / L2 circuit)

A point-to-point emulation of an L2 link (Ethernet, VLAN, ATM, Frame Relay, PPP) across an MPLS core — the MEF E-Line service. Two labels: the outer transport/tunnel label to the far PE, the inner VC label identifying the pseudowire.

See LDP (tLDP) and MPLS (label stack).

VPLS

Multipoint L2 VPN — the core emulates one big switch/LAN (MEF E-LAN). PEs form a full mesh of pseudowires and bridge between them.

Why VPLS hurts at scale

Full mesh of PWs (N²), data-plane flood-and-learn (every PE learns every MAC, lots of BUM), and — the big one — no all-active multihoming: a site dual-homed to two PEs can't safely use both without loops. Convergence on failure is slow. These are exactly the pains EVPN removes.

EVPN (Layer 2)

EVPN keeps the multipoint L2 service but moves MAC learning into MP-BGP (L2VPN EVPN address family) — a control plane for the bridge, like BGP is for routing. Data plane is MPLS or VXLAN. It's the standard for both DC fabrics and provider L2VPN.

EVPN routePurpose
Type 2MAC/IP advertisement — PEs learn remote MACs (and IPs, enabling ARP suppression) via BGP instead of flooding.
Type 3Inclusive Multicast — auto-discovery + builds the BUM flood list (ingress replication or multicast).
Type 1Ethernet Auto-Discovery — per-ES; enables fast withdraw (mass MAC withdrawal on link loss) and aliasing.
Type 4Ethernet Segment — discovers PEs on the same multihomed segment and elects the Designated Forwarder.

See MP-BGP / EVPN and VLAN & VXLAN (EVPN as the VXLAN control plane).

Pseudowire vs VPLS vs EVPN

PseudowireVPLSEVPN
TopologyPoint-to-pointMultipointMultipoint
MAC learning— (just a wire)Data plane (flood/learn)Control plane (BGP)
DiscoverytLDP / BGPLDP or BGPBGP (Type 3)
Multihomingn/aSingle-active, hardAll-active (ESI)
BUM / ARPFlood everywhereReduced; ARP suppression
Data planeMPLSMPLSMPLS or VXLAN
MEF serviceE-LineE-LANE-LAN / E-Line / E-Tree

Likely interview questions

Related: MP-BGP / EVPN · VLAN & VXLAN · MPLS · LDP.