Multiprotocol label switching (MPLS) and software-defined wide area networks (SD-WANs) are two methods for connecting corporate branch offices. SD-WANs are usually cheaper and more flexible, but MPLS also offers some advantages.
After reading this article you will be able to:
Related Content
Subscribe to theNET, Cloudflare's monthly recap of the Internet's most popular insights!
Copy article link
Multiprotocol label switching (MPLS) is a common method for constructing the connections between local area networks (LANs) that make up wide area networks (WANs). Using specialized routers, MPLS sends packets along predetermined network paths, improving upon the typical way the Internet works. These predetermined network paths can be used as the connective tissue that comprises a WAN and allow multiple virtual WANs to coexist over a shared network backbone. However, they take quite a bit of time to set up, can be expensive, and require a contracted service from a carrier or telecommunications company.
A software-defined WAN (SD-WAN) is a large network that connects LANs using software, not hardware. SD-WANs do not require any specialized equipment for routing. They run over the regular Internet, making them cheaper to implement than other networking methods.
The SD-WAN model does not exclude the usage of MPLS — MPLS can be one of the networking methods used in an SD-WAN — but overall SD-WANs are often more flexible and cost-effective by comparison.
To understand the differences between software-defined connections and MPLS connections, consider the difference between a railroad service and a passenger bus line.
Railroads have specialized routes set up via train tracks, and only trains that belong to the railroad can use the tracks. Because trains can stay on these tracks and often do not have to stop until they reach their destination, train transport is fairly fast and reliable.
However, railroads require a significant upfront investment to build the specialized routes (the train tracks) that the vehicles require. A massive surge in passengers or cargo may exceed the railroad's capacity, because only a certain number of trains can use the tracks at once. And if the railroad wishes to add more routes, it must build more track — which requires obtaining permits, negotiating with property owners, and expensive track construction. While a railroad line may be direct, it costs a lot to build and is not very flexible.
Conversely, a bus line travels across a massive network of roads that also serve many other types of vehicles. Buses operated by the line do not have to take the same route to their destination every time; they can route around areas of heavy traffic or add more stops as needed. Carrying more passengers is easy: the bus line can simply use more buses, since there is no defined limit to how many buses can be on the road at a given time.
Because traffic can vary so much, bus travel time can vary. And because the roads were not specifically constructed to serve the needs of the bus line, routes are less direct than those of the railroad service. However, if the line wants to offer more routes, it does not need to build new roads; it only needs to purchase more buses, and it can add routes over preexisting roads. The bus line is less direct than the railroad service, but it costs less to operate and is more flexible.
Like railroad tracks, MPLS connections are dedicated only to the users of those connections. They are more direct and more reliable than the public Internet. However, they require the purchasing of expensive hardware (similar to the laying of railroad tracks), and their routes cannot change very easily. Meanwhile, SD-WANs are built on existing paths (the public Internet) and can easily increase their routes and the number of users served, like the bus line.
Network-as-a-service (NaaS) is a cloud service model in which organizations rent networking services from a cloud provider instead of setting up their own networks. Users connect to their applications directly through a virtual network, and they do so via any Internet connection. SD-WANs still require hardware setup; NaaS only requires Internet connectivity.
To learn more about NaaS and its advantages and disadvantages, see What is network-as-a-service (NaaS)? Or, visit the Cloudflare Magic WAN product page.