MPLS: The very basic concept on how data is forwarded through a MPLS domain

MPLS is a technology that uses labels to forward data through a network.

Open System Interconnection (OSI) Model

Before we proceed, lets just refer to the OSI model. It has 7 basic layers:

Each layer processes the data in hand, and adds a layer specific header to it. For eg., if ‘z’ is the data processed by the application layer, then after processing, the application layer  will add a header ‘y’ to ‘z’, and what is passed down to presentation layer is ‘y+z’. Now this layer considers ‘y+z’ as single data, and processes it and adds a header ‘x’ to it; therefore we get ‘x+y+z’. This process continues down to all the layers. The reverse of this happens when the data is processed by the receiver (each header is stripped off).

The Network (layer-3) and Data ( layer-2) layers are associated with routing and switching respectively.

IP Forwarding
Let us suppose that Computer A has to send some data to computer B in some other network. Now, A will send a packet of data with the IP address of B to the network. As this packet reaches the first router, the router performs a Forwarding Information Base (FIB) look-up to learn the IP address present in the table with the longest matched address prefix. If the destination address is and the addresses in the FIB are
; then the the routing algorithm will fix on, this being the longest prefix match. This look-up will take more time than trying to find the exact match, and even worse, this has to be repeated at every router.

MPLS (Multi protocol label Switching) forwarding
MPLS uses labels instead of IP address to forward packets.

Lets illustrate the working concept through an example. Computer A( & B( are located somewhere in the Network (not necessarily the same network). Now A sends a packet destined to B. Suppose the backbone network is MPLS enabled.

lets analyze the packet flow through the network.

(to be continued…)

Tagged , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: