MULTI PROTOCOL LABEL SWITCHING (MPLS)
It is an standard approved technology for speeding up network traffic flow and making it easier to manage. In MPLS packets are directed over a specific route to traverse the network( called explicit routing). This explicit routing form of routing makes sure that certain types of traffic follow a specific path. Each sequence of packet has specific path, identified by a label put in each packet, thus saving the time needed for a router to look up the address to the next node to forward the packet.
MPLS is a multi protocol because it works with IP, ATM, and frame relay network protocol. It allows most packets to be forwarded at the layer 2 (switching) level rather than at the layer 3 (routing) level.
MPLS Components:
1-LABEL EDGE ROUTER (LER)
LER's are located at the boundries of the MP:S network. They apply lable to packets for transmission accross the MPLS network.
LER's are responsible for classifyin incoming IP traffic and relating the traffic to the appropriate label. The LER converts IP packets into MPLS packets, and MPLS packets into IP packets. In MPLS, this classification process is called forward equivalence class (FEC).
Destination/IP | Port Number | FEC | Next Hop | Label | Instruction |
199.50.5.1 | 80 | B | x.x.x.x | 80 | Push |
199.50.5.1 | 443 | A | y.y.y.y | 17 | push |
199.50.5.1 | 25 | IP | z.z.z.z | | Do nothing: native IP) |
LER Shim Header:
It is a special databox in the LER that matches the destination address to the label. MPLS shim header(as in figure) is attacehed and the packet is sent on its way.
The shim header consists of 32 bits in four parts. 20 are used for the label, 3 bits for experimental function, 1 bi for stack function, and 8 bits for time to live (TTL).
2- LABEL SWITCH ROUTER (LSR):
These devices are routers, and they examine incoming packets, providing that a label is present. The LSR will look up and follow the label instruction and then forward the packett according to the instruction. In general, the LSR performs a label swapping function.
When the packets leave the LER, they are destined for LSR where they are examined for the presence of label. The LSR looks to its forwarding table (called a label information base LIB or a connectivity table) for instructions. The LSR will swap labels according to the LIB instructions.
Label In | Port in | Label out | Port out | FEC | Instruction next hop |
80 | B | 40 | B | B | Swap |
17 | A | 18 | C | A | Swap |
- It only requires software modifications to existing IP routers.
- For a fraction of the expense of installing a dedicated network, MPLS allows IP traffic to be classified, marked and policed while providing a method of layers two and layers 3 exchanging data.
- Raw IP traffic is presented to the LER, where labels are pushed; these packets are forwarded over LSP to LSR where labels are swapped.
- At the egress to the network, the LER removes the MPLS labels and marks the IP packets for delivery.
- MPLS does not replace IP – it supplements IP so that traffic and be marked, classified and policed. With the use of MPLS, end-to-end quality of service can finally be achieved.
I really had a great time reading this informative blog that you've shared. I will surely share this to my friends. However, I'm looking forward to see more great topic that also talks about Data and Communications. Thank you!
ReplyDeleteHats off to you for writing such an informative piece of work. I must say that I have never seen such a fine work. Keep it up.
ReplyDeleteFor more information visit our website: www.gravityusa.com
Can you give notes about atm protocol..?
ReplyDeleteNice Blog. For more information visit mpls network
ReplyDeleteNice explanation. Could be used for vm backups
ReplyDeleteWonderful Blog on Hardware and Networking.
ReplyDeleteHardware and Networking Training in Chennai|Hardware and Networking Training Institute in Chennai|Hardware and Networking Training Center in Chennai|Hardware and Networking Training Course in Chennai