MPLS VPN
MPLS stands for MultiProtocol Label Switching VPN stands for Virtual Private Network
In conventional packet forwarding every router opens the IP packet and
looks at IP header to find out destination IP address and then with the
help of its routing table takes independent decision to forward the packet.
Handling the bulky IP header and reconstructing the ip packet again reduces
the speed.
But MPLS works at layer 2. It classifies each packet based on FEC (Forwarding
Equivalence Class). Subsequent routers simply look at the label and route
the packet after swapping the label with a new one.
|
What is FEC(Forward Equivalence Class)?
In a non-mpls routing, each router looks into the packet header, picks up the destination address and compare this address with the routing table entries and selects the best match (longest match). All packets forwarded to this particular match are treated as same FEC.
In cases MPLS, all packets that are forwareded in the same manner by an
LSR belongs to one FEC.
MPLS assigns each packet to a FEC only at the ingress LSR.
What is LIB?
- An FEC is represented by Labels along the Label Switch Path(LSP) from the ingress router to egress router.
- Eash label is valid only between two LSRs.
- The table which contains the information of next hop label is called as LIB.
- The ingress and egress LSRs are also called as Edge Routers
Which protocols are used in MPLS?
BGP, IS-IS, or OSPF as used as Layer 3 protocol.
BGP, LDP, or RSVP-TE is used as Label Distribution Protocol.
What is Penultimate Hop Pop(PHP?
Normally, the Egress Router has to do two look-ups. First it has to look into the Connection Table (also known as Forwarding Table) to decide whether to SWAP or POP. Once it has decided to Pop, then again it has to look for information based on the IP header of the packet.
In some MPLS implementations, PHP is used to avoid the first look-up. The penulitmate router (router prior to the egress router) itself will pop the label and sends just the unlabeled ip packet. Hence the first lookup is eliminated.
What is LDP(Label Distribution Protocol)?
A set of Labels from the Ingress router to Egress Router forms a LSP (Label Switched Path). LDP helps in forming this LSP by mapping network layer routing to the data link layer switch path. LDP distribute labels to its LDP peers. RSVP-TE or CR-LDP are LDPs. LDP establishs LSP and reserve necessary resources for this data path.
What is a Label Switch Path?
An LSP is a specific path traffic path through an MPLS network. An LSP is
provisioned using Label Distribution Protocols (LDPs) such as RSVP-TE or CR-LDP.
Either of these protocols will establish a path through an MPLS network and
will reserve necessary resources to meet pre-defined service requirements
for the data path.
a. What is a Label?
It is 32 bit and placed between Layer 2 header and IP header. It contains
the label value (20bits) and other information.
5. Compare MPLS with ATM.
MPLS has more advantages over ATM. Hence many service providers migrate their
ATM networks to MPLS networks.


No comments:
Post a Comment