MPLS has been in the IT market for quite some time now. Before its introduction, Service providers bore the burden of providing services to customers using IP routing, VPN and Layer 2 technologies.
Related – Top MPLS Interview Questions
MPLS was welcomed by everybody and is now the de facto technology used in service provider and Large data Centers.
IP Routing –
While traditional IP Routing uses forwarding packets of packets based on the destination IP address, Routing lookups are performed on every hop and every router may need full Internet routing information.
Related- Public IP vs Private IP
In MPLS vs IP, MPLS is much faster than traditional IP Routing and devices the concept of the label to allow forwarding (rather switching) of packets much faster and without overloading the CPU.
Traditional routing performs routing decision based on IP header, MPLS considers MPLS header with packets and hence takes all forwarding decisions based on the MPLS header, unlike traditional routing.
MPLS vs IP Routing –
Below table provides and detailed view of IP Routing vs Mpls –
|Switching/Routing principle||Switching traffic based on labels advertised by LDP||Routing based on the destination address for entries in the routing table.
|Switching/Routing path||Establishes LSP (dedicated path) before data can flow.||No dedicated path is established, packet is routed based on IP addresses.
|Tables usage||Builds LFIB (Label Forwarding Information Base) table using LDP protocol.||Stores IP routing table.
|Layer of functioning||Labels inserted between layer 2 and Layer 3 (hence layer 2.5)||Performed at Layer 3
|Overlapping IP address||MPLS can allow communication across overlapping IP addresses of multiple customers||Does not allow communication across overlapping address of different customers
|Related terms||LSP, LDP/TDP, VRF, LFIB, Push, Swap and Pop.||Route Lookup, IP protocol
|Traffic Latency||Lower latency than traditional IP routing ||Incurs higher latency than MPLS
|Topology and services||With MPLS, providers can create (with use of different labels and label stacks) different topologies & services (MPLS-TE, MPLS VPNs).||Single topology can be created per IP routing domain.
|Traffic Engineering||Scalable and proficient in service||Partially possible but not scalable solution
|Separate Routing table||In MPLS network , each customer has separate routing network||Traditional IP routing can only have 1 Routing table for all customers
|Target scope||Service provider domain, Large & Multitenant Data Centers.||Home, Office, Service PTP/Underlay links, Data centers etc.
|Traffic type||Allows non-IP traffic forwarding in addition to IP traffic||Allows forwarding of IP traffic
Download the difference table here.
Related – MPLS vs Internet