Got it

MPLS forwarding and IP forwarding comparison

Latest reply: Dec 27, 2018 08:45:37 1090 5 11 0 0

IP forwarding principle:

The routing table (static\RIP\OSPF, etc.) is used to generate the routing table and forward it according 

to the destination IP address. During the IP packet forwarding process, the destination IP address remains 

unchanged. Two tables are used:

RIB (Routing Table): A routing information base that obtains routing information through various routing protocols.

FIB (CEF table): Forwards the information base, which is generated based on the RIB and is used to guide the 

forwarding of IP packets.

The router receives the data packet, looks at the destination IP address (IP header) of the data packet,

 looks up the CEF table, and forwards the data according to the CEF table.

MPLS forwarding principle:

An MPLS header can be inserted between the Layer 2 header and the Layer 3 header to insert multiple MPLS headers.

The router receives the packet, looks at the label of the packet (MPLS header), looks up the label forwarding table, and 

forwards the data according to the label forwarding table. 

The label forwarding table is generated through the LDP protocol.

The IP header length is 20 bytes, and the MPLS packet header length is 4 bytes. The efficiency based on MPLS forwarding 

is higher than that based on IP forwarding.

The IP network forwards data hop by hop, receives the data packet, 

and finds the routing table and sends it to the next hop. 

It does not care who the next hop router will send the packet to. In an MPLS network, labels are 

pre-assigned and LSPs are generated.

IP hop-by-hop forwarding. At each hop that passes, the longest matching lookup of the routing table must be performed 

(possibly multiple times), and the speed is slow. MPLS label forwarding, through a pre-assigned label, 

establishes a label forwarding channel (LSP) for the packet. At each device passing through the channel,

only fast label switching is required (one search).

Why do you say that MPLS belongs to layer 2.5 because it is between the ip layer and the data link layer.

  • x
  • convention:

Created Dec 26, 2018 01:59:52

MPLS label forwarding, through a pre-assigned label, Can you provide a more detailed explanation?
View more
  • x
  • convention:

Created Dec 26, 2018 02:10:16

Generate preallocation and LSP, a little confusing,Could you explain that in more detail?
View more
  • x
  • convention:

Created Dec 26, 2018 02:30:58

MPLS label forwarding allows you to directly tag the label table when forwarding data by forwarding labels to different address segments.
View more
  • x
  • convention:

Created Dec 26, 2018 03:49:48

I think the source of need with MPLS is to the expanded function with labels, like MPLS VPN.
View more
  • x
  • convention:

Created Dec 27, 2018 08:45:37

The IP header length is 20 bytes, and the MPLS packet header length is 4 bytes. The efficiency based on MPLS forwarding
View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.