MPLS Flashcards
MPLS extended name
multi-protocol label switching
Why MPLS was born? Which was the situation before it?
before MPLS the network was made of lots of protocols and components that were independent. That was causing a difficult management of the network
What is the general schema of MPLS compared to the onion?
optical switching (to let IP run at a high speed) + IP on MPLS.
There is only one control plane so IP and MPLS share it
Which are the other versions of MPLS?
MPlambaS: for optical networks
GMPLS: general, for any kind of network
What is the extended name of ATM?
Asynchronous transfer mode
On what a IP network and a MPLS network are based? What are the differences?
IP: on addresses. To find the right route there is the longest prefix matching -> bad because the table has to be scanned each time. IPs are unique
MPLS uses label: labels have to be unique only on a link so each. label can identify multiple destinations. they are used as index so there is the direct access -> good
What type of network is a MPLS network?
switched circuit network with virtual circuits
Which are the physical components of a MPLs network?
- Label Switching Routers LSRs: they perform packets switching with the label
- Label Edge Router: they insert or remove the label
- Label Switching Path = tunnel-> MPLS introduces a CONNECTION-ORIENTED PARADIGMN THE IP NET
Which are the key components of MPLS?
- header (shim)
- enhanced routing protocols: they have to do the routing exchanging routing informations too so MPLS looks for the shortest path based on constraints
- label distribution protocols: done with signaling
How a MPLS header is made?
- shim header: it can have multiple protocols
- generally a module has the label field (20), the Experimental bits field (3), the S (BOTTOMOF STACK, IF IT IS SET TO 1 IT MEANS THAT THATIS. THE LAST MODULE) (1) and the TTL (8). S is a stack so new modules are added and removed from the head of the stack
Sometimes Layer 2 header has a Label field that can be used for the MPLS header without adding a separated MPLS header. When it is used the ATM and FRAME RELAY switches become MPLS switches
Which are the phases of a LSP setup? (list)
- label binding
- label mapping
- label distribution
LSP setup: label binding
it’s the phase in which the label are chosen by the LSRs.
The label is chosen by the downstream node that communicates its decision to the upstream one
It can be done in two ways, ONE UNSOLICITED AND ONE ON-DEMAND:
- static label binding: the network manager decides and imposes the chosen labels it it a permanent circuit as ATM, not scalable AND NOT INTEROPERABILITY AMON DIFFERENT MANAGING SYSTEMS, IT IS NOT POSSIBLE TO HAVE LSPS THAT PASS THROUGH DIFFERENT NETWORKS
- dynamic label binding: at two levels:
- data/trafic DRIVEN: decided when the packet arrives
- control DRIVEN: decided when a control msg arrives. this can originate a Topology based LSP (UNSOLICITED, THE LSP CREATION IS LINKED TO THE DISCOVERY OF ROUTERS TOWARDS DESTINATIONS) and an Explicit LSP (ON-DEMAND, THE LER STARTS A SIGNALING PROCESS)
LSP setup: label mapping
It’s the phase in which there is the association between input label, output label and next-hop label.
- input label: the considerate LSR decides the label and then communicate it to its upstream node
- output label: it is the one communicated by the downstream router
- next hop: it is decided by the considerate LSR and it can be done in two modes: hop-by-hop ROUTING and explicitROUTING
LSP setup: label distribution
it is the phase in which router communicate the chosen label FOR A FEC
It cane be done whit three different types of protocol for label distribution:
1. routing protocols: BGP -> only with topology based LSP (DYNAMIC. LABEL BINDING, CONTROL DRIVEN LSP CREATION)
2. LDP (Label distribution protocol): deprecated, comes from CISCO routers, designated FOR THE purpose
3. RSVP (Resource RESERVATION Protocol): DESIGNED FOR ALLOCATION IN INTEGRATED SERVICE NETWORKS, IT CAN SUPPORT QOS, MOST USED AND CREATED BEFORE MPLS
2 and 3 become CR-LDP and RSVP-TE for MPLS
What is a FEC?
It is a class at which are associated labels and each packet belonging to a FEC is treated similarly: same path and same label
CoS and QoS can be associated to a FEC