MPLS (Multiprotocol Label Switching) is a technique carriers use inside their networks to forward traffic along pre-set paths using short labels attached to each packet, instead of looking up the full destination IP address at every router. When a business buys "MPLS", it is usually buying a private network service built on that technique: an MPLS VPN that links its sites to each other through one carrier's network, kept separate from other customers and often sold with classes of service and a performance SLA between sites.
So the word means two things. To a network engineer, MPLS is a forwarding method, standardized by the IETF and used across most large carrier backbones. To a business buyer, it is a product: a private wide area network that one carrier runs from end to end. This page covers both, starting with how the labels work.
How label switching works
An MPLS network has three kinds of router, and each does one job.
- Customer edge (CE). The router at your site. It may belong to you or be managed by the carrier. It sends ordinary IP traffic and usually knows nothing about labels.
- Provider edge (PE). The carrier router where your access circuit lands. It decides where each incoming packet is going and attaches the labels for that journey.
- Provider (P). The core routers in between. They read only the top label, swap it for a new one from a short table and pass the packet on.
The label itself is a small header, 32 bits long, inserted between the Ethernet header and the IP header. It holds a 20-bit label value, 3 bits for traffic class, a bit that marks the last label in a stack, and a time-to-live counter. Because it sits between layer 2 and layer 3, MPLS is often described as "layer 2.5".
The path a packet follows through the core is called a label switched path. The carrier sets these paths up in advance with a label distribution protocol, or, in newer networks, with segment routing. Labels can also be stacked: an outer label carries the packet across the core, and an inner label tells the far edge router which customer's network the packet belongs to. That stacking is what lets one carrier core carry thousands of separate private networks.
When MPLS was introduced, label lookups were quicker than IP lookups. Modern routers do both in hardware, so speed is no longer the point. The lasting value is control: carriers can steer traffic along chosen paths, reserve capacity for certain classes and keep customers' networks apart.
Worked illustration: a packet crossing an MPLS VPN
Illustration only; the numbers are made up. A branch office sends a packet to its headquarters across a carrier's MPLS VPN.
| Hop | What happens | Labels on the packet |
|---|---|---|
| Branch router (CE) | Sends a normal IP packet to the carrier | None |
| Carrier edge router PE1 | Looks up the destination in this customer's private routing table and pushes two labels | Outer 17, inner 3001 |
| Core router P1 | Reads only the outer label and swaps it | Outer 22, inner 3001 |
| Core router P2 | Last core hop; removes the outer label | Inner 3001 |
| Carrier edge router PE2 | Reads label 3001, which means "this customer, toward headquarters", removes it and forwards | None |
| Headquarters router (CE) | Receives a normal IP packet | None |
The core routers never looked at the customer's IP addresses. That is why two customers can both use the same private address ranges on one carrier network without any conflict.
Layer 3 VPN vs layer 2 VPN (VPLS)
Carriers sell MPLS-based private networks in two main forms. The difference is how much of your routing the carrier takes part in.
| Layer 3 VPN (IP VPN) | Layer 2 VPN (VPLS) | |
|---|---|---|
| What the carrier sees | Your IP routes; it routes between your sites | Ethernet frames; your sites look like one shared LAN |
| Your routing | Your routers exchange routes with the carrier, often using BGP or static routes | You run all routing yourself, end to end |
| Connectivity | Any site to any site | Any site to any site, as one network segment |
| Good fit | Businesses that want the carrier to handle routing between many sites | Businesses with their own network team, or applications that need sites on one layer 2 segment |
| Watch for | Coordinating address plans and route changes with the carrier | Broadcast traffic and loops crossing every site; harder to scale to many locations |
In a layer 3 VPN, carriers commonly use BGP between their own edge routers to carry each customer's routes; our page on what BGP is explains the protocol. Many carriers are also adopting EVPN, a newer way to deliver layer 2 services. For a link between just two locations, a point-to-point Ethernet service is another option, covered on our Ethernet transport page.
Classes of service
The 3 traffic-class bits in each label allow up to eight classes, and carriers typically package a handful of them: real-time for voice, one or two for important business applications and a best-effort class for everything else. The names and the number of classes vary by carrier.
It works like this. Your router marks each packet with a DSCP value, the carrier's edge router maps that value to one of its classes, and every router along the path queues traffic by class. Three details decide whether it actually helps:
- The marks must match. If your voice traffic leaves marked with a value the carrier does not map to its real-time class, it travels as best effort. Ask for the carrier's mapping table.
- Each class has a size. You usually buy a set amount of bandwidth for the real-time class on each access port. Traffic above that amount may be dropped or moved to a lower class, so size it for your busiest hour of calls.
- Your own network still counts. Classes only work from the carrier's edge onward. Your switches, Wi-Fi and router have to prioritize the same traffic, as our guide to QoS for VoIP describes, and our page on what QoS is explains the concept.
MPLS vs the public internet
| MPLS VPN | Public internet | |
|---|---|---|
| Who controls the path | One carrier, end to end | Many networks, none responsible for the whole route |
| Privacy | Separated from other customers inside the carrier, but not encrypted by default | Shared; encrypt traffic yourself with a VPN or SD-WAN |
| Traffic priority | Classes honored across the carrier's network, when bought that way | Priority markings generally ignored once traffic leaves your circuit |
| Performance promise | Often latency, jitter and loss between sites, per class | Usually limited to your access circuit |
| Reach | Sites the carrier or its partners can serve | Anywhere with a connection |
| Cost per megabit | Typically higher | Typically lower |
Where MPLS is still used
MPLS is still widely used in both senses. Inside carrier backbones, MPLS and its segment routing variant remain very common. As a business service, MPLS is still sold and still fits companies with heavy real-time traffic between fixed sites, sites with weak internet options, or clients who require private transport. Many businesses, though, have moved part or all of their network to SD-WAN, which runs encrypted tunnels over ordinary internet circuits and sends cloud traffic straight out of each site. Our guide to MPLS vs SD-WAN compares the two in detail and explains why many companies run a hybrid during the move. For managed options, see our SD-WAN page, and for running many locations well, see our guide to multi-site business internet.
What to check on an MPLS quote
- Access per site. The circuit type and speed at each address, and whether the port speed is higher than the bandwidth you are committing to.
- On-net or partner. Which sites the carrier reaches on its own network and which go through a partner, since support and repair times can differ.
- Class profile. How many classes, how much bandwidth each class gets per site, and the DSCP mapping.
- SLA terms. Which metrics are promised between sites, per class, how they are measured and what credits apply.
- Router management. Whether the carrier supplies and manages the edge router, or you do.
- Internet access. Whether internet traffic leaves at one hub site or locally at each site, and where security inspection happens.
- Term and commitments. End dates per site and any minimum spend across all sites.
How FiberX helps
FiberX gets quotes from several carriers for each of your sites and checks the detail that matters on an MPLS quote: which sites are on-net, the class profile and SLA terms, and how the access circuits compare with SD-WAN or Ethernet options at the same addresses. The carrier pays us, so there is no markup. Request a quote, or call or text 478-758-8091.