Network Enhancers - "Delivering Beyond Boundaries" Headline Animator

Saturday, December 25, 2010

Difference between IP and MPLS

IP uses hop-by-hop destination-only forwarding paradigm. When forwarding IP packets, each router in the path has to look up the packet's destination IP address in the IP routing table and forward the packet to the next-hop router.

MPLS uses a variety of protocols to establish Label Switched Paths (LSP) across the network. LSPs are almost like Frame Relay or asynchronous transfer mode (ATM) permanent virtual circuit (PVC), with two major differences: they are unidirectional and they can merge (all LSPs toward the same egress router could merge somewhere in the network). One of the protocols used in MPLS networks is Label Distribution Protocol (LDP), which builds the LSPs based on IP routing table, making an MPLS network automatically functionally equivalent to a pure IP network.

After the web of LSPs has been established, it can be used to forward IP packets: the first (ingress) router inserts a label (or a stack of them) in front of the IP header and forwards the packet. All the subsequent Label Switch Routers (LSR) ignore the IP headers and perform packet forwarding based on the labels in front of them. Finally, the egress router removes the label and forwards the original IP packet toward its final destination.

In theory, MPLS forwarding might be marginally faster than IP forwarding (due to simpler label lookup).

1 comment:

  1. Cool.
    Adding to the above post, the real beauty of MPLS comes as the SP is able to deploy it's network without BGP in the core thereby reducing the processing overhead in the "P" routers.

    - Batman

    ReplyDelete

My Blog List

Networking Domain Jobs