RobertoBifulco.it

  • topics
  • publications
  • il gatto
  • account
Home › Reti di Calcolatori 2 › Capitolo V - Multi Protocol Label Switching

MPLS

Roberto Bifulco — Wed, 10/22/2008 - 19:26

La proposta di CISCO è stata considerata valida ed ha dato vita allo standard MPLS. L'architettura MPLS è analoga a quella proposta da CISCO:

  • Label distribution protocol, LDP: ha il compito di distribuire le etichette fra i router;

  • Label Switched Path, LSP: individua un tunnel MPLS;

  • Forwarding Equivalence Class, FEC: rappresenta una regola di trattamento del traffico in ingresso che viene attuata in base all'etichetta;

  • Label Switching Router, LSR: router interno alla rete con supporto ad MPLS;

  • Label Edge Router, LER: router di ingresso alla rete MPLS, ha il compito di inserire/eliminare le etichette.

Da notare che MPLS è detto multi-protocol perché la sua definizione è del tutto indipendente sia dai protocolli superiori che da quelli inferiori nello stack.

Il funzionamento è abbastanza semplice: un pacchetto IP giunge ad un LER tramite il routing tradizionale. Viene valutata la sua destinazione, e, se per tale destinazione è presente un LSP nella tabella del router, il pacchetto viene incapsulato in un header MPLS e mandato lungo tale LSP. All'uscita dall'LSP un ulteriore LER provvederà ad eliminare l'header MPLS.

Durante il LSP il pacchetto attraverserà vari LSR. Nel pacchetto IP si tiene conto di questa distanza aggiornando della dimensione del LSP il campo TTL, in modo da non compromettere il significato di tale valore.

L'header MPLS è di 32 bit, così costituiti:

  • 20 per il label;

  • 3 per EXP: experimental bits;

  • 1 bit per Stacking: si adopera per fornire l'opportunità di creare uno stack di etichette e quindi una gerarchia di flussi;

  • 8 bit per TTL: la copia del campo TTL del pacchetto IP.

Il numero ridotto di etichette non è un problema poiché i flussi che si considerano sono in realtà aggregati, quindi ciascun flusso è utilizzato da dati provenienti da molteplici fonti. Inoltre la scelta della label avviene su base locale, quindi ogni router può adoperare l'intero spazio disponibile per l'assegnazione delle label, comunicandole poi ai router vicini tramite LDP.

Per i protocolli di livello inferiore si sono definite opportune regole per il mappaggio delle label MPLS negli header di tali protocolli.

Nella successiva figura è mostrato un esempio di funzionamento di MPLS:

Ciascun router tramite LDP comunica ai suoi vicini il label che ha assegnato a quel particolare percorso. Quando in A arriva il pacchetto con destinazione nella sottorete 134.112/16, A verifica che esiste un LSP verificando la sua tabella ed inserisce l'etichetta 22. Il successivo router sul LSP si limita a fare il label switching, ossia sostituisce il valore dell'etichetta con quella del canale con il successivo router. Viene dunque cambiato il valore da 22 a 41. Quando infine il pacchetto giunge in Z, il router che è un LER, si accorge che è finito il LSP e provvede ad eliminare l'etichetta, procedendo all'instradamento IP tradizionale.

Fino ad ora abbiamo sorvolato sul come creare gli LSP, i meccanismi sono due:

  1. Quando i router percepiscono una certa configurazione del traffico, istruiscono la rete per la creazione delle opportune connessioni, gestendo le opportune label. Questo approccio non garantisce però una decisione strategica sul lungo periodo per la gestione del traffico;

  2. L'alternativa è adoperare un source-routing. In altre parole si decide a priori il percorso in base a considerazioni per massimizzare il vantaggio per la rete. Questo è un modo anche per pianificare la gestione del traffico della rete attraverso un routing esplicito. Inoltre, si garantisce la possibilità di impostare il routing in base a delle policy personalizzate e non più su base del classico routing ip.

    Per questa soluzione sono però ancora da risolvere del tutto i problemi legati al signaling, per cui le proposte di risoluzione si basano sue due protcolli: CR-LDP, RSVP ext.

 

‹ Capitolo V - Multi Protocol Label Switching up Capitolo VI - Traffic Engineering ›
  • Printer-friendly version

nfl jerseys suppliers Fashion

Anonymous (not verified) — Mon, 01/02/2012 - 08:07

nfl jerseys suppliers Fashion brand
wholesale coach bags the trend of fashion
coach outlet Don't miss the chance it's very good
coach outlet store comfortable with it
wholesale designer handbags well known great
coach handbags outlet attractive and reasonable price
cheap coach online shopping
coach outlet store may most likely need
coach handbag outlet A good thing
authentic nfl jerseys for sale fashion designed
cheap authentic nfl jerseys together with lifestyle

  • reply

nfl jerseys

mostnfl (not verified) — Fri, 12/30/2011 - 14:17

Tom Brady Jersey
Wes Welker Jersey
Chad Ochocinco Jersey

  • reply

nfl jerseys

mostnfl (not verified) — Fri, 12/30/2011 - 14:17

Tom Brady Jersey
Wes Welker Jersey
Chad Ochocinco Jersey

  • reply

nfl jerseys

mostnfl (not verified) — Thu, 12/29/2011 - 09:26

Aaron Rodgers Jersey If these B.J. Raji Jersey end up being Charles Woodson Jersey the real deal, what Clay Matthews Jersey would be interesting DeMarcus Ware Jersey is the league keeping Brian Urlacher Jersey the same Anquan Boldin Jersey design for another year.

  • reply

y ugg boots uk enthusiasm,

ugg boots uk (not verified) — Sat, 12/24/2011 - 03:17

y ugg boots uk enthusiasm, cheap ugg boots cheap uggs but years ugg boots ago, ugg boots uk Zhou Xisheng has been uggs ugg uk with the rescue of ugg boots sale uk stray female ugg boots sale uk Xu Ji...

  • reply

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Reti di Calcolatori 2

  • Introduzione
  • Capitolo I - Networks Evolution
    • Communication models
      • Circuit switching
      • Packet Switching
      • Flow Switching
    • A rapidly changing scenario
    • Data and media taxonomy
  • Capitolo II - Techniques and architectures for QoS
    • II.1QoS problems
    • II.2Service Specification
    • II.3Traffic and Service Characterization
      • II.3.1Token Bucket
      • II.3.2Leaky Bucket
      • II.3.3Queue management
      • II.3.4Scheduling
        • II.3.4.1Scheduling policies
        • II.3.4.1.1GPS
    • II.4Parekh-Gallager Theorem
    • II.5QoS Architectures
      • II.5.1Integrated Services (IntServ)
        • II.5.1.1RSVP
        • II.5.1.2IntServ today
      • II.5.2Differentiated Services (DiffServ)
        • II.5.2.1PHB: Expedited Forwarding
        • II.5.2.2PHB: Assured Forwarding
    • II.6QoS in Fast Interconnect
      • II.6.1Flow Control
        • II.6.1.1Flow Control in IBA
        • II.6.1.2Flow Control in ASI
        • II.6.1.3Flow Control in Ethernet
      • II.6.2Congestion control
        • II.6.2.1Congestion Control in IBA
        • II.6.2.2Congestion Control in ASI
  • Capitolo III - Inter-domain routing with BGP
    • III.1Intra-Domain Routing
      • III.1.1Distance Vector
      • III.1.2Link State
    • III.2Inter-domain routing
      • III.2.1Border Gateway Protocol (BGP)
        • III.2.1.1BGP Messages
        • III.2.1.2BGP Example 1
        • III.2.1.3Route preference
        • III.2.1.4The internet organization
        • III.2.1.5BGP in large networks
        • III.2.1.6Confederations
        • III.2.1.7Route Reflectors
        • III.2.1.8The dynamics of BGP
        • III.2.1.9BGP routing tables
        • III.2.1.10The route selection process
  • Capitolo IV - Asynchronous transfer mode
    • ATM architecture
    • ATM Protocol Stack
    • ATM Addressing
    • ATM Quality of Service
    • ATM Adaptation Layer
    • Call and Connection Control
    • ATM in LAN
    • IP over ATM
  • Capitolo V - Multi Protocol Label Switching
    • MPLS
  • Capitolo VI - Traffic Engineering
    • IP-based Traffic Engineering
    • MPLS-based traffic engineering
  • Capitolo VII - SDH/SONET
  • Capitolo VIII - IP su reti ottiche
    • DWDM
    • Generalized Framing Procedure (GFP)
    • Gigabit Ethernet (GbE)
    • IP-centric control of optical networks
  • Capitolo IX - Network Management
    • Simple Network Management Protocol (SNMP)
    • Network management applications
    • Professional and Business Challanges
    • Service life-cycle
    • Provisioning level Agreement
  • Capitolo X - Network Resiliency
    • Network recovery
    • Recovery Mechanisms Control
  • Capitolo XI - Network security
    • Types of Attack
    • Firewall
    • NAT
    • Intrusion Prevention Systems
  • Download
  • topics
  • publications
  • il gatto
  • account