1 MPLS MultiProtocol Label Switching
1.4 Définition
Label: MPLS utilise un court identifiant (sur 32 bits) qui est inséré entre la couche 2 et la couche 3 afin d’identifier le LSP auquel le paquet est attribué.
- LABEL (20 bits): identifiant du label
EXP (3 bits): Expérimental Field, utilisé pour définir les classes de services (i.e. IP précédence)
S (1 bit): Stack Bit, MPLS permet l’insertion de plusieurs labels dans le même paquet, ce bit, lorsqu’il est à 1, permet d’identifier si ce label et le dernier du paquet
- TTL (8 bits): Time To Live
Forwarding Equivalence Class (FEC) : Classe d’équivalence dans laquelle on trouve un ensemble de paquets IP transmit de la même manière, et suivant le même chemin (LSP) au sein du réseau.
Label Forwarding Information Base (LFIB) : C’est la table dans lequel on trouve les informations sur la commutation des labels (numéro du label, interface d’entrée -- numéro du label, interface de sortie).
Label Edge Routeur (LER) : C’est un routeur qui fait l’interface entre le réseau MPLS et l’extérieur, il possède des interfaces connectées au réseau MPLS et des interfaces IP traditionnelles. Il existe deux catégorie de LER:
Le MPLS Ingress Node ou routeur d’entrée MPLS gère le trafic entrant sur le réseau MPLS, il ajoute un label à chaque paquet IP en fonction de la FEC et le transmet sur le bon LSP.
Le MPLS Egress Node ou routeur de sortie MPLS gère le trafic sortant sur réseau MPLS, il retire le label du paquet et le transmet en fonction des entrées dans sa table de routage.
Label Switch Router (LSR) : C’est un routeur du réseau MPLS qui fait office de commutateur de labels, il est capable de transmettre les paquets en s’appuyant uniquement sur le mécanisme d’identification des labels et de la LFIB
Label Switch Path (LSP) : C’est un chemin établi au travers des LSR pour rejoindre les LER au sein d’un même réseau MPLS en fonction des tables FEC et LFIB. Il est établi grâce au labels et peut être crée statiquement ou dynamiquement. Les LSP sont unidirectionnels, chaque LSP est crée sur le chemin le plus court sélectionné par l’IGP. MPLS/TE peut être utilisé pour changer le chemin par défaut du LSP.
Penultimate Hop Popping (PHP) : C’est la technique d’optimisation qui évite au LER de sortie d’éffectuer une double recherche dans la table de routage et dans le LFIB. Le penultimate node est le routeur précédent le router LER pour un LSP donné au sein d’un réseau MPLS, c’est en générale le dernier LSR. Lorsque le paquet arrive sur le Penultimate node, celui ci regarde dans sa table LFIB l’interface de sortie correspondant au label, extrait le label du paquet puis le transmet sur l’interface dans le bon LSP mais sans ajouter de label. Le LER vas donc recevoir un paquet sans label et vas donc utiliser sa table de routage afin de déterminer la prochaine destination du paquet.
Label Distribution protocol (LDP) : C’est le protocole utilisé par le plan de contrôle afin d’échanger les labels (entre les routeurs adjacent) et de mettre à jour les différentes tables de routage (FIB et LFIB).