Free tech learning for everyone, from basics to pro

Routing & SwitchingNetworking SecurityAdvanced

MPLS Layer 2 VPNs and IPv6 over MPLS: AToM pseudowires, VPLS, EVPN, 6PE and 6VPE

In short: An MPLS core can carry more than IPv4 VPNs. AToM pseudowires transport Ethernet and other Layer 2 frames point to point; VPLS and EVPN build multipoint Ethernet services. 6PE and 6VPE carry IPv6 and IPv6 VPNs by labelling them at the PE, so the IPv4-only core does not need IPv6 at all.

Layer 2 services over MPLS

Some customers want a plain Ethernet link between two sites, not routing: for example, to extend a VLAN between two data centre halls, or to connect their own routers as if by a long cable. Any Transport over MPLS (AToM) is Cisco's name for point-to-point pseudowires, standardised by the IETF (RFC 4447, later RFC 8077). Ethernet over MPLS (EoMPLS) is the most common type; historically AToM also carried Frame Relay, ATM, PPP and HDLC.

Layer 2 VPN versus 6PE / 6VPEAToM / pseudowiresCarries Ethernet framesPoint-to-point circuitTwo labels: PW + transportCustomer routes are invisible6PE and 6VPECarries IPv6 packetsIPv4-only core unchangedLabelled IPv6 in MP-BGP6VPE adds VRFs for IPv6
Figure 1. Both reuse an existing IPv4 MPLS core. AToM extends Layer 2 circuits between sites; 6PE and 6VPE carry IPv6 across a core that only runs IPv4.

How a pseudowire works

  • Each PE has an attachment circuit: a port or VLAN facing the customer.
  • The two PEs form a targeted LDP session between their loopbacks and exchange a pseudowire label for a shared virtual circuit ID.
  • Frames from the customer get two labels: the inner pseudowire label and the outer transport label to reach the far PE.
  • The far PE removes the labels and sends the original frame out of its attachment circuit.
interface GigabitEthernet0/3
 description Customer site A - EoMPLS port mode
 xconnect 10.255.0.9 100 encapsulation mpls
!
show mpls l2transport vc 100 detail

Newer IOS XE releases use an equivalent l2vpn xconnect context syntax. Both PEs must use the same VC ID (100 here), and the MTU must match at both ends or the pseudowire stays down.

Multipoint: VPLS and EVPN

Virtual Private LAN Service (VPLS) joins many sites into one bridged Ethernet segment, with a full mesh of pseudowires between PEs that learn MAC addresses like a switch. It works, but it floods unknown traffic and cannot easily use several links from one site at once. Ethernet VPN (EVPN), RFC 7432, uses MP-BGP to advertise MAC addresses, supports active-active multihoming and is now the preferred choice for new provider and data centre designs, often with VXLAN instead of MPLS in data centres.

IPv6 over an IPv4 MPLS core: 6PE and 6VPE

Upgrading every core router to dual stack takes time. Because core routers forward on labels, they do not need to understand the payload. 6PE (RFC 4798) uses this:

  • Only the PEs run IPv6 towards customers.
  • PEs exchange IPv6 routes using MP-BGP with labels (neighbor x send-label in the IPv6 address family), with an IPv4-mapped IPv6 next hop pointing at the remote PE's IPv4 loopback.
  • Traffic gets an inner IPv6 label and an outer IPv4 LDP transport label, so P routers forward it without any IPv6 knowledge.
router bgp 64500
 neighbor 10.255.0.9 remote-as 64500
 neighbor 10.255.0.9 update-source Loopback0
 address-family ipv6
  neighbor 10.255.0.9 activate
  neighbor 10.255.0.9 send-label

6VPE (RFC 4659) does the same for VPNs: IPv6 routes inside customer VRFs travel in the VPNv6 address family, with RDs and RTs exactly as for VPNv4. One VRF can hold both IPv4 and IPv6 address families.

Real-world example: a university network operator had an IPv4-only MPLS core of older routers that could not be upgraded for two more years, while several member colleges wanted native IPv6. The operator enabled 6VPE on its PE routers only, adding an IPv6 address family to each college's existing VRF. Colleges received IPv6 connectivity within weeks, and when the core was later replaced, IPv6 in the core was added without any change for the colleges.

Practice

What two labels does an EoMPLS frame carry across the core?
An inner pseudowire (VC) label identifying the circuit and an outer transport label to reach the far PE.
Why do P routers not need IPv6 for 6PE?
They forward only on the outer IPv4 LDP transport label and never look at the IPv6 packet inside.
What advantage does EVPN have over VPLS?
It advertises MAC addresses with MP-BGP instead of flooding to learn them, and supports active-active multihoming.

Key takeaways

  • AToM pseudowires carry Layer 2 frames point to point with a PW label and a transport label.
  • Both PEs must match VC ID and MTU for a pseudowire to come up.
  • VPLS gives multipoint Ethernet; EVPN is the modern BGP-based replacement.
  • 6PE carries IPv6 across an IPv4 MPLS core with labelled MP-BGP.
  • 6VPE adds IPv6 address families to VRFs using VPNv6.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.