* [Topics](/en/topics "Topics")
* [Edge computing](/en/topics/edge-computing "Edge computing")
* What is MPLS?
What is MPLS?
=============
Published  February 16, 2022•*4*-minute read
Copy URL
Jump to section
---------------
OverviewHow does MPLS work? Pros and cons of MPLSMPLS and the cloudSD-WAN and the future of MPLSRed Hat can help
Overview
--------
Multiprotocol label switching (MPLS) is a technology designed to enhance the speed and efficiency of data forwarding across large networks and/or at edge locations. MPLS works in a virtual private network (VPN) and integrates with any underlying infrastructure—including internet protocol (IP), ethernet, frame relay and asynchronous transfer mode (ATM), making it a scalable, [low latency](/en/topics/edge-computing/latency-sensitive-applications) networking option.
[Optimize and scale your network at the edge](/en/engage/Boost-security-flexibility-s-2022318441 "SOLP : Boost security, flexibility, and scale at the edge with Red Hat Enterprise Linux")
How doe MPLS work?
------------------
MPLS establishes a multipoint system of nodes—or routers—that carry a packaged unit of data (also known as an IP packet) from one IP to another on the most efficient path possible. A packet begins its journey on the [edge](/en/topics/edge-computing) of the MPLS network at an ingress Label Edge Router (LER), where the packet is examined and assigned a forward equivalence class (FEC). Based on the FEC, a label is pushed onto the packet to determine where it will travel next in the MPLS network along a one-directional label-switched path (LSP). An MPLS label header is made up of four parts.
* **The label** (20 bits) contains the information about where the packet should go next.
* **Experimental** (3 bits) performs quality of service (QoS) and determines a packet’s priority level.
* **Bottom-of-stack** (1 bit) lets an MPLS router know if it is the final router or egress router on an LSP.
* **Time-to-live** (TTL) (8 bits) determines how many swaps a packet can make.
From there, the packet travels to multiple Label Switch Routers (LSRs). Each time, a new label is swapped onto the packet based on the network’s lookup or routing table, or label information base (LIB). The process continues until the packet arrives at an egress LER. The LER pops, or removes, the label and forwards the packet to the new destination IP address. Sometimes multiple labels are grouped together, creating a label stack.
*Think of it as luggage* transferring from one plane to another on a connecting flight. The baggage handlers stick on a label with its destination, and at each leg of the trip, the label is updated to inform where it should head next, until finally, it reaches its endpoint and is routed to baggage claim.
[Learn how to configure MPLS in the Linux kernel](/sysadmin/mpls-tc-linux-kernel)
Recommended for you
Get hands-on with Red Hat Enterprise Linux 10
---------------------------------------------
[Watch the webinar](https://www.redhat.com/en/events/virtual/get-hands-on-with-redhat-enterprise-linux-10?percmp=RHCTG0250000455235)
Pros and cons of MPLS
---------------------
**Pro:** Unlike classic data routing—in which a router must examine the packet and browse multiple network addresses for a match—MPLS combines the most effective aspects of routing and switching to determine a fast, efficient, and reliable path. And since MPLS exists between the data link and the network layer of the [OSI 7 layer model](https://www.redhat.com/sysadmin/osi-model-bean-dip), it will work on top of any IP’s underlying infrastructure.
**Pro:** MPLS works in a VPN, making it a [more secure](/en/topics/security) transport option compared to IP-based networks. MPLS is not encrypted, however, and users should consider adding this layer of protection to an MPLS network.
**Pro:** Because FECs and LIBs respectively assign a packet a number and then push it along a preset path according to that number, the packet's entire journey is mapped out before it starts moving, and that makes MPLS connections more reliable. And since packet labels are quickly swapped, network traffic delays and high latency are often avoided. MPLS is especially useful in connecting the remote devices and real-time applications that make up the [Internet of Things (IoT)](/en/topics/internet-of-things/what-is-iot).
**Pro:** MPLS-Transport Profile (TP), released in 2008, makes additional improvements to the original MPLS system—including reversible paths, built-in maintenance tools, continuity checks, and protection paths in case of outages. While the original IP/MPLS works well in the core network (which connects multiple networks together in what’s known as a network backbone), MPLS-TP is best suited for the edge, aggregation, and access networks.
**Con:** MPLS costs more than standard internet service providers.
**Con:** MPLS was designed to run information through central hubs, such as data centers or corporate offices. However, with the proliferation of [cloud services](/en/topics/cloud-computing/what-are-cloud-services), it is now more efficient to send information straight to the cloud, especially large packets such as videos and mobile application data.
**Con:** The label-switched paths that make MPLS a fast and predictable transport method also take a long time to set up, especially if you are expanding across multiple networks. This makes it hard to scale quickly with MPLS.
MPLS and the cloud
------------------
MPLS and the cloud are not a perfect match. With most types of traffic going directly from organizations to the cloud, MPLS routing from point to point can feel obsolete. However, there are ways to combine MPLS and cloud computing for specific benefits.
Maybe your organization wants to transport some select information to and from its corporate office via MPLS. You can offload the rest of the data for the cloud, and MPLS can carry only what is needed to go to the office. Or you could enhance MPLS with broadband internet links via [SD-WAN](/en/topics/edge-computing/what-is-sd-wan), a software-defined wide area network, and determine the best transport method for each packet according to network protocol and bandwidth needs.
[Start building a hybrid cloud strategy](/en/resources/hybrid-cloud-strategy-for-dummies-ebook "Hybrid cloud strategy for dummies e-book")
SD-WAN and the future of MPLS
-----------------------------
SD-WAN is an acronym for [software-defined wide area network](/en/topics/hyperconverged-infrastructure/what-is-software-defined-networking). It typically replaces the connectivity of traditional branch routers with virtualized or appliance-based software that routes traffic to/from remote locations, using centralized policy control and management.
Similar to MPLS, SD-WAN routing policies are used to send traffic over the fastest connection that meets the traffic’s security requirements, application needs, and service-level agreements (SLAs). With today’s bandwidth-consuming, distributed, [cloud-based applications](/en/topics/cloud-native-apps), sometimes you might need a combination of both highly reliable MPLS and lower cost but best effort internet connections to maintain service levels and flexibility. SD-WAN makes it possible to get the benefits of MPLS while keeping up with growth in data traffic and meeting the needs of a digitally enabled world where employees, customers, and other stakeholders demand better experiences.
[Get a closer look at SD-WAN](/en/topics/edge-computing/what-is-sd-wan "article | what is SD-WAN?")
Red Hat can help
----------------
Whether working in the datacenter or at the edge, you need a fast and reliable transport network. [Red Hat® Enterprise Linux®](/en/technologies/linux-platforms/enterprise-linux) combines the benefits of routing technologies like MPLS and SD-WAN with built-in edge capabilities, continuous IT security, and a consistent operating foundation needed for modern IT and enterprise [hybrid cloud](/en/topics/cloud-computing/what-is-hybrid-cloud) deployments.
Red Hat Enterprise Linux gives you [supported](/en/about/value-of-Red-Hat) access to [open source innovation](/en/topics/open-source/what-is-open-source) by representing your requirements upstream and returning with stable updates. Red Hat has a longstanding practice of doing work upstream first, vetting ideas with the larger community and working together to build new features, releases, content, and more.
[Explore Red Hat Enterprise Linux’s capabilities](/en/technologies/linux-platforms/enterprise-linux "product | red hat enterprise linux rhel ")
Recommended for you
E-book
Security at the edge
--------------------
Being security-focused isn’t easy. Read this guide and learn how to help improve your edge device, application, and networking security.
[Read the e-book](https://www.redhat.com/en/resources/security-at-the-edge-ebook?percmp=RHCTG0250000455234)
All Red Hat product trials
--------------------------
Our no-cost product trials help you gain hands-on experience, prepare for a certification, or assess if a product is right for your organization.
[Keep reading](/en/products/trials "All Red Hat product trials")
Keep reading
------------
### Edge solutions for real-time decision making
Explore solutions for using real-time data analysis and artificial intelligence (AI) to make intelligent decisions faster at the edge.
[Read the article](/en/topics/edge-computing/edge-solutions-real-time-decision-making "Edge solutions for real-time decision making")
### How to manage and automate applications at the edge
If edge computing is used effectively, it can minimize connectivity issues, reduce bandwidth, and improve response times. Learn about Red Hat at the edge.
[Read the article](/en/topics/edge-computing/how-to-manage-automate-applications-edge "article | Manage and automate applications at the edge")
### What is OT orchestration in manufacturing?
OT orchestration brings the most important innovations and best practices of enterprise information technology (IT) into OT spaces.
[Read the article](/en/topics/edge-computing/what-is-ot-orchestration-manufacturing "article | What is OT orchestration in manufacturing?")
Edge computing resources
------------------------
### Related content
* Overview
  [Red Hat Enterprise Linux: An ideal operating system for cloud](/en/resources/ideal-operating-system-brief)
* Blog post
  [Red Hat and Sylva unify the future for telco cloud](/en/blog/red-hat-and-sylva-unify-future-telco-cloud)
* Blog post
  [Managing Red Hat Device Edge: Tools and strategies](/en/blog/managing-red-hat-device-edge-tools-and-strategies)
* Blog post
  [Red Hat Device Edge: Decision framework](/en/blog/red-hat-device-edge-decision-framework)
### Related articles
* [Red Hat Enterprise Linux security](/en/technologies/linux-platforms/enterprise-linux/security)
* [Why run Linux on AWS?](/en/topics/linux/linux-on-aws)
* [What is high availability?](/en/topics/linux/what-is-high-availability)
* [What is ERP?](/en/topics/linux/what-is-erp)
* [Functional safety and continuous certification on Linux](/en/topics/open-source/functional-safety-and-continuous-certification-on-linux)
* [What is SAP HANA (and why does it run on Linux)?](/en/topics/linux/sap-hana-and-linux)
* [Why run Linux on IBM Cloud](/en/topics/linux/linux-on-ibm-cloud)
* [What is CentOS Stream?](/en/topics/linux/what-is-centos-stream)
* [Why choose Red Hat Enterprise Linux on Azure?](/en/technologies/linux-platforms/enterprise-linux/why-choose-red-hat-enterprise-linux-on-azure)
* [Why choose Red Hat Enterprise Linux on AWS?](/en/technologies/linux-platforms/enterprise-linux/why-choose-red-hat-enterprise-linux-on-aws)
* [Linux on Azure](/en/topics/linux/linux-on-azure)
* [Linux for cloud computing](/en/topics/linux/linux-for-cloud-computing)
* [Edge solutions for real-time decision making](/en/topics/edge-computing/edge-solutions-real-time-decision-making)
* [Red Hat Enterprise Linux migration process](/en/technologies/linux-platforms/enterprise-linux/migration-process)
* [What to know for Red Hat Enterprise Linux 7 End of Maintenance](/en/technologies/linux-platforms/enterprise-linux/rhel-7-end-of-maintenance)
* [How to move to Red Hat Enterprise Linux from other Linux distros](/en/technologies/linux-platforms/enterprise-linux/migration-process/convert2rhel)
* [Why choose Red Hat for Linux?](/en/topics/linux/why-choose-red-hat-enterprise-linux)
* [What to know about CentOS Linux EOL](/en/topics/linux/centos-linux-eol)
* [What is CentOS?](/en/topics/linux/what-is-centos)
* [Why run Linux on Google Cloud?](/en/topics/linux/linux-on-google-cloud)
* [Red Hat Satellite on Red Hat Enterprise Linux](/en/technologies/management/satellite/satellite-for-rhel)
* [How to manage and automate applications at the edge](/en/topics/edge-computing/how-to-manage-automate-applications-edge)
* [Why choose Red Hat Enterprise Linux on Google Cloud?](/en/technologies/linux-platforms/enterprise-linux/why-choose-red-hat-enterprise-linux-google-cloud)
* [What is OT orchestration in manufacturing?](/en/topics/edge-computing/what-is-ot-orchestration-manufacturing)
* [What is Linux kernel live patching?](/en/topics/linux/what-is-linux-kernel-live-patching)
* [Edge computing with Red Hat OpenShift](/en/technologies/cloud-computing/openshift/edge-computing)
* [What is MicroShift?](/en/topics/edge-computing/microshift)
* [Why choose Red Hat for edge computing?](/en/topics/edge-computing/why-choose-red-hat-edge-computing)
* [What is the SAP HANA migration?](/en/topics/linux/what-is-sap-hana-migration)
* [How telcos can achieve their sustainability goals](/en/topics/telecommunications/telcos-achieve-sustainability-goals)
* [Why run Microsoft SQL Server on Linux?](/en/topics/linux/why-run-sql-server-on-linux)
* [Retail store transformation with edge](/en/topics/edge-computing/retail-store-transformation-with-edge)
* [What is private 5G?](/en/topics/5g-networks/what-is-private-5g)
* [What is edge security?](/en/topics/security/what-is-edge-security)
* [What is edge AI?](/en/topics/edge-computing/what-is-edge-ai)
* [What is a latency-sensitive application?](/en/topics/edge-computing/latency-sensitive-applications)
* [What is carrier-grade?](/en/topics/5g-networks/what-is-carrier-grade)
* [How edge helps solve connectivity issues](/en/topics/edge-computing/how-edge-solves-connectivity-issues)
* [What's the best Linux distro for you?](/en/topics/linux/whats-the-best-linux-distro-for-you)
* [What is Linux?](/en/topics/linux/what-is-linux)
* [What's the difference between Fedora and Red Hat Enterprise Linux](/en/topics/linux/fedora-vs-red-hat-enterprise-linux)
* [What is an image builder?](/en/topics/linux/what-is-an-image-builder)
* [The evolution to a 5G core network](/en/topics/5g-networks/evolution-to-a-5g-core)
* [What is a Linux server?](/en/topics/linux/linux-server)
* [What is a configuration file?](/en/topics/linux/what-configuration-file)
* [Cloud vs. edge](/en/topics/cloud-computing/cloud-vs-edge)
* [What is high performance computing (HPC)?](/en/topics/high-performance-computing/what-is-high-performance-computing)
* [What is edge architecture?](/en/topics/edge-computing/what-is-edge-architecture)
* [What is edge machine learning?](/en/topics/edge-computing/what-is-edge-machine-learning)
* [What is a golden image?](/en/topics/linux/what-is-a-golden-image)
* [What is operational technology (OT)?](/en/topics/edge-computing/what-is-ot)
* [Understanding edge computing for manufacturing](/en/topics/edge-computing/manufacturing)
* [What is IoT Edge computing?](/en/topics/edge-computing/iot-edge-computing-need-to-work-together)
* [What is multi-access edge computing?](/en/topics/edge-computing/what-is-multi-access-edge-computing)
* [ARM vs x86: What's the difference?](/en/topics/linux/ARM-vs-x86)
* [What is an ARM processor?](/en/topics/linux/what-is-arm-processor)
* [What is lightweight directory access protocol (LDAP) authentication?](/en/topics/security/what-is-ldap-authentication)
* [What is SD-WAN?](/en/topics/edge-computing/what-is-sd-wan)
* [What is an autonomous vehicle?](/en/topics/edge-computing/what-is-an-autonomous-vehicle)
* [What is IIoT?](/en/topics/internet-of-things/what-is-iiot)
* [What is a Linux certification?](/en/topics/linux/linux-certification)
* [What is edge computing?](/en/topics/edge-computing/what-is-edge-computing)
* [What was CoreOS and CoreOS container Linux](/en/technologies/cloud-computing/openshift/what-was-coreos)
* [What is 5G?](/en/topics/5g-networks/what-is-5g)
* [Understanding edge computing for telecommunications](/en/topics/edge-computing/telecommunications)
* [What is SELinux?](/en/topics/linux/what-is-selinux)
* [What is the Linux kernel?](/en/topics/linux/what-is-the-linux-kernel)
* [What is IoT?](/en/topics/internet-of-things/what-is-iot)
[More about this topic](/en/topics/edge-computing "More about this topic")