SlideShare una empresa de Scribd logo
1 de 135
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Protocolo deProtocolo de
Comunicaciones:Comunicaciones:
MPLSMPLS
Daniel Díaz Ataucuri
Profesor Titular de Telecomunicaciones UNI/UNMSM
Director de Investigación y Desarrollo Tecnológico del INICTEL-UNI
ddiaz1610@gmail.com/ddiaz@inictel-uni.edu.pe
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
INTRODUCCIÓN
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Enrutamiento en la capa de Internet tiene dos planos básicos:
►Planos de Datos o Envío (Forwarding)
Responsable del envío de los paquetes de datos y utiliza:
Tablas de enrutamiento actualizado en un router.
Analiza información que lleva un paquete de datos (campos de la cabecera).
Aquí se decide como se envían los paquetes de datos:
 Envío unicast (se basa en dirección de destino)
 Envío unicast con calidad de servicios (se basa en dirección de destino y ToS)
 Envío multicast
►Plano de Control
Responsable de la construcción y mantenimiento de la tabla de
enrutamiento. Consiste de:
Uno o más protocolos de enrutamiento
Procedimientos o algoritmos para obtener la tabla de enrutamiento.
NCEPTOS BÁSICOS: Planos de datos y control en redes
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Plano de datos
Plano de control
Algoritmos
Protocolos
B D
A
2 1
E
1
C F
1 2
Tabla deTabla de
enrutamientoenrutamiento
Red de destino Salto
siguiente
200.20.20.0 15.5.5.1
Hardware para el
envío de los datos
NCEPTOS BÁSICOS: Planos de datos y control en redes
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
CONMUTACIÓN DE ETIQUETAS
Concepto de etiqueta: IP SwitchingIP Switching
►La decisión de envío de los paquetes depende del valor de una etiqueta.
►No se analiza ninguna información de la cabecera de la capa de Internet.
datos Cabecera
IP
datos Cabecera
IP etiquetado
Etiqueta
Analizado en
nuevas tablas
LFIB, ubicados
en los LSR
Paquete IP E1
Interfaz valor de Interfaz valor de
de entrada etiqueta de salida etiqueta
1 E1 3 E3
Paquete IP E3
Interfaz 1
Interfaz 2
Interfaz 3
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
CONCEPTOS BÁSICOS: FEC
Forwarding Equivalence Class-FEC
►Son grupos de paquetes que son tratados de la misma manera por el router y enviados
por un mismo camino, aun si los destinos finales son diferentes.
Aplicación 1 IP
Aplicación 2 IP
Aplicación n IP
Tabla de
enrutamiento
u
otra tabla
Diferenteorigen
Salto siguiente
Router trata a todos los
paquetes de la misma
manera
Granularidad de envío del FEC(gruesa o fina)
►Muchos paquetes mapeados a un prefijo de dirección de red
Escalabilidad y flexibilidad
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
BÁSICO DE LA ARQUITECTURA MPLS
En el paradigma de envío MPLS, una vez que un paquete es asignado a
un FEC, ningún análisis futuro de la cabecera será realizada por los
siguientes routers; toda información es manejada por las etiquetas.
►El router de entrada puede utilizar cualquier información (incluso fuera de la cabecera IP)
Por ejemplo: paquetes que llegan de diferentes puertos se asignan a diferentes FECs.
►La decisión de reenvío lo realiza el router de entrada: cada router de entrada coloca una
etiqueta que define una trayectoria dentro de la red MPLS.
►La decisión de etiquetado por parte del router de entrada no impacta a los
otros routers internos de la red MPLS.
►Facilita el envío de los paquetes por una particular ruta (explícita):
Ingeniería de Tráfico.
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Físico
Enlace de
datos
MPLS
UBICACIÓN DE MPLS EN EL MODELO OSI
Red
Transporte
Sesión
Presentación
Aplicación
Físico
Enlace de
datos
Red
Transporte
Sesión
Presentación
Aplicación
MPLS
Capa 2.5
MPLS no reemplaza el enrutamiento IPMPLS no reemplaza el enrutamiento IP
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
2001:4FC:5FA8::/126
2001:4FC:5FA8:10:/126
2001:4FC:5FA8::8/126
2001:4FC:5FA8::4/126
2001:4FC:5FA8::C/126
::1
::2
::5 ::6
::D
::E
::9
::A
::11
::12
Costo 1 Costo 1
Costo 2 Costo 3
Costo 1
CREACIÓN DE LSP (VPN) EXPLICITO
TRAFFIC ENGINEERING-TE
Ruta según Dijkstra
Mucho tráfico!
El router define la ruta: 2001:4FC:5FA8::2 , 2001:4FC:5FA8::6 , 2001:4FC:5FA8::A
Ruta libre
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
MULTIPROTOCOL LABEL SWITCHING-MPLS
Proveedor de Servicios de Internet
ISP
Red MPLS
 Router de Conmutación
de Etiquetas ó
Label Switch Router-LSR
 LSR de borde ó
Label Edge Route-LER
 Trayectoria de conmutación
de etiqueta ó
Label Switch Path-LSP
LSR LSR
LSRLSR
LSRdeborde
deIngreso
LSRdeborde
deSalida
Trayectoria de
los paquetes
etiquetados-LSP
Introduce
Etiqueta
Saca
Etiqueta
Conmutación
por Etiqueta
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
CARACTERÍSTICA DE LA ETIQUETA EN MPLS
Una etiqueta MPLS es corta, de longitud fija, de significado local y es
usado para identificar un FEC.
►En la mayoría de los casos, un paquete es asignado a un FEC basado sobre su dirección de
destino de la capa de Internet. Pero la etiqueta nunca es una decodificación de esta dirección.
Ru Rd
datos IP L datos IP L
Etiqueta de salida de Ru
Representa al FEC F
Etiqueta de entrada de Rd
Representa al FEC F
L no necesariamente representa
FEC F para cualquier paquete
Paquetes
Ru: "upstream LSR" Rd: “downstream LSR"
“In the MPLS architecture, the decision to bind a particular label L to a particular
FEC F is made by the LSR which is DOWNSTREAM with respect to that binding.
The downstream LSR then informs the upstream LSR of the binding”.
Enlazar una etiqueta particular L
a un FEC F particular
►Las etiquetas son distribuidas en la dirección "downstream to upstream“.
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Opciones-relleno
Ver HLEN Tipo Serv. Longitud total
Identificador Desplaz de frag.Indic
TTL Protocolo Suma de chequeo
Dirección de origen
Dirección de destino
Carga útil
0 4 8 16 19 31
40bytes
max
20bytes
DS Etiqueta de flujo
Dirección de origen
40bytes
Ver
Longitud de carga útil Límite saltoCabe.sigte
Dirección de destino
PDU de la capa superior
Cabecera opcionales
Dirección de origen
Opcional
0 4 8 16 19 31
Cabecera
Cabecera
MPLS (nivel 1nivel 1)
Cabecera
MPLS
Label
Stacking
APILAMIENTO DE ETIQUETAS (Stack Label)
El apilamiento
de etiquetas
en MPLS está
organizado en
Last-In, Fist-
Out
El procesamiento
de un paquete
etiquetado es
independiente de
su nivel de
jerarquía en el
apilamiento.
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
NHLFE, Next Hop Label Forwarding Entry, es usado cuando se envía
un paquete etiquetado.
NHLFE, ILM y FTN
ILM, Incoming Label Map, relaciona cada etiqueta entrante a un grupo
de NHLFE. Es usado cuando arriban paquetes etiquetados.
FTN, FEC-to-NHLFE, relaciona cada FEC a un grupo de NHLFE.
Es usado cuando arriban paquetes NO etiquetados, pero que deben ser
etiquetados antes de ser enviados. NHLE n
Salto siguiente del paquete
Label Stack:
- reemplaza la etiqueta superior
- extrae la etiqueta del stack
- reemplaza la etiqueta superior e
introduce una o más etiquetas
Encapsulamiento de capa 2.
Forma de codificar el label stack
cuando se tx el paquete.
NHLE 2
Salto siguiente del paquete
Label Stack:
- reemplaza la etiqueta superior
- extrae la etiqueta del stack
- reemplaza la etiqueta superior e
introduce una o más etiquetas
Encapsulamiento de capa 2.
Forma de codificar el label stack
cuando se tx el paquete.
NHLE 1
Salto siguiente del paquete
Label Stack:
- reemplaza la etiqueta superior
- extrae la etiqueta del stack
- reemplaza la etiqueta superior e
introduce una o más etiquetas
Encapsulamiento de capa 2.
Forma de codificar el label stack
cuando se tx el paquete.
Paquete con
Etiqueta L
Relaciona según
etiqueta L:
Si hay varios NHLE,
balanceo de carga!
ILM
Paquete si
Etiqueta
FTN
FEC1
NHLE1 Paquete con
Etiqueta L
FECn
NHLEn
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Intercambio de etiqueta sigue los siguientes procesos:
RACTERÍSTICA DE LA ETIQUETA EN MPLS: Label Swapp
►Un LSR examina la etiqueta de la parte superior del label stack.
►ILM mapea esta etiqueta a un NHLFE.
►Usando la información en NHLFE determina donde enviar el paquete y realiza
operación en label stack del paquete.
►Se codifica una nueva etiqueta dentro del paquete y envía al siguiente LSR.
Ra Rb RcEtiqueta L1 Etiqueta L2
codifica
una nueva
etiqueta
dentro del
paquete
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
PROTOCOLO DE DISTRIBUCIÓN DE ETIQUETA MPLS
Un protocolo de distribución de etiqueta es un grupo de procedimiento por
el cual un LSR informa a otro de las relaciones etiquetas/FEC que tiene
que realizar.
El protocolo de distribución de etiqueta también engloba cualquier negociación en el
cual dos pares de distribución de etiqueta necesitan contratar para aprender de las
capacidades MPLS de cada uno.
Ru Rd
Envío de protocolo de distribución
de etiqueta para negociación
Datos
►“Carrying Label Information in BGP-4”
RFC 3107
►“ RSVP-TE: Extensions to RSVP for LSP Tunnels”
RFC 3209
►“LDP Specification”
RFC 3036
►“ Constraint-Based LSP Setup
using LDP”, RFC 3212
Protocolos de distribución de etiqueta en MPLS:
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Ru
Rd2
Interfaz 1
Rd1
Interfaz 2
Interfaz 4
Interfaz 3
Rd3
Interfaz 5 Interfaz 7Interfaz 6Tabla de
enrutamiento
Tabla de etiquetas
Interfaz entrada Etiqueta Interfaz Salida
Etiqueta
--------------------- ----------- -------------------
-----------
Tabla de etiquetas
Interfaz entrada Etiqueta Interfaz Salida
Etiqueta
--------------------- ----------- -------------------
-----------
Tabla de
enrutamiento
Tabla de etiquetas
Interfaz entrada Etiqueta Interfaz Salida
Etiqueta
--------------------- ----------- -------------------
-----------
Tabla de
enrutamiento
PROTOCOLO DE DISTRIBUCIÓN DE ETIQUETA MPLS
IPDatos=Señalización
Datos=Señalización
Datos=Señalización Datos=Señalización
2 39
4 39 5 90
6 90 7 50
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
PROTOCOLO DE DISTRIBUCIÓN DE ETIQUETA MPLS
Ru
Rd2
Interfaz 1
Rd1
Interfaz 2
Interfaz 4
Interfaz 3
Rd3
Interfaz 5 Interfaz 7Interfaz 6
Tabla de etiquetas
Interfaz entrada Etiqueta Interfaz Salida
Etiqueta
--------------------- ----------- -------------------
-----------
Tabla de etiquetas
Interfaz entrada Etiqueta Interfaz Salida
Etiqueta
--------------------- ----------- -------------------
-----------
Tabla de etiquetas
Interfaz entrada Etiqueta Interfaz Salida
Etiqueta
--------------------- ----------- -------------------
-----------
2 39
4 39 5 90
6 90 7 50IPDatos
IPDatos 39 IPDatos 90
IPDatos 39
IPDatos 90 IPDatos 50
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ARQUITECTURA MPLS: PLANO DE CONTROL
LSR
LSR
LSR
Señalización
Señalización
Señalización Señalización
Tabla LFIB Tabla LFIB
Datos
►Aspectos claves
Las etiquetas son distribuidas en la dirección "downstream to upstream“.
Dirección downstream a upstream
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Distribución de etiquetas “downstream-on-demand”.
►Cuando la arquitectura MPLS permite que un LSR requiera de manera explícita una
etiqueta vinculada para un FEC.
DOWNSTREAM-ON-DEMAND vs
UNSOLICITED DOWNSTREAM
Requerimiento de etiqueta
Distribución de etiqueta
Ru Rd
Distribución de etiquetas “unsolicited downstream”.
►Cuando la arquitectura MPLS permite que un LSR distribuya etiqueta
a otro LSR sin tener un requerimiento explícito para ello.
Distribución de etiqueta
Ru RdAmbas técnicas
pueden ser usadas en
una red MPLS, incluso
al mismo tiempo.
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
MPLS mantiene la arquitectura de un router en dos componentes:
►Plano de control.
Controla el intercambio de información de enrutamiento: OSPF, EIGRP, BGP, IS-IS, RIP.
Controla el intercambio de etiquetas entre dispositivos adyacentes: LDP, CR-LDP, RSVP-TE, BGP
Surgen las señalizaciones que solicitan y asignan etiquetas para crear las tablas de etiquetas
►Plano de dato o envío, controla el envío del paquete de dato basado en:
Dirección de destino (se mantiene la red IP!!)
Etiquetas
Se crea la tabla Label Forwarding Information Base-LFIB
►El plano de control crea la tabla LFIBLFIB donde se almacena las etiquetas
que son usadas por el plano de envío.
►La tabla LFIB es creada/actualizada por los protocolos LDP, CR-LDP,
RSVP-TE ó BGP
ANO DE DATOS Y CONTROL EN UNA ARQUITECTURA MP
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ANO DE DATOS Y CONTROL EN UNA ARQUITECTURA MP
Plano de datos
Plano de control
Algoritmos
Protocolos
SeñalizaciónB D
A
2 1
E
1
C F
1 2
Tabla deTabla de
enrutamientoenrutamiento
Red de destino Salto
siguiente
200.20.20.0 15.5.5.1
Hardware para el
envío de los datos
1
Interfaz de
entrada
n1
Etiqueta de
entrada
2
Interfaz de
salida
n2
Etiqueta de
salida
TABLA LFIBTABLA LFIB
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
FUNCIONAMIENTO DE
UNA RED MPLS
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
PROPUESTA MPLS POR LA IETF: RFC 3031
Los inicios de MPLS se remota a mediados de los 90 cuando se intenta
combinar la tecnología IP y ATM.
►IP switching desarrollado por IPSILON1
►ARIS (Aggregate Route-based IP Switching) desarrollado por IBM
►IP Navigator desarrollado por Cascade2
►Tag Switching desarrollado por CISCO
1 http://www.cse.wustl.edu/~jain/cis788-97/ftp/ip_switching/index.html
Consideraron el uso de OSPF para definir los path
y Switches ATM para mover los datos por la red.
La IETF, en 1997, forma el grupo de trabajo MPLS
►Enero de 2001 lanza la RFC 3031 donde define MPLS
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ESCENARIO DE UNA RED MPLS
RED
MPLS
RED
LAN RED
LAN
Router IP
Edge
LSR
Edge
LSR
LSR LSR
LSR LSR
IP
IP
IP Etiqueta
IP
Introduce (push)
Etiqueta
LSP
QoS en la
Red MPLS
Analiza
Etiqueta
Analiza
Etiqueta
Analiza
Etiqueta
Analiza
Etiqueta
Extrae
(pop)
Etiqueta
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
PRINCIPIO DE CONMUTACION EN MPLS
RED
MPLS
RED
LAN RED
LAN
Router IP
Edge
LSR
Edge
LSR
LSR LSR
LSR LSR
RED
LAN
1
2
1
2
3
1
2
3
4
1
2
3
4 1
2 3
1
2
3
IP
IP
IP
70
IP
34
IP
17
IP
IP
IP
IP
23
IP 80
IP
77
IP71
Las etiquetas tienen significado
local; no tiene significado global
swap
Interfaz Etiqueta Interfaz Etiqueta
de entrada de entrada de salida de salida
1 70 3 34
1 23 4 80
Interfaz Etiqueta Interfaz Etiqueta
de entrada de entrada de salida de salida
1 80 2 71
Interfaz Etiqueta Interfaz Etiqueta
de entrada de entrada de salida de salida
2 34 4 17
3 71 4 77
LFIB=Label Forwarding Information Base
LFIB=Label Forwarding Information Base
LFIB=Label Forwarding Information Base
LFIB=Label Forwarding
Information Base
Esta primera etiqueta
define la trayectoria
(LSP) seguida por el
paquete en la red. (FEC)
El penúltimo router
puede sacar la
etiqueta:
Penultimate Hop
Popping-PHPPHP
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
PRINCIPIO DE CONMUTACION EN MPLS
RED
MPLS
RED
LAN RED
LAN
Router IP
Edge
LSR
Edge
LSR
LSR LSR
LSR LSR
1
2
1
2
3
1
2
3
4
1
2
3
4 1
2 3
1
2
3
FEC Interfaz Etiqueta
de salida de salida
a 2 70
b 2 23
Interfaz Etiqueta Interfaz Etiqueta
de entrada de entrada de salida de salida
1 70 3 34
1 23 4 80
Interfaz Etiqueta Interfaz Etiqueta
de entrada de entrada de salida de salida
1 80 2 71
Interfaz Etiqueta Interfaz Etiqueta
de entrada de entrada de salida de salida
2 34 4 17
3 71 4 77
QoS para cada
LSP.
QoS para cada
LSP.
QoS para cada
LSP.
QoS para cada
LSP.
QoS para cada
LSP.
Red orientada a conexión
Medio
físico
LSP
LSP
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
DESCRIPCION DE LA RED MPLS
Label Switching Router, LSR.
►Nodo dentro de la red MPLS capaz de conmutar y enrutar paquetes analizando la
etiqueta adicionada a cada paquete.
Edge Label Switching Router, Edge LSR.
Label Switch Path, LSP
►Trayecto definido con QoS entre dos puntos extremos
dentro de la red MPLS.
►Nodo MPLS de borde que maneja tráfico que ingresa o sale a una red MPLS.
►El de entrada adiciona etiqueta a cada paquete IP.
►El de salida extrae etiqueta del paquete IP y enruta
según capa 3.
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
FORWARDING EQUIVALENCE CLASS-FEC
El FEC para un paquete puede ser determinado por el análisis de los
siguientes parámetros:
►Dirección IP de origen o destino.
►Dirección de red de origen o destino.
►Valor del campo Protocolo (protocol ID)
►Valor de DSCP (nivel de prioridad del paquete IP)
►Valor del campo Etiqueta de Flujo en IPv6
Un PHB puede ser asignado en un LSR para un
FEC dado.
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ROUTER DEL PROVEEDOR Y CLIENTE
Red del
proveedor
Red del
usuario
Red de
usuario
1
2
1
2
3
1
2
3
4
1
2
3
4 1
2 3
1
2
3
PE
PE
P P
P P
CE
CC
CE
CE .- Customer Edge
C .- Customer
PE .- Provider Edge
P .- Provider
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Un paquete IP etiquetado puede transportar varias etiquetas.
►Stack tipo LIFO: Last-In-First-Out.
LABEL STACKING
Label Stacking permite la agregación de LSPs en un sólo LSP creando
un túnel.
►Al inicio del túnel, un LSP asigna la misma etiqueta a paquetes provenientes de varios
LSPs, introduciendo etiqueta a la parte superior del stack.
Un ISP puede agregar varios LSPs en pocos túneles
entre puntos de presencia (PoP, Points of Presence)
►Pocos túneles  pocas tablas: mejora la escalabilidad.
LSP
LSP1
LSP2
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
LABEL STACKING
1
2
1
2
3
1
2
3
4
1
2
3
4 1
2 3
1
2
PE PE
P P
P P
PE PE
P P
PE
P P
PEIP
IP
IP
31
IP
72
IP
41
IP
91
LSP
1
LSP2
IP
9170IP
7270
LSP
IP
9117IP
7217
LSP1
LSP
2
IP 27
IP 81
IP
IP
91IP
72 IP 61
IP 25
IP
LSP
LSP1
LSP2
Túnel
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ARQUITECTURA MPLS:
PLANO DE DATOS
O DE ENVÍO
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ETAPAS DEL FUNCIONAMIENTO DE LA RED MPLS
Red del
proveedor
1
2
1
2
3
1
2
3
4
1
2
3
4 1
2 3
1
2
3
QoS en la
Red MPLS
 1ra etapa : Envío de señalización
 2da etapa: Formación de las tablas de conmutación
 3ra etapa : Envío de datos
1ra etapa
Creación
de tablas
Creación
de tablas
Creación
de tablas
Creación
de tablas
2da etapa
IP Etiqueta
3ra etapa
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ARQUITECTURA MPLS: PLANO DE DATOS
El plano de envío o datos toma la decisión de envío de un paquete
considerando:
►La tabla de envío o forwarding, mantenido en Router de Conmutación de Etiquetas (LSR).
►El valor de una etiqueta es transportada en el paquete de datos.
datos IP n1 datos IP n2
1 2
3
1
Interfaz de
entrada
n1
Etiqueta de
entrada
2
Interfaz de
salida
n2
Etiqueta de
salida
TABLA LFIB
1
Interfaz de
entrada
n1
Etiqueta de
entrada
2
Interfaz de
salida
n2
Etiqueta de
salida
datos IP n1 datos IP n2
1 2
3
datos
IP n3
3
Interfaz de
salida
n3
Etiqueta de
salida
TABLA LFIB
Adicional, reserva de recursos:
En que tipo de cola de salida
el paquete es almacenado
Adicional, reserva de recursos:
En que tipo de cola de salida
el paquete es almacenado
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ARQUITECTURA MPLS: PLANO DE DATOS
Adición de la cabecera MPLS en IP
Opciones-relleno
Ver HLEN Tipo Serv. Longitud total
Identificador Desplaz de frag.Indic
TTL Protocolo Suma de chequeo
Dirección de origen
Dirección de destino
Carga útil
0 4 8 16 19 31
40bytes
max
20bytes
DS Etiqueta de flujo
Dirección de origen
40bytes
Ver
Longitud de carga útil Límite saltoCabe.sigte
Dirección de destino
PDU de la capa superior
Cabecera opcionales
Dirección de origen
Opcional
0 4 8 16 19 31
Cabecera
Cabecera
MPLS
S=1
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ARQUITECTURA MPLS:
PLANO DE CONTROL
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ARQUITECTURA MPLS: PLANO DE CONTROL
El plano de control es responsable de:
►Distribuir información de conmutación entre LSR: Hace uso de señalización.
►Los procedimientos (algoritmos) que usa los LSR para convertir la información
distribuida en tabla de envío (LFIB) que es usada por el plano de datos o de envío.
Existe gran similitud entre el plano de control de una arquitectura de
enrutamiento convencional y de conmutación de etiqueta:
►En MPLS se incluye todos los protocolos de enrutamiento de IP más
los protocolos de señalización para requerir y asignar etiquetas.
►Enrutamiento de IP es una parte de la conmutación por etiquetas.
Recordar que MPLS es una red IP
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
ARQUITECTURA MPLS: PLANO DE CONTROL
Protocolos de
enrutamiento de
la capa de red:
OSPF, BGP, etc
Procedimientos
creando enlaces
entre etiquetas y
FECs
Procedimientos
para distribuir
etiquetas
vinculando
información
Tablas de envío de conmutación de etiquetas
(etiquetas para relacionar el siguiente salto)
Plano
de Control
FEC para relacionar
siguiente salto
FEC para relacionar
etiquetas
Tabla de enrutamiento Tabla LFIB
Plano
de Dato
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
RFC 5036 LDP Specification
MPLS LDP suministra los medios para que los LSR requieran,
distribuyan y actualicen información de etiquetas.
Cuando se habilita MPLS LDP, el LSR envía mensajes para tratar de
encontrar otro LSR para crear una sesión LDP.
PROTOCOLO MPLS LDP
Mensajes definidos en MPLS LDP.
► Discovery messages.- usado para anunciar y mantener la presencia de un LSR en la red
► Advertisement messages.- usado para crear, cambiar y eliminar
asignaciones de etiquetas para FECs.
► Session messages.- usado para establecer, mantener y terminar sesiones entre LDP pares
► Notification messages.- usado para proporcional información de aviso
y información de señal de error.
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
RFC 5036 LDP Specification
MPLS LDP suministra los medios para que los LSR requieran,
distribuyan y actualicen información de etiquetas.
MPLS LDP es útil para aplicaciones que requieren envío salto-a-salto
(hop-by-hop forwarding)
►Con MPLS forwarding, cuando un paquete arriba en un router,
el router mira la etiqueta de entrada, busca la etiqueta en la tabla,
y envía el paquete al siguiente salto.
Cuando se habilita MPLS LDP, el LSR envía mensajes
para tratar de encontrar otro LSR para crear una
sesión LDP.
PROTOCOLO MPLS LDP
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
El protocolo LDP es utilizado para establecer MPLS LSPs sin
Ingeniería de Tráfico (TE).
►LDP establece LSPs siguiendo el enrutamiento IP existente.
►LDP es usado para establecer full mesh de LSPs entre todos los routers de la red.
El protocolo LDP puede operar en diferentes modos
►Modo solicitado.- El router de ingreso envía un requerimiento de etiqueta LDP
al siguiente router, siguiendo la tabla de enrutamiento IP.
►Modo no solicitado.- El router de egreso mapea las etiquetas en el
enlace hasta alcanzar los routers de ingreso.
PROTOCOLO MPLS LDPRFC 5036 LDP Specification
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
El protocolo RSVP-TE es una adaptación del protocolo RSVP.
PROTOCOLO RSVP-TERSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
1997 2001
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
PROTOCOLO RSVP –vs - RSVP-TE
Redes
de acceso
Redes
de acceso
Redes
de acceso
Redes
de acceso
Backbone IP
Redes
de acceso
Redes
de acceso
Redes
de acceso
Redes
de acceso Backbone
MPLS
Mensaje Path
Mensaje Resv
Señalización RSVPRSVP
Definido en RFC 2205
Mensaje Path
Mensaje Resv
Señalización RSVP-TERSVP-TE
Definido en RFC 3209
Para asignar
QoS E2E en
cada Router:
Crea estados
en cada router
Para asignar
etiquetas y
QoS solo en
los routers
del Proveedor
de Internet-ISP
Datos
IPv4/
IPV6
Objetos RSVP
RSVP se encapsula en IP
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
PATH:
Define trayectoria
RESV:
Realiza reserva
Datos
IP
Cab.
RSVP
OBJ 1OBJ 2OBJ n ...
Objetos de RSVP
Protocolo RSVP
Cab.
IP
IP
Cab.
RSVP
OBJ xOBJ 2OBJ 1 ...
Objetos de RSVP
Protocolo RSVP
Cab.
IP
Mensaje PathPath y ResvResv son claves para la
creación de estados en los nodos de la red.
Los mensajes PathPath y ResvResv crean:
Path  Path State
Resv  Resv State
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
R5
R1
R3
R2
R4
R6
R7
R8
R9
PCa
PCb
PCc
PCd
AREA 0
AREA 1 AREA 2
20.1.1.0/30
20.1.1.4/30
20.1.1.8/30
20.1.1.12/30
20.1.1.16/30
20.1.1.20/30
30.3.3.0/30
30.3.3.4/30
30.3.3.8/30
40.4.4.0/30
40.4.4.4/30
40.4.4.8/30
210.1.1.0/24
210.2.2.0/24
220.1.1.0/24
220.2.2.0/24
.1
.5
.2
.6
.9
.10
.14 .13
.17.18
.22.21
.1
.2
.9
.10
.5
.6
.2
.1
.6
.5
.9
.10
.1
.9
.13.1
Costo 3
Costo 7
Costo2
Costo 6 Costo 4
Costo1
Costo1
Costo 10
Costo 5
Costo 1
Costo 1
Costo1
.2
.2
.1
.2
.1
.2
50.5.5.0/30
50.5.5.4/30
.2.1
.5 .6
50.5.5.8/30
.10
50.5.5.12/30
.14
UN INCONVENIENTE DE INTERNET: No es bidirecciona
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Cabecera del
Objeto 1
Cabecera del
Objeto 1
Contenido del
Objeto 1
Contenido del
Objeto 1
Objeto 1Objeto 1
Objeto η Objeto 2 Objeto 1……..
Objeto κ Objeto p Objeto 1……..
Cabecera RSVP
Cabecera RSVP
Mensaje 1
Mensaje 2
REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Longitud RSVP
Chequeo suma RSVPVer Flags
Send_TTL
Msg Type
Reservado
Cabecera
RSVP
Contenido del objeto
C-TypeLongitud del objeto Class-Num
Contenido del objeto
C-TypeLongitud del objeto Class-Num
Objetos
RSVP
...
Longitud RSVP
Chequeo suma RSVPVer Flags
Send_TTL
Msg Type
Reservado
Cabecera
RSVP
Contenido del objeto
C-TypeLongitud del objeto Class-Num
Objetos
RSVP
...
Ver HLEN Tipo Serv. Longitud total
Identificador Desplaz de frag.Indic
TTL
Protocolo
46
Suma de chequeo
Dirección de origen
Dirección de destino
0 4 8 16 19 31
20bytes
Cabecera
IPv4
DS Etiqueta de flujo
Dirección de origen
40bytes
Ver
Longitud de carga útil Límite salto
Cabe.sigte
46
Dirección de destino
Dirección de origen
0 4 8 16 19 31
IPv6
REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Formato de un objeto
Contenido del objeto
C-TypeLongitud del objeto Class-Num
►Cada objeto contiene una cabecera de 32 bits.
Longitud.- Campo de 16 bits y contiene la longitud total del objeto
expresado en bytes.
Class-Num.- Identifica la clase de objeto; por ejemplo: SESSION,
RSVP-HOP, TIME_VALUE, etc.
 C-Type.- Único para cada Class-Num. Identifica el tipo de protocolo IP
que lleva el objeto: C-Type=1 para IPv4 e C-Type=2 para IPv6
►Contenido del objeto es de uno (01) o más palabras de 32 bits
REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Objeto Session
Dirección IPv4 de destino
C-Type
1
Longitud del objeto
Class-Num
1
Puerto de destinoFlagsID Protocol
Dirección IPv6 de destino
C-Type
2
Longitud del objeto
Class-Num
1
Puerto de destinoFlagsID Protocol
Objeto RSVP_HOP
Dirección IPv4 salto siguiente/previo
C-Type
1
Longitud del objeto
Class-Num
3
Manejo de interfaz lógica
Dirección IPv6 salto siguiente/previo
C-Type
2
Longitud del objeto
Class-Num
3
Manejo de interfaz lógica
PATH
Session
Sender
Sender Tspec
Time-Val
RSVP-Hop
RESV
Session
Filter Spec
Flow Spec
Style
Time-Val
RSVP-Hop
REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Objeto RSVP_HOP
Dirección IPv4 salto siguiente/previo
C-Type
1
Longitud del objeto
Class-Num
3
Manejo de interfaz lógica
Dirección IPv6 salto siguiente/previo
C-Type
2
Longitud del objeto
Class-Num
3
Manejo de interfaz lógica
Almacena
40.4.4.6
Almacena
40.4.4.10
R6
40.4.4.4/30 40.4.4.8/30
.5.6 .9.10
R7 R9 R8 RESV
PATH
MAS OBJETOS
PATH
MAS OBJETOS
RESVRESV
REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Objeto ERROR_SPEC
Dirección IPv4 del nodo error (4 bytes)
C-Type
1
Longitud del objeto
Class-Num
6
Flags Valor ErrorCode Error
Dirección IPv4 del nodo error (16 bytes)
C-Type
2
Longitud del objeto
Class-Num
6
Flags Valor ErrorCode Error
40.4.4.4/30 40.4.4.8/30
.5.6 .9.10
R7 R9 R8
Erro
r
RESVRESV
RESV ERROR
40.4.4.4/30 40.4.4.8/30
.5.6 .9.10
R7 R9 R8
PATHPATH
Erro
r
ERRORERROR
PATH ERROR
ERRORERROR
REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
LSR
LSR
LSR
ISP
Surgen los objetos:
LABEL_REQUEST Mensaje PATH
LABEL  Mensaje RESV
ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209)
NUEVOS OBJETOS
TABLA TABLATabla LFIB Tabla LFIB
TABLA Tabla LFIB
Señalización: Solicito etiquetas Señalización: Solicito etiquetas
PATH PATH
1
Señalización: Asigno etiquetas Señalización: Asigno etiquetasRESV RESV
2
Datos
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Surgen objeto:
EXPLICIT_ROUTE Mensaje PATH
ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209)
NUEVOS OBJETOS
Señalización ordena: IPa e IPb Señalización ordena: IPa e IPb
PATH PATH
TABLA TABLATabla LFIB Tabla LFIB
TABLA Tabla LFIB
LSR
LSR
LSR
IPa
IPbIP1
IP2
Costo 20 Costo 20
Costo 1
Puede ser una ruta
óptima (menor costo)
La señalización define una
ruta explícita IPa e IPb
La red MPLS ofrece INGENIERÍA DE TRÁFICO
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Surgen un objeto, que inicialmente está vacío:
RECORD_ROUTE Mensaje PATH
ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209)
NUEVOS OBJETOS
Señalización: IPa
Señalización: IPa e IPb
PATH PATH
TABLA TABLATabla LFIB Tabla LFIB
TABLA Tabla LFIB
LSR
LSR
LSR
IPa
IPbIP1
IP2
Este objeto contiene al final una
lista de las dirección IP por donde
transita el mensaje PATH
Señalización: Se
desea saber la ruta
del mensaje PATH
Se envía un objeto
vacío
Se obtiene
la ruta: IPa
e IPb
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Surgen un objeto, que inicialmente está vacío:
RECORD_ROUTE Mensaje RESV
ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209)
NUEVOS OBJETOS
Señalización: IP1 e IP2 Señalización: IP2
RESV RESV
TABLA TABLATabla LFIB Tabla LFIB
TABLA Tabla LFIB
LSR
LSR
LSR
IPa
IPbIP1
IP2
Este objeto contiene al final una
lista de las dirección IP por donde
transita el mensaje RESV
Señalización: Se
desea saber la ruta
del mensaje RESV
Se envía un objeto
vacío
Se obtiene
la ruta: IP1
e IP2
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Objeto Label
Etiqueta
C-Type
1
Longitud del objeto
Class-Num
16
Es llevado por el mensaje RESV
Objeto Label_Request
C-Type
1
Longitud del objeto
Class-Num
19
L3PIDReservado
Es llevado por el mensaje PATH
ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209)
NUEVOS OBJETOS
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Subobjetos
Objeto Explicit_Route (ERO)
C-Type
1
Longitud del objeto
Class-Num
20
Es llevado por el mensaje PATH.
Si PATH contiene varios EROs,
solo el primero es considerado.
L = 1, el subobjeto representa un “Loose hop”
L = 0, el subobjeto representa un “Strict hop”
ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209)
NUEVOS OBJETOS
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Subobjetos
Objeto Record_Route (RRO)
C-Type
1
Longitud del objeto
Class-Num
21
Puede ser llevado por los mensajes
PATH y/o RSVP.
Inicialmente está vacío.
Conforme llega a un router se registra
la dirección IP de la interfaz donde
sale el mensaje.
ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209)
NUEVOS OBJETOS
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Longitud RSVP
Chequeo suma RSVPVer Flags
Send_TTL
Msg Type
Reservado
Cabecera
RSVP
Objeto TIME_VALUE
C-TypeLongitud del objeto Class-Num
Objeto SESSION
C-TypeLongitud del objeto Class-Num
Objetos
RSVP
Objeto LABEL_REQUEST
C-TypeLongitud del objeto Class-Num
Objeto EXPLICIT_ROUTE
C-TypeLongitud del objeto Class-Num
Objeto SESSION_ATTRIBUTE
C-TypeLongitud del objeto Class-Num
Mensaje PATH Mensaje RESV
Longitud RSVP
Chequeo suma RSVPVer Flags
Send_TTL
Msg Type
Reservado
Cabecera
RSVP
Objeto TIME_VALUE
C-TypeLongitud del objeto Class-Num
Objeto SESSION
C-TypeLongitud del objeto Class-Num
Objetos
RSVP
Objeto LABEL
C-TypeLongitud del objeto Class-Num
Objeto FLOW_SPEC
C-TypeLongitud del objeto Class-Num
Objeto RECORD_ROUTE
C-TypeLongitud del objeto Class-Num
SIGUE
ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209)
El orden de los
objetos no importa
(Pag. 15, RFC 3209)
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND
FORWARDING-VRF
https://www.youtube.com/watch?v=f2CHCZyt8GsVRF Lite
Caso de estudio: Enrutamiento intervlan y VRF: https://www.youtube.com/watch?v=xcpBEitqypg
17min, 40seg
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING
Intro to VRF lite http://packetlife.net/blog/2009/apr/30/intro-vrf-lite/
https://www.linkedin.com/pulse/webinar-replay-
fundamentals-qos-kevin?trk=portfolio_article-card_title
Fundamentos de QoS
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING
VRF
VRF
VRF
Interfaz física
o lógica
Interfaz física
o lógica
Virtual Routing and Forwarding-VRF es una técnica de virtualizar las
tablas de enrutamiento de un router con el objetivo de que un Proveedor
de Servicios de Internet-ISP separe sus clientes.
Cisco hace suyo VRF
Juniper lo denomina
“routing instances”
Linux denomina
“network namespaces”
Huawei denomina “VPN Routing”
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING
192.10.20.1/30
60.60.60.1/30
Fa 0/0 Fa 2/0
Fa 1/0
10.10.10.1.1/30
C 192.10.20.0 is directly connected, fastethernet0/0
C 10.10.10.0 is directly connected, fastethernet0/1
C 60.60.60.0 is directly connected, fastethernet1/0
Tabla de enrutamiento global
192.10.20.1/30
60.60.60.1/30
10.10.10.1.1/30192.70.80.1/30
192.70.80.1/30
192.70.80.1/30VRF
VRF
VRF
Tabla
VRF
Tabla
VRF
Tabla
VRF
Fa 0/0 Fa 2/0
Fa 1/0
C 192.70.80.0 is directly connected, fastethernet2/0
Tabla de enrutamiento vrf celeste
C 192.70.80.0 is directly connected, fastethernet0/0
Tabla de enrutamiento vrf rojo
C 192.70.80.0 is directly connected, fastethernet1/0
Tabla de enrutamiento vrf amarillo
Los VRF emplean esencialmente el mismo concepto que VLAN y trunking, pero en la capa tres.
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING
192.10.20.1/30
60.60.60.1/30
10.10.10.1.1/30192.70.80.1/30
192.70.80.1/30
192.70.80.1/30VRF
VRF
VRF
Tabla
VRF
Tabla
VRF
Tabla
VRF
Fa 0/0 Fa 2/0
Fa 1/0
C 192.70.80.0 is directly connected, fastethernet2/0
Tabla de enrutamiento vrf celeste
C 192.70.80.0 is directly connected, fastethernet0/0
Tabla de enrutamiento vrf rojo
C 192.70.80.0 is directly connected, fastethernet1/0
Tabla de enrutamiento vrf amarillo
Pasos a seguir:
Definir cada vrf
Asignar un valor Router Distinguisher-rd
Asociar las interfaces a cada vrf
http://www.redescisco.net/sitio/2017/02/15/configuracion-basica-de-vrf/
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_01 CISCO
192.10.20.1/30
60.60.60.1/30
10.10.10.1.1/30192.70.80.1/30
192.70.80.1/30
192.70.80.1/30VRF
VRF
VRF
Tabla
VRF
Tabla
VRF
Tabla
VRF
Fa 0/0 Fa 2/0
Fa 1/0
C 192.70.80.0 is directly connected, fastethernet2/0
Tabla de enrutamiento vrf celeste
C 192.70.80.0 is directly connected, fastethernet0/0
Tabla de enrutamiento vrf rojo
C 192.70.80.0 is directly connected, fastethernet1/0
Tabla de enrutamiento vrf amarillo
Pasos a seguir:
Definir cada vrf
Asignar un valor Router Distinguisher-rd
Asociar las interfaces a cada vrf
R1(config)#ip vrf celeste
R1(config-vrf)#rd 10:1
R1(config-vrf)#exit
R1(config)#ip vrf rojo
R1(config-vrf)#rd 10:2
R1(config-vrf)#exit
R1(config)#ip vrf amarillo
R1(config-vrf)#rd 10:3
R1(config-vrf)#exit
R1(config)#
La numeración es referencial.
Permite al dispositivo distinguir qué
interfaz y que ruta pertenece a qué
dominio de enrutamiento interno.
In Cisco terminology, deployment of VRFs without MPLS is
known as VRF lite,
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_01 CISCO
192.10.20.1/30
60.60.60.1/30
10.10.10.1.1/30192.70.80.1/30
192.70.80.1/30
192.70.80.1/30VRF
VRF
VRF
Tabla
VRF
Tabla
VRF
Tabla
VRF
Fa 0/0 Fa 2/0
Fa 1/0
C 192.70.80.0 is directly connected, fastethernet2/0
Tabla de enrutamiento vrf celeste
C 192.70.80.0 is directly connected, fastethernet0/0
Tabla de enrutamiento vrf rojo
C 192.70.80.0 is directly connected, fastethernet1/0
Tabla de enrutamiento vrf amarillo
Pasos a seguir:
Definir cada vrf
Asignar un valor Router Distinguisher-rd
Asociar las interfaces a cada vrf
R1(config)#interface fastethernet2/0
R1(config-if)#ip vrf forwarding celeste
R1(config-if)#ip address 192.70.80.1 255.255.255.252
R1(config-if)#no shutdown
R1(config)#interface fastethernet0/0
R1(config-if)#ip vrf forwarding rojo
R1(config-if)#ip address 192.70.80.1 255.255.255.252
R1(config-if)#no shutdown
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_01 CISCO
R1(config)#interface fastethernet1/0
R1(config-if)#ip vrf forwarding amarillo
R1(config-if)#ip address 192.70.80.1 255.255.255.252
R1(config-if)#no shutdown
192.10.20.1/30
60.60.60.1/30
10.10.10.1.1/30192.70.80.1/30
192.70.80.1/30
192.70.80.1/30VRF
VRF
VRF
Tabla
VRF
Tabla
VRF
Tabla
VRF
Fa 0/0 Fa 2/0
Fa 1/0
C 192.70.80.0 is directly connected, fastethernet2/0
Tabla de enrutamiento vrf celeste
C 192.70.80.0 is directly connected, fastethernet0/0
Tabla de enrutamiento vrf rojo
C 192.70.80.0 is directly connected, fastethernet1/0
Tabla de enrutamiento vrf amarillo
Pasos a seguir:
Definir cada vrf
Asignar un valor Router Distinguisher-rd
Asociar las interfaces a cada vrf
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_01 CISCO
R1#show ip route
R1#
R1#show ip route vrf celeste
Routing Table: celeste
192.70.80.0/30 is subnetted, 1 subnets
C 192.70.80.0 is directly connected, FastEthernet2/0
R1#
R1#show ip route vrf rojo
Routing Table: rojo
192.70.80.0/30 is subnetted, 1 subnets
C 192.70.80.0 is directly connected, FastEthernet0/0
R1#
R1#show ip route vrf amarillo
Routing Table: amarillo
192.70.80.0/30 is subnetted, 1 subnets
C 192.70.80.0 is directly connected, FastEthernet1/0
R1#
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
EMPRESA A
EMPRESA B
210.16.0.0/24
210.16.1.0/24
210.16.2.0/24
.2
.2
.2
.1
.1
.1
210.16.0.0/24
210.16.1.0/24
210.16.2.0/24
.2
.2
.2
.1
.1
.1
200.200.0.0/24
200.200.1.0/24
200.200.2.0/24
.20
.20
.20
.1
.1
.1
200.200.0.0/24
200.200.1.0/24
200.200.2.0/24
.21
.21
.21
.1
.1
.1
20.20.20.4/30
20.20.20.0/30
20.20.20.0/30
20.20.20.8/30
20.20.20.8/30
.2
.2
.1
.1
.5 .6
.9
.10
.10
.9
R1
R2
R5
R6
R3 R4
f0/0
f2/0
f1/1
f1/0
f1/0
f0/0
f2/0
f1/1
f0/0
f1/0
f1/1 f2/0
f1/1
f0/0
f0/0
f1/0
f1/0
f1/1
f2/0
f0/0
f1/1
f2/0
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
210.16.0.0/24
210.16.1.0/24
210.16.2.0/24
.2
.2
.2
.1
.1
.1
20.20.20.0/30
.2
.1
R1
R3
f0/0
f2/0
f1/1
f1/0
f0/0
R1(config)#interface fastethernet2/0
R1(config-if)#ip address 210.16.0.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastethernet1/0
R1(config-if)#ip address 210.16.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastethernet1/1
R1(config-if)#ip address 210.16.2.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastethernet0/0
R1(config-if)#ip address 20.20.20.2 255.255.255.252
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#ip route 0.0.0.0 0.0.0.0 20.20.20.1
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
210.16.0.0/24
210.16.1.0/24
210.16.2.0/24
.2
.2
.2
.1
.1
.1
20.20.20.0/30
.2
.1
R2
R3
f1/0
f0/0
f2/0
f1/1
f1/0
R2(config)#interface fastethernet0/0
R2(config-if)#ip address 210.16.0.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastethernet1/1
R2(config-if)#ip address 210.16.1.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastethernet2/0
R2(config-if)#ip address 210.16.2.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastethernet1/0
R2(config-if)#ip address 20.20.20.2 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#ip route 0.0.0.0 0.0.0.0 20.20.20.1
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
200.200.0.0/24
200.200.1.0/24
200.200.2.0/24
.20
.20
.20
.1
.1
.1
20.20.20.8/30
.9
.10
R5
R4
f1/1
f0/0
f1/0
f1/1
f2/0
R5(config)#interface fastethernet1/0
R5(config-if)#ip address 200.200.0.1 255.255.255.0
R5(config-if)#no shutdown
R5(config-if)#exit
R5(config)#interface fastethernet1/1
R5(config-if)#ip address 200.200.1.1 255.255.255.0
R5(config-if)#no shutdown
R5(config-if)#exit
R5(config)#interface fastethernet2/0
R5(config-if)#ip address 200.200.2.1 255.255.255.0
R5(config-if)#no shutdown
R5(config-if)#exit
R5(config)#interface fastethernet0/0
R5(config-if)#ip address 20.20.20.10 255.255.255.252
R5(config-if)#no shutdown
R5(config-if)#exit
R5(config)#ip route 0.0.0.0 0.0.0.0 20.20.20.9
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
200.200.0.0/24
200.200.1.0/24
200.200.2.0/24
.21
.21
.21
.1
.1
.1.10
.9
R6
R4
f0/0
f1/0
f0/0
f1/1
f2/0
R6(config)#interface fastethernet0/0
R6(config-if)#ip address 200.200.0.1 255.255.255.0
R6(config-if)#no shutdown
R6(config-if)#exit
R6(config)#interface fastethernet1/1
R6(config-if)#ip address 200.200.1.1 255.255.255.0
R6(config-if)#no shutdown
R6(config-if)#exit
R6(config)#interface fastethernet2/0
R6(config-if)#ip address 200.200.2.1 255.255.255.0
R6(config-if)#no shutdown
R6(config-if)#exit
R6(config)#interface fastethernet1/0
R6(config-if)#ip address 20.20.20.10 255.255.255.252
R6(config-if)#no shutdown
R6(config-if)#exit
R6(config)#ip route 0.0.0.0 0.0.0.0 20.20.20.9
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
R3(config)#ip vrf empresa_a
R3(config-vrf)#rd 10:1
R3(config-vrf)#exit
R3(config)#ip vrf empresa_b
R3(config-vrf)#rd 10:2
R3(config-vrf)#exit
R3(config)#interface fastethernet0/0
R3(config-if)#ip vrf forwarding empresa_a
R3(config-if)#ip address 20.20.20.1 255.255.255.252
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface fastethernet1/0
R3(config-if)#ip vrf forwarding empresa_b
R3(config-if)#ip address 20.20.20.1 255.255.255.252
R3(config-if)#no shutdown
R3(config-if)#exit
EMPRESA A
EMPRESA B
20.20.20.4/30
20.20.20.0/30
20.20.20.0/30
20.20.20.8/30
20.20.20.8/30
.2
.2
.1
.1
.5 .6
.9
.10
.10
.9
R1
R2
R5
R6
R3 R4
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
f0/0
f1/0
f1/1 f2/0
f1/1
f0/0
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
R3(config)#ip route vrf empresa_a 210.16.0.0 255.255.255.0 20.20.20.2
R3(config)#ip route vrf empresa_a 210.16.1.0 255.255.255.0 20.20.20.2
R3(config)#ip route vrf empresa_a 210.16.2.0 255.255.255.0 20.20.20.2
R3(config)#ip route vrf empresa_a 200.200.0.0 255.255.255.0 20.20.20.6
R3(config)#ip route vrf empresa_a 200.200.1.0 255.255.255.0 20.20.20.6
R3(config)#ip route vrf empresa_a 200.200.2.0 255.255.255.0 20.20.20.6
R3(config)#
R3(config)#ip route vrf empresa_b 210.16.0.0 255.255.255.0 20.20.20.2
R3(config)#ip route vrf empresa_b 210.16.1.0 255.255.255.0 20.20.20.2
R3(config)#ip route vrf empresa_b 210.16.2.0 255.255.255.0 20.20.20.2
R3(config)#ip route vrf empresa_b 200.200.0.0 255.255.255.0 20.20.20.6
R3(config)#ip route vrf empresa_b 200.200.1.0 255.255.255.0 20.20.20.6
R3(config)#ip route vrf empresa_b 200.200.2.0 255.255.255.0 20.20.20.6
EMPRESA A
EMPRESA B
20.20.20.4/30
20.20.20.0/30
20.20.20.0/30
20.20.20.8/30
20.20.20.8/30
.2
.2
.1
.1
.5 .6
.9
.10
.10
.9
R1
R2
R5
R6
R3 R4
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
f0/0
f1/0
f1/1 f2/0
f1/1
f0/0
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
R3(config)#interface fastethernet1/1
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface fastethernet1/1.1
R3(config-if)#ip vrf forwarding empresa_a
R3(config-if)#encapsulation dot1q 1
R3(config-if)#ip address 20.20.20.5 255.255.255.252
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#
R3(config)#interface fastethernet1/1.2
R3(config-if)#ip vrf forwarding empresa_b
R3(config-if)#encapsulation dot1q 2
R3(config-if)#ip address 20.20.20.5 255.255.255.252
R3(config-if)#no shutdown
R3(config-if)#exit
EMPRESA A
EMPRESA B
20.20.20.4/30
20.20.20.0/30
20.20.20.0/30
20.20.20.8/30
20.20.20.8/30
.2
.2
.1
.1
.5 .6
.9
.10
.10
.9
R1
R2
R5
R6
R3 R4
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
f0/0
f1/0
f1/1 f2/0
f1/1
f0/0
20.20.20.4/30
f1/1 f2/0
.5 .6
Subinterfaz fa1/1.1 Subinterfaz fa2/0.1
Subinterfaz fa1/1.2 Subinterfaz fa2/0.2
R3 R4
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
R4(config)#ip vrf empresa_a
R4(config-vrf)#rd 10:1
R4(config-vrf)#exit
R4(config)#ip vrf empresa_b
R4(config-vrf)#rd 10:2
R4(config-vrf)#exit
R4(config)#interface fastethernet1/1
R4(config-if)#ip vrf forwarding empresa_a
R4(config-if)#ip address 20.20.20.9 255.255.255.252
R4(config-if)#no shutdown
R4(config-if)#exit
R4(config)#interface fastethernet0/0
R4(config-if)#ip vrf forwarding empresa_b
R4(config-if)#ip address 20.20.20.9 255.255.255.252
R4(config-if)#no shutdown
R4(config-if)#exit
EMPRESA A
EMPRESA B
20.20.20.4/30
20.20.20.0/30
20.20.20.0/30
20.20.20.8/30
20.20.20.8/30
.2
.2
.1
.1
.5 .6
.9
.10
.10
.9
R1
R2
R5
R6
R3 R4
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
f0/0
f1/0
f1/1 f2/0
f1/1
f0/0
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
R4(config)#ip route vrf empresa_a 210.16.0.0 255.255.255.0 20.20.20.5
R4(config)#ip route vrf empresa_a 210.16.1.0 255.255.255.0 20.20.20.5
R4(config)#ip route vrf empresa_a 210.16.2.0 255.255.255.0 20.20.20.5
R4(config)#ip route vrf empresa_a 200.200.0.0 255.255.255.0 20.20.20.10
R4(config)#ip route vrf empresa_a 200.200.1.0 255.255.255.0 20.20.20.10
R4(config)#ip route vrf empresa_a 200.200.2.0 255.255.255.0 20.20.20.10
R4(config)#
R4(config)#ip route vrf empresa_b 210.16.0.0 255.255.255.0 20.20.20.5
R4(config)#ip route vrf empresa_b 210.16.1.0 255.255.255.0 20.20.20.5
R4(config)#ip route vrf empresa_b 210.16.2.0 255.255.255.0 20.20.20.5
R4(config)#ip route vrf empresa_b 200.200.0.0 255.255.255.0 20.20.20.10
R4(config)#ip route vrf empresa_b 200.200.1.0 255.255.255.0 20.20.20.10
R4(config)#ip route vrf empresa_b 200.200.2.0 255.255.255.0 20.20.20.10
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
EMPRESA A
EMPRESA B
20.20.20.4/30
20.20.20.0/30
20.20.20.0/30
20.20.20.8/30
20.20.20.8/30
.2
.2
.1
.1
.5 .6
.9
.10
.10
.9
R1
R2
R5
R6
R3 R4
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
f0/0
f1/0
f1/1 f2/0
f1/1
f0/0
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
R4(config)#interface fastethernet2/0
R4(config-if)#no shutdown
R4(config-if)#exit
R4(config)#interface fastethernet2/0.1
R4(config-if)#ip vrf forwarding empresa_a
R4(config-if)#encapsulation dot1Q 1
R4(config-if)#ip address 20.20.20.6 255.255.255.252
R4(config-if)#no shutdown
R4(config-if)#exit
R4(config)#
R4(config)#interface fastethernet2/0.2
R4(config-if)#ip vrf forwarding empresa_b
R4(config-if)#encapsulation dot1Q 2
R4(config-if)#ip address 20.20.20.6 255.255.255.252
R4(config-if)#no shutdown
R4(config-if)#exit
EMPRESA A
EMPRESA B
20.20.20.4/30
20.20.20.0/30
20.20.20.0/30
20.20.20.8/30
20.20.20.8/30
.2
.2
.1
.1
.5 .6
.9
.10
.10
.9
R1
R2
R5
R6
R3 R4
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
Tabla VRF
EMPR_A
Tabla VRF
EMPR_B
f0/0
f1/0
f1/1 f2/0
f1/1
f0/0
20.20.20.4/30
f1/1 f2/0
.5 .6
Subinterfaz fa1/1.1 Subinterfaz fa2/0.1
Subinterfaz fa1/1.2 Subinterfaz fa2/0.2
R3 R4
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
R2#show ip route
20.0.0.0/30 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, FastEthernet1/0
C 210.16.2.0/24 is directly connected, FastEthernet2/0
C 210.16.1.0/24 is directly connected, FastEthernet1/1
C 210.16.0.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 20.20.20.1
R2#
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
R1#show ip route
20.0.0.0/30 is subnetted, 1 subnets
C 20.20.20.0 is directly connected, FastEthernet0/0
C 210.16.2.0/24 is directly connected, FastEthernet1/1
C 210.16.1.0/24 is directly connected, FastEthernet1/0
C 210.16.0.0/24 is directly connected, FastEthernet2/0
S* 0.0.0.0/0 [1/0] via 20.20.20.1
R1#
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
R3#show ip route vrf empresa_b
Routing Table: empresa_b
S 200.200.0.0/24 [1/0] via 20.20.20.6
20.0.0.0/30 is subnetted, 2 subnets
C 20.20.20.4 is directly connected, FastEthernet1/1.2
C 20.20.20.0 is directly connected, FastEthernet1/0
S 200.200.1.0/24 [1/0] via 20.20.20.6
S 200.200.2.0/24 [1/0] via 20.20.20.6
S 210.16.2.0/24 [1/0] via 20.20.20.2
S 210.16.1.0/24 [1/0] via 20.20.20.2
S 210.16.0.0/24 [1/0] via 20.20.20.2
R3#
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
R3#show ip route vrf empresa_a
Routing Table: empresa_a
S 200.200.0.0/24 [1/0] via 20.20.20.6
20.0.0.0/30 is subnetted, 2 subnets
C 20.20.20.4 is directly connected, FastEthernet1/1.1
C 20.20.20.0 is directly connected, FastEthernet0/0
S 200.200.1.0/24 [1/0] via 20.20.20.6
S 200.200.2.0/24 [1/0] via 20.20.20.6
S 210.16.2.0/24 [1/0] via 20.20.20.2
S 210.16.1.0/24 [1/0] via 20.20.20.2
S 210.16.0.0/24 [1/0] via 20.20.20.2
R3#
R3#show ip route
R3#
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
R4#show ip route vrf empresa_b
Routing Table: empresa_b
S 200.200.0.0/24 [1/0] via 20.20.20.10
20.0.0.0/30 is subnetted, 2 subnets
C 20.20.20.4 is directly connected, FastEthernet2/0.2
C 20.20.20.8 is directly connected, FastEthernet0/0
S 200.200.1.0/24 [1/0] via 20.20.20.10
S 200.200.2.0/24 [1/0] via 20.20.20.10
S 210.16.2.0/24 [1/0] via 20.20.20.5
S 210.16.1.0/24 [1/0] via 20.20.20.5
S 210.16.0.0/24 [1/0] via 20.20.20.5
R4#
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
R4#show ip route vrf empresa_a
Routing Table: empresa_a
S 200.200.0.0/24 [1/0] via 20.20.20.10
20.0.0.0/30 is subnetted, 2 subnets
C 20.20.20.4 is directly connected, FastEthernet2/0.1
C 20.20.20.8 is directly connected, FastEthernet1/1
S 200.200.1.0/24 [1/0] via 20.20.20.10
S 200.200.2.0/24 [1/0] via 20.20.20.10
S 210.16.2.0/24 [1/0] via 20.20.20.5
S 210.16.1.0/24 [1/0] via 20.20.20.5
S 210.16.0.0/24 [1/0] via 20.20.20.5
R4#
R4#show ip route
R4#
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
R6show ip route
C 200.200.0.0/24 is directly connected, FastEthernet0/0
20.0.0.0/30 is subnetted, 1 subnets
C 20.20.20.8 is directly connected, FastEthernet1/0
C 200.200.1.0/24 is directly connected, FastEthernet1/1
C 200.200.2.0/24 is directly connected, FastEthernet2/0
S* 0.0.0.0/0 [1/0] via 20.20.20.9
R6#
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
R5#show ip route
C 200.200.0.0/24 is directly connected, FastEthernet1/0
20.0.0.0/30 is subnetted, 1 subnets
C 20.20.20.8 is directly connected, FastEthernet0/0
C 200.200.1.0/24 is directly connected, FastEthernet1/1
C 200.200.2.0/24 is directly connected, FastEthernet2/0
S* 0.0.0.0/0 [1/0] via 20.20.20.9
R5#
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
PC-1> ping 200.200.0.20
84 bytes from 200.200.0.20 icmp_seq=1 ttl=60 time=131.544 ms
84 bytes from 200.200.0.20 icmp_seq=2 ttl=60 time=137.132 ms
84 bytes from 200.200.0.20 icmp_seq=3 ttl=60 time=131.475 ms
84 bytes from 200.200.0.20 icmp_seq=4 ttl=60 time=137.491 ms
84 bytes from 200.200.0.20 icmp_seq=5 ttl=60 time=131.436 ms
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO
PC-11> ping 210.16.2.2
84 bytes from 210.16.2.2 icmp_seq=1 ttl=60 time=131.378 ms
84 bytes from 210.16.2.2 icmp_seq=2 ttl=60 time=131.976 ms
84 bytes from 210.16.2.2 icmp_seq=3 ttl=60 time=131.537 ms
84 bytes from 210.16.2.2 icmp_seq=4 ttl=60 time=131.100 ms
84 bytes from 210.16.2.2 icmp_seq=5 ttl=60 time=137.849 ms
PC-11>
No hay captura
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
… … … …
200.10.1.0/24 200.20.1.0/24 200.10.2.0/24200.20.2.0/24
192.168.55.0/30 10.20.30.0/30
Acceso de
Internet
invitados
Acceso de
Internet
coorporativa
Usuarios
invitados
Usuarios
invitados
Usuarios
coorporativos
Usuarios
coorporativos
Ra Rb
R1
R2 R3
Rc Rd
.1 .2 .2 .1
OSPFv2
f0/0 f1/0
f1/1
f0/0
f1/0f1/1
f0/0
f0/0
f2/0
f0/0
f1/0
f1/1
f0/0
f0/0
f1/0 f1/1 f1/0 f1/1
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
… … … …
200.10.1.0/24 200.20.1.0/24 200.10.2.0/24200.20.2.0/24
192.168.55.0/30 10.20.30.0/30
Acceso de
Internet
invitados
Acceso de
Internet
coorporativa
Usuarios
invitados
Usuarios
invitados
Usuarios
coorporativos
Usuarios
coorporativos
Ra Rb
R1
R2 R3
Rc Rd
.1 .2 .2 .1
192.16.55.4/30
10.20.30.4/30
10.20.30.8/30192.168.55.8/30
192.168.55.12/30
10.20.30.12/30
192.168.55.16/30
10.20.30.16/30
192.168.55.20/30
10.20.30.20/30
.5 .9
.6 .10
.18 .21
.17 .22.18
.17
.21
.22
.5 .9
.6 .10
.13 .14
.13 .14
f0/0 f1/0
f1/1.10
f0/0.10 f1/0.20
f1/1.10
f0/0.10
f0/0
f2/0.20
f0/0.20
f1/0.10
f1/1.10
f0/0.10
f0/0
f1/0 f1/1
f1/0 f1/1
f1/1.20
f2/0.10
f1/0.10 f0/0.10
f1/0.20
f0/0.20
f1/1.20
f0/0.20
f1/1.20
f0/0.20
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
… … … …
200.10.1.0/24 200.20.1.0/24 200.10.2.0/24200.20.2.0/24
192.168.55.0/30 10.20.30.0/30
Acceso de
Internet
invitados
Acceso de
Internet
coorporativa
Usuarios
invitados
Usuarios
invitados
Usuarios
coorporativos
Usuarios
coorporativos
Ra Rb
R1
R2 R3
Rc Rd
.1 .2 .2 .1
OSPFv2
192.16.55.4/30
10.20.30.4/30
10.20.30.8/30192.168.55.8/30
192.168.55.12/30
10.20.30.12/30
192.168.55.16/30
10.20.30.16/30
192.168.55.20/30
10.20.30.20/30
costo
7
costo
1
costo 2costo 2 costo 2costo
1
costo 2
costo
4
costo 2 costo 2
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R1(config)#interface fastethernet1/0
R1(config-if)#ip vrf forwarding invitados
R1(config-if)# ip address 192.168.55.2 255.255.255.252
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastethernet0/0
R1(config-if)#ip vrf forwarding coorporativos
R1(config-if)# ip address 10.20.30.2 255.255.255.252
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastethernet1/1
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastethernet1/1.10
R1(config-subif)#ip vrf forwarding invitados
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 192.168.55.5 255.255.255.252
R1(config-subif)#no shutdown
R1(config-subif)#ip ospf cost 7
R1(config-subif)#exit
R1(config)#
R1(config)#ip vrf invitados
R1(config-vrf)#rd 10:10
R1(config-vrf)#exit
R1(config)#ip vrf coorporativos
R1(config-vrf)#rd 10:20
R1(config-vrf)#exit
192.168.55.0/30 10.20.30.0/30R1
192.16.55.4/30
10.20.30.4/30
10.20.30.8/30192.168.55.8/30
costo
7
costo
1
costo
1
costo
4
f1/0
f1/1.10
f0/0
f2/0.10
.2 .2
.5 .9
.5 .9
f2/0.20
f1/1.20
Ra Rb
.1 .1
f0/0 f0/0
f1/1
f2/0
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R1(config)#interface fastethernet1/1.20
R1(config-subif)#ip vrf forwarding coorporativos
R1(config-subif)#encapsulation dot1Q 20
R1(config-subif)#ip address 10.20.30.5 255.255.255.252
R1(config-subif)#no shutdown
R1(config-subif)#ip ospf cost 1
R1(config-subif)#exit
R1(config)#
R1(config)#interface fastethernet2/0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastethernet2/0.10
R1(config-subif)#ip vrf forwarding invitados
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 192.168.55.9 255.255.255.252
R1(config-subif)#no shutdown
R1(config-subif)#ip ospf cost 1
R1(config-subif)#exit
R1(config)#
R1(config)#ip vrf invitados
R1(config-vrf)#rd 10:10
R1(config-vrf)#exit
R1(config)#ip vrf coorporativos
R1(config-vrf)#rd 10:20
R1(config-vrf)#exit
192.168.55.0/30 10.20.30.0/30R1
192.16.55.4/30
10.20.30.4/30
10.20.30.8/30192.168.55.8/30
costo
7
costo
1
costo
1
costo
4
f1/0
f1/1.10
f0/0
f2/0.10
.2 .2
.5 .9
.5 .9
f2/0.20
f1/1.20
Ra Rb
.1 .1
f0/0 f0/0
f1/1
f2/0
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R1(config)#interface fastethernet2/0.20
R1(config-subif)#ip vrf forwarding coorporativos
R1(config-subif)#encapsulation dot1Q 20
R1(config-subif)#ip address 10.20.30.9 255.255.255.252
R1(config-subif)#no shutdown
R1(config-subif)#ip ospf cost 4
R1(config-subif)#exit
R1(config)#
R1(config)#ip vrf invitados
R1(config-vrf)#rd 10:10
R1(config-vrf)#exit
R1(config)#ip vrf coorporativos
R1(config-vrf)#rd 10:20
R1(config-vrf)#exit
192.168.55.0/30 10.20.30.0/30R1
192.16.55.4/30
10.20.30.4/30
10.20.30.8/30192.168.55.8/30
costo
7
costo
1
costo
1
costo
4
f1/0
f1/1.10
f0/0
f2/0.10
.2 .2
.5 .9
.5 .9
f2/0.20
f1/1.20
Ra Rb
.1 .1
f0/0 f0/0
f1/1
f2/0
R1(config)#ip route vrf invitados 0.0.0.0 0.0.0.0 192.168.55.1
R1(config)#ip route vrf coorporativos 0.0.0.0 0.0.0.0 10.20.30.1
R1(config)#router ospf 10 vrf invitados
R1(config-router)#redistribute static metric 15 subnets
R1(config-router)#default-information originate
R1(config-router)#network 192.168.55.0 0.0.0.3 area 0
R1(config-router)#network 192.168.55.4 0.0.0.3 area 0
R1(config-router)#network 192.168.55.8 0.0.0.3 area 0
R1(config-router)#exit
R1(config)#
Propaga la
ruta estática
por defecto
en mensajes
OSPF
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R1(config)#ip vrf invitados
R1(config-vrf)#rd 10:10
R1(config-vrf)#exit
R1(config)#ip vrf coorporativos
R1(config-vrf)#rd 10:20
R1(config-vrf)#exit
192.168.55.0/30 10.20.30.0/30R1
192.16.55.4/30
10.20.30.4/30
10.20.30.8/30192.168.55.8/30
costo
7
costo
1
costo
1
costo
4
f1/0
f1/1.10
f0/0
f2/0.10
.2 .2
.5 .9
.5 .9
f2/0.20
f1/1.20
Ra Rb
.1 .1
f0/0 f0/0
f1/1
f2/0
R1(config)#router ospf 20 vrf coorporativos
R1(config-router)#redistribute static metric 15 subnets
R1(config-router)#default-information originate
R1(config-router)#network 10.20.30.0 0.0.0.3 area 0
R1(config-router)#network 10.20.30.4 0.0.0.3 area 0
R1(config-router)#network 10.20.30.8 0.0.0.3 area 0
R1(config-router)#exit
R1(config)#
Propaga la
ruta estática
por defecto
en mensajes
OSPF
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R2(config)#ip vrf invitados
R2(config-vrf)#rd 10:10
R2(config-vrf)#exit
R2(config)#ip vrf coorporativos
R2(config-vrf)#rd 10:20
R2(config-vrf)#exit
R2(config)#interface fastethernet1/1
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastethernet1/0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastethernet1/1.10
R2(config-subif)#ip vrf forwarding invitados
R2(config-subif)#encapsulation dot1Q 10
R2(config-subif)#ip address 192.168.55.18 255.255.255.252
R2(config-subif)#no shutdown
R2(config-subif)#ip ospf cost 2
R2(config-subif)#exit
R2(config)#interface fastethernet1/0.10
R2(config-subif)#ip vrf forwarding invitados
R2(config-subif)#encapsulation dot1Q 10
R2(config-subif)#ip address 192.168.55.13 255.255.255.252
R2(config-subif)#no shutdown
R2(config-subif)#ip ospf cost 2
R2(config-subif)#exit
R2
Rc
192.16.55.4/30
10.20.30.4/30
192.168.55.12/30
10.20.30.12/30
192.168.55.16/30
10.20.30.16/30
.6
.18
.17 .18
.17
.6
.13 .14
.13 .14
f1/1.10
f0/0.10
f1/0.20
f1/1.10
f0/0.10
f1/1.20
f1/0.10
f0/0.20
f1/1.20
f0/0.20
f0/0
f1/0
f1/1
costo
7
costo 2
costo 2
costo
1
costo 2
costo 2
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R2(config)#interface fastethernet0/0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastethernet0/0.10
R2(config-subif)#ip vrf forwarding invitados
R2(config-subif)#encapsulation dot1Q 10
R2(config-subif)#ip address 192.168.55.6 255.255.255.252
R2(config-subif)#no shutdown
R2(config-subif)#ip ospf cost 7
R2(config-subif)#exit
R2(config)#
R2(config)#interface fastethernet1/1.20
R2(config-subif)#ip vrf forwarding coorporativos
R2(config-subif)#encapsulation dot1Q 20
R2(config-subif)#ip address 10.20.30.18 255.255.255.252
R2(config-subif)#no shutdown
R2(config-subif)#ip ospf cost 2
R2(config-subif)#exit
R2(config)#ip vrf invitados
R2(config-vrf)#rd 10:10
R2(config-vrf)#exit
R2(config)#ip vrf coorporativos
R2(config-vrf)#rd 10:20
R2(config-vrf)#exit
R2
Rc
192.16.55.4/30
10.20.30.4/30
192.168.55.12/30
10.20.30.12/30
192.168.55.16/30
10.20.30.16/30
.6
.18
.17 .18
.17
.6
.13 .14
.13 .14
f1/1.10
f0/0.10
f1/0.20
f1/1.10
f0/0.10
f1/1.20
f1/0.10
f0/0.20
f1/1.20
f0/0.20
f0/0
f1/0
f1/1
costo
7
costo 2
costo 2
costo
1
costo 2
costo 2
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R2(config)#interface fastethernet1/0.20
R2(config-subif)#ip vrf forwarding coorporativos
R2(config-subif)#encapsulation dot1Q 20
R2(config-subif)#ip address 10.20.30.13 255.255.255.252
R2(config-subif)#no shutdown
R2(config-subif)#ip ospf cost 2
R2(config-subif)#exit
R2(config)#interface fastethernet0/0.20
R2(config-subif)#ip vrf forwarding coorporativos
R2(config-subif)#encapsulation dot1Q 20
R2(config-subif)#ip address 10.20.30.6 255.255.255.252
R2(config-subif)#no shutdown
R2(config-subif)#ip ospf cost 1
R2(config-subif)#exit
R2(config)#ip vrf invitados
R2(config-vrf)#rd 10:10
R2(config-vrf)#exit
R2(config)#ip vrf coorporativos
R2(config-vrf)#rd 10:20
R2(config-vrf)#exit
R2
Rc
192.16.55.4/30
10.20.30.4/30
192.168.55.12/30
10.20.30.12/30
192.168.55.16/30
10.20.30.16/30
.6
.18
.17 .18
.17
.6
.13 .14
.13 .14
f1/1.10
f0/0.10
f1/0.20
f1/1.10
f0/0.10
f1/1.20
f1/0.10
f0/0.20
f1/1.20
f0/0.20
f0/0
f1/0
f1/1
costo
7
costo 2
costo 2
costo
1
costo 2
costo 2
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R2(config)#ip vrf invitados
R2(config-vrf)#rd 10:10
R2(config-vrf)#exit
R2(config)#ip vrf coorporativos
R2(config-vrf)#rd 10:20
R2(config-vrf)#exit
R2
Rc
192.16.55.4/30
10.20.30.4/30
192.168.55.12/30
10.20.30.12/30
192.168.55.16/30
10.20.30.16/30
.6
.18
.17 .18
.17
.6
.13 .14
.13 .14
f1/1.10
f0/0.10
f1/0.20
f1/1.10
f0/0.10
f1/1.20
f1/0.10
f0/0.20
f1/1.20
f0/0.20
f0/0
f1/0
f1/1
costo
7
costo 2
costo 2
costo
1
costo 2
costo 2
R2(config)#ip route vrf invitados 200.10.1.0 255.255.255.0
192.168.55.17
R2(config)#ip route vrf coorporativos 200.20.1.0 255.255.255.0
10.20.30.17
R2(config)#router ospf 10 vrf invitados
R2(config-rt)#redistribute static metric 15 subnets
R2(config-rt)#network 192.168.55.4 0.0.0.3 area 0
R2(config-rt)#network 192.168.55.12 0.0.0.3 area 0
R2(config-rt)#network 192.168.55.16 0.0.0.3 area 0
R2(config-rt)#exit
R2(config)#
R2(config)#router ospf 20 vrf coorporativos
R2(config-rt)#redistribute static metric 15 subnets
R2(config-router)#network 10.20.30.4 0.0.0.3 area 0
R2(config-router)#network 10.20.30.12 0.0.0.3 area 0
R2(config-router)#network 10.20.30.16 0.0.0.3 area 0
R2(config-router)#exit
R2(config)#
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R3
10.20.30.8/30192.168.55.8/30
192.168.55.12/30
10.20.30.12/30
192.168.55.20/30
10.20.30.20/30
.9
.10
.21
.21
.10
.14
.14
f2/0.20
f0/0.20
f1/0.10 f1/1.10
f2/0.10
f0/0.10
f1/0.20
f1/1.20
costo
1
costo 2
costo 2
costo 2
costo
4
costo 2
R3(config)#ip vrf invitados
R3(config-vrf)#rd 10:10
R3(config-vrf)#exit
R3(config)#ip vrf coorporativos
R3(config-vrf)#rd 10:20
R3(config-vrf)#exit
R3(config)#interface fastethernet1/0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface fastethernet0/0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface fastethernet1/0.10
R3(config-subif)#ip vrf forwarding invitados
R3(config-subif)#encapsulation dot1Q 10
R3(config-subif)#ip address 192.168.55.10 255.255.255.252
R3(config-subif)#no shutdown
R3(config-subif)#ip ospf cost 1
R3(config-subif)#exit
R3(config)#interface fastethernet0/0.10
R3(config-subif)#ip vrf forwarding invitados
R3(config-subif)#encapsulation dot1Q 10
R3(config-subif)#ip address 192.168.55.14 255.255.255.252
R3(config-subif)#no shutdown
R3(config-subif)#ip ospf cost 2
R3(config-subif)#exit
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R3
10.20.30.8/30192.168.55.8/30
192.168.55.12/30
10.20.30.12/30
192.168.55.20/30
10.20.30.20/30
.9
.10
.21
.21
.10
.14
.14
f2/0.20
f0/0.20
f1/0.10 f1/1.10
f2/0.10
f0/0.10
f1/0.20
f1/1.20
costo
1
costo 2
costo 2
costo 2
costo
4
costo 2
R3(config)#ip vrf invitados
R3(config-vrf)#rd 10:10
R3(config-vrf)#exit
R3(config)#ip vrf coorporativos
R3(config-vrf)#rd 10:20
R3(config-vrf)#exit
R3(config)#interface fastethernet1/1
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface fastethernet1/1.10
R3(config-subif)#ip vrf forwarding invitados
R3(config-subif)#encapsulation dot1Q 10
R3(config-subif)#ip address 192.168.55.21 255.255.255.252
R3(config-subif)#no shutdown
R3(config-subif)#ip ospf cost 2
R3(config-subif)#exit
R3(config)#
R3(config)#interface fastethernet1/0.20
R3(config-subif)#ip vrf forwarding coorporativos
R3(config-subif)#encapsulation dot1Q 20
R3(config-subif)#ip address 10.20.30.10 255.255.255.252
R3(config-subif)#no shutdown
R3(config-subif)#ip ospf cost 4
R3(config-subif)#exit
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R3(config)#interface fastethernet0/0.20
R3(config-subif)#ip vrf forwarding coorporativos
R3(config-subif)#encapsulation dot1Q 20
R3(config-subif)#ip address 10.20.30.14 255.255.255.252
R3(config-subif)#no shutdown
R3(config-subif)#ip ospf cost 2
R3(config-subif)#exit
R3(config)#interface fastethernet1/1.20
R3(config-subif)#ip vrf forwarding coorporativos
R3(config-subif)#encapsulation dot1Q 20
R3(config-subif)#ip address 10.20.30.21 255.255.255.252
R3(config-subif)#no shutdown
R3(config-subif)#ip ospf cost 2
R3(config-subif)#exit
R3
10.20.30.8/30192.168.55.8/30
192.168.55.12/30
10.20.30.12/30
192.168.55.20/30
10.20.30.20/30
.9
.10
.21
.21
.10
.14
.14
f2/0.20
f0/0.20
f1/0.10 f1/1.10
f2/0.10
f0/0.10
f1/0.20
f1/1.20
costo
1
costo 2
costo 2
costo 2
costo
4
costo 2
R3(config)#ip vrf invitados
R3(config-vrf)#rd 10:10
R3(config-vrf)#exit
R3(config)#ip vrf coorporativos
R3(config-vrf)#rd 10:20
R3(config-vrf)#exit
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R3(config)#ip route vrf invitados 200.10.2.0 255.255.255.0
192.168.55.22
R3(config)#ip route vrf coorporativos 200.20.2.0 255.255.255.0
10.20.30.22
R3
10.20.30.8/30192.168.55.8/30
192.168.55.12/30
10.20.30.12/30
192.168.55.20/30
10.20.30.20/30
.9
.10
.21
.21
.10
.14
.14
f2/0.20
f0/0.20
f1/0.10 f1/1.10
f2/0.10
f0/0.10
f1/0.20
f1/1.20
costo
1
costo 2
costo 2
costo 2
costo
4
costo 2
R3(config)#ip vrf invitados
R3(config-vrf)#rd 10:10
R3(config-vrf)#exit
R3(config)#ip vrf coorporativos
R3(config-vrf)#rd 10:20
R3(config-vrf)#exit
R3(config)#router ospf 10 vrf invitados
R3(config-router)#redistribute static metric 15 subnets
R3(config-router)#network 192.168.55.8 0.0.0.3 area 0
R3(config-router)#network 192.168.55.12 0.0.0.3 area 0
R3(config-router)#network 192.168.55.20 0.0.0.3 area 0
R3(config-router)#exit
R3(config)#
R3(config)#router ospf 20 vrf coorporativos
R3(config-router)#redistribute static metric 15 subnets
R3(config-router)#network 10.20.30.8 0.0.0.3 area 0
R3(config-router)#network 10.20.30.12 0.0.0.3 area 0
R3(config-router)#network 10.20.30.20 0.0.0.3 area 0
R3(config-router)#exit
R3(config)#
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
Rc(config)#interface fastethernet1/0
Rc(config-if)#ip vrf forwarding invitados
Rc(config-if)#ip address 200.10.1.1 255.255.255.0
Rc(config-if)#no shutdown
Rc(config-if)#exit
Rc(config)#
Rc(config)#interface fastethernet1/1
Rc(config-if)#ip vrf forwarding coorporativos
Rc(config-if)#ip address 200.20.1.1 255.255.255.0
Rc(config-if)#no shutdown
Rc(config-if)#exit
Rc(config)#
… …
200.10.1.0/24 200.20.1.0/24
Usuarios
invitados
Usuarios
coorporativos
Rc
192.168.55.16/30
10.20.30.16/30
.18
.17 .18
.17
f1/1.10
f0/0.10
f1/0 f1/1
f1/1.20
f0/0.20
Rc(config)#ip vrf invitados
Rc(config-vrf)#rd 10:10
Rc(config-vrf)#exit
Rc(config)#ip vrf coorporativos
Rc(config-vrf)#rd 10:20
Rc(config-vrf)#exit
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
Rc(config)#interface fastethernet0/0
Rc(config-if)#no shutdown
Rc(config-if)#exit
Rc(config)#interface fastethernet0/0.10
Rc(config-subif)#ip vrf forwarding invitados
Rc(config-subif)#encapsulation dot1Q 10
Rc(config-subif)#ip address 192.168.55.17 255.255.255.252
Rc(config-subif)#no shutdown
Rc(config-subif)#exit
Rc(config)#
Rc(config)#interface fastethernet0/0.20
Rc(config-subif)#ip vrf forwarding coorporativos
Rc(config-subif)#encapsulation dot1Q 20
Rc(config-subif)#ip address 10.20.30.17 255.255.255.252
Rc(config-subif)#no shutdown
Rc(config-subif)#exit
Rc(config)#
… …
200.10.1.0/24 200.20.1.0/24
Usuarios
invitados
Usuarios
coorporativos
Rc
192.168.55.16/30
10.20.30.16/30
.18
.17 .18
.17
f1/1.10
f0/0.10
f1/0 f1/1
f1/1.20
f0/0.20
Rc(config)#ip vrf invitados
Rc(config-vrf)#rd 10:10
Rc(config-vrf)#exit
Rc(config)#ip vrf coorporativos
Rc(config-vrf)#rd 10:20
Rc(config-vrf)#exit
Rc(config)#ip route vrf invitados 0.0.0.0 0.0.0.0 192.168.55.18
Rc(config)#ip route vrf coorporativos 0.0.0.0 0.0.0.0 10.20.30.18
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
Rd(config)#interface fastethernet1/1
Rd(config-if)#ip vrf forwarding invitados
Rd(config-if)#ip address 200.10.2.1 255.255.255.0
Rd(config-if)#no shutdown
Rd(config-if)#exit
Rd(config)#
Rd(config)#interface fastethernet1/0
Rd(config-if)#ip vrf forwarding coorporativos
Rd(config-if)#ip address 200.20.2.1 255.255.255.0
Rd(config-if)#no shutdown
Rd(config-if)#exit
Rd(config)#
Rd(config)#ip vrf invitados
Rd(config-vrf)#rd 10:10
Rd(config-vrf)#exit
Rd(config)#ip vrf coorporativos
Rd(config-vrf)#rd 10:20
Rd(config-vrf)#exit
… …
200.10.2.0/24200.20.2.0/24
Usuarios
invitados
Usuarios
coorporativos
R3
Rd
192.168.55.20/30
10.20.30.20/30
.21
.22.21
.22
f1/1.10
f0/0.10
f1/0 f1/1
f1/1.20
f0/0.20
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
Rd(config)#ip vrf invitados
Rd(config-vrf)#rd 10:10
Rd(config-vrf)#exit
Rd(config)#ip vrf coorporativos
Rd(config-vrf)#rd 10:20
Rd(config-vrf)#exit
… …
200.10.2.0/24200.20.2.0/24
Usuarios
invitados
Usuarios
coorporativos
R3
Rd
192.168.55.20/30
10.20.30.20/30
.21
.22.21
.22
f1/1.10
f0/0.10
f1/0 f1/1
f1/1.20
f0/0.20
Rd(config)#interface fastethernet0/0
Rd(config-if)#no shutdown
Rd(config-if)#exit
Rd(config)#interface fastethernet0/0.10
Rd(config-subif)#ip vrf forwarding invitados
Rd(config-subif)#encapsulation dot1Q 10
Rd(config-subif)#ip address 192.168.55.22 255.255.255.252
Rd(config-subif)#no shutdown
Rd(config-subif)#exit
Rd(config)#
Rd(config)#interface fastethernet0/0.20
Rd(config-subif)#ip vrf forwarding coorporativos
Rd(config-subif)#encapsulation dot1Q 20
Rd(config-subif)#ip address 10.20.30.22 255.255.255.252
Rd(config-subif)#no shutdown
Rd(config-isubf)#exit
Rd(config)#
Rd(config)#ip route vrf invitados 0.0.0.0 0.0.0.0 192.168.55.21
Rd(config)#ip route vrf coorporativos 0.0.0.0 0.0.0.0 10.20.30.21
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
… … … …
200.10.1.0/24 200.20.1.0/24 200.10.2.0/24200.20.2.0/24
192.168.55.0/30 10.20.30.0/30
Acceso de
Internet
invitados
Acceso de
Internet
coorporativa
Usuarios
invitados
Usuarios
invitados
Usuarios
coorporativos
Usuarios
coorporativos
Ra Rb
R1
R2 R3
Rc Rd
.1 .2 .2 .1
OSPFv2
192.16.55.4/30
10.20.30.4/30
10.20.30.8/30192.168.55.8/30
192.168.55.12/30
10.20.30.12/30
192.168.55.16/30
10.20.30.16/30
192.168.55.20/30
10.20.30.20/30
costo
7
costo
1
costo 2costo 2 costo 2costo
1
costo 2
costo
4
costo 2 costo 2
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R3#show ip route vrf invitados
Routing Table: invitados
O E2 200.10.1.0/24 [110/15] via 192.168.55.13, 00:48:22, FastEthernet0/0.10
S 200.10.2.0/24 [1/0] via 192.168.55.22
192.168.55.0/30 is subnetted, 6 subnets
C 192.168.55.20 is directly connected, FastEthernet1/1.10
O 192.168.55.16 [110/4] via 192.168.55.13, 00:48:22, FastEthernet0/0.10
C 192.168.55.12 is directly connected, FastEthernet0/0.10
C 192.168.55.8 is directly connected, FastEthernet1/0.10
O 192.168.55.4 [110/8] via 192.168.55.9, 00:48:22, FastEthernet1/0.10
O 192.168.55.0 [110/2] via 192.168.55.9, 00:48:22, FastEthernet1/0.10
O*E2 0.0.0.0/0 [110/1] via 192.168.55.9, 00:48:22, FastEthernet1/0.10
R3#
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
R3#show ip route vrf coorporativos
Routing Table: coorporativos
O E2 200.20.1.0/24 [110/15] via 10.20.30.13, 00:12:45, FastEthernet0/0.20
S 200.20.2.0/24 [1/0] via 10.20.30.22
10.0.0.0/30 is subnetted, 6 subnets
O 10.20.30.0 [110/4] via 10.20.30.13, 00:12:45, FastEthernet0/0.20
O 10.20.30.4 [110/3] via 10.20.30.13, 00:12:45, FastEthernet0/0.20
C 10.20.30.8 is directly connected, FastEthernet1/0.20
C 10.20.30.12 is directly connected, FastEthernet0/0.20
O 10.20.30.16 [110/4] via 10.20.30.13, 00:12:45, FastEthernet0/0.20
C 10.20.30.20 is directly connected, FastEthernet1/1.20
O*E2 0.0.0.0/0 [110/1] via 10.20.30.13, 00:12:45, FastEthernet0/0.20
R3#
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
https://www.fryguy.net/2011/09/09/basic-mpls-with-vrf-rd-
and-bgp-vpnv4/
Basic MPLS with VRF, RD, and BGP VPNv4
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
CASO DE ESTUDIO:
Configuración en
router CISCO con LDP
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
RED MPLS DE ANÁLISIS
P1
PE2
211.1.1.0/24
.1
.1
.1
....
.... ....
.1
....
Rb
Rc
LAN UNI LAN UNMSM
LAN UPAO LAN INICTEL-UNI
P3
212.2.2.0/24
213.3.3.0/24
214.4.4.0/24
Rd
Ra
.1
PE1
P2 P4
70.7.7.4/30
70.7.7.24/30
70.7.7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30
70.7.7.20/30
70.7.7.28/30
.1
.2
.5 .6
.25 .26
.17
.18
.21
.22
.13
.14
.29
.30
.9
.10
C
osto
1
C
osto
4
C
osto
4
C
osto
1
Costo2
Costo 1
Costo 8
Costo3
80.8.8.0/30
80.8.8.4/30
80.8.8.8/30
80.8.8.12/30
.1
.2
.5
.6
.9
.10
.13
.14
Costo 1
Costo 1
Costo
1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa0/1
Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Cisco Express Forwarding (CEF)
CEF es una solución propietaria de CISCO IOS que
tiene como objetivo ofrecer una conmutación más
rápida.
►Cuando los routers y switches capa 3 tienen habilitados CEF,
CEF crea su propia tabla a partir de la tabla de enrutamiento
Red de destino Máscara de la red de destino Salto siguienteRed de destino Máscara de la red de destino Salto siguiente
210.10.10.0 255.255.255.0 1 5.5.5.1
220.20.20.0 255.255.255.0 1 5.5.5.5
CEF creaCEF crea
Forwarding
Information Base
(FIB)
Modo de conmutación de CISCOEnrutamiento basado en el destino
http://www.cisco.com/en/US/docs/ios/12_2/switch/configuration/guide/xcfcef.html
Usando CEF la tabla de rutas en cada router se asigna
interfaces de salida para cada paquete sin tener que
consultar la tabla de rutas tradicional, de forma que
se ahorra tiempo.
►Es la tabla de rutas del router con soporte hardware.
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Cisco Express Forwarding (CEF)
CEF se encuentra habilitado por defecto en los
recientes IOS: Routers de la serie 7xxxx, etc
►Verifique si su IOS está habilitado con show running-config
Router#configure terminal
Router(config)#ip cef
►Habilite con:
show ip cef
show ip cef detail
show ip cef summary
http://www.cisco.com/en/US/docs/ios/12_2/switch/configuration/guide/xcfcef.html
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
http://www.juniper.net/documentation/software/junos/junos85/swconfig85-vpns/frameset.html
VPN IP y VPLS
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
RED MPLS DE ANÁLISIS
P1
PE2
211.1.1.0/24
.1
.1
.1
....
.... ....
.1
....
Rb
Rc
LAN UNI
LAN UNMSM
LAN UPAO LAN INICTEL-UNI
P3
212.2.2.0/24
213.3.3.0/24
214.4.4.0/24
Rd
Ra
.1
PE1
P2 P4
70.7.7.4/30
70.7.7.24/30
70.7.7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30
70.7.7.20/30
70.7.7.28/30
.1
.2
.5 .6
.25 .26
.17
.18
.21
.22
.13
.14
.29
.30
.9
.10
C
osto
1
C
osto
4
C
osto
4
C
osto
1
Costo2
Costo 1
Costo 8
Costo3
80.8.8.0/30
80.8.8.4/30
80.8.8.8/30
80.8.8.12/30
.1
.2
.5
.6
.9
.10
.13
.14
Costo 1
Costo 1
Costo
1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa0/1
Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
P1#show ip cef fastEthernet 0/1
Prefix Next Hop Interface
70.7.7.4/30 attached FastEthernet0/1
70.7.7.6/32 70.7.7.6 FastEthernet0/1
P1#show ip cef fastEthernet 0/0
Prefix Next Hop Interface
70.7.7.0/30 attached FastEthernet0/0
70.7.7.1/32 70.7.7.1 FastEthernet0/0
70.7.7.12/30 70.7.7.1 FastEthernet0/0
80.8.8.0/30 70.7.7.1 FastEthernet0/0
80.8.8.4/30 70.7.7.1 FastEthernet0/0
211.1.1.0/24 70.7.7.1 FastEthernet0/0
212.2.2.0/24 70.7.7.1 FastEthernet0/0
P1#
P1#show ip cef fastEthernet 1/0
Prefix Next Hop Interface
70.7.7.8/30 70.7.7.18 FastEthernet1/0
70.7.7.16/30 attached FastEthernet1/0
70.7.7.18/32 70.7.7.18 FastEthernet1/0
70.7.7.20/30 70.7.7.18 FastEthernet1/0
70.7.7.24/30 70.7.7.18 FastEthernet1/0
70.7.7.28/30 70.7.7.18 FastEthernet1/0
80.8.8.8/30 70.7.7.18 FastEthernet1/0
80.8.8.12/30 70.7.7.18 FastEthernet1/0
213.3.3.0/24 70.7.7.18 FastEthernet1/0
214.4.4.0/24 70.7.7.18 FastEthernet1/0
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
P1
PE2
211.1.1.0/24
.1
.1
.1
....
.... ....
.1
....
Rb
Rc
LAN UNI LAN UNMSM
LAN UPAO LAN INICTEL-UNI
P3
212.2.2.0/24
213.3.3.0/24
214.4.4.0/24
Rd
Ra
.1
PE1
P2 P4
70.7.7.4/30
70.7.7.24/30
70.7.7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30
70.7.7.20/30
70.7.7.28/30
.1
.2
.5 .6
.25 .26
.17
.18
.21
.22
.13
.14
.29
.30
.9
.10
C
osto
1
C
osto
4
C
osto
4
C
osto
1
Costo2
Costo 1
Costo 8
Costo3
80.8.8.0/30
80.8.8.4/30
80.8.8.8/30
80.8.8.12/30
.1
.2
.5
.6
.9
.10
.13
.14
Costo 1
Costo 1
Costo
1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa0/1
Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
PE1(config)#mpls label protocol ldp
PE1(config)#interface fastethernet
0/1
PE1(config-if)#mpls ip
PE1(config-if)#mpls mtu 1508
PE1(config-if)#exit
PE1(config)#interface fastethernet
1/1
PE1(config-if)#mpls ip
PE1(config-if)#mpls mtu 1508
PE1#show mpls interfaces fastEthernet 1/1 detail
Interface FastEthernet1/1:
IP labeling enabled (ldp):
Interface config
LSP Tunnel labeling not enabled
BGP tagging not enabled
Tagging operational
Optimum Switching Vectors:
IP to MPLS Turbo Vector
MPLS Turbo Vector
Fast Switching Vectors:
IP to MPLS Fast Switching Vector
MPLS Turbo Vector
MTU = 1508
PE1#show mpls interfaces fastEthernet 0/1 detail
Interface FastEthernet0/1:
IP labeling enabled (ldp):
Interface config
LSP Tunnel labeling not enabled
BGP tagging not enabled
Tagging operational
Optimum Switching Vectors:
IP to MPLS Turbo Vector
MPLS Turbo Vector
Fast Switching Vectors:
IP to MPLS Fast Switching Vector
MPLS Turbo Vector
MTU = 1508
SESIONES LDP DIRECTAMENTE CONECTADO
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
P1
PE2
211.1.1.0/24
.1
.1
.1
....
.... ....
.1
....
Rb
Rc
LAN UNI LAN UNMSM
LAN UPAO LAN INICTEL-UNI
P3
212.2.2.0/24
213.3.3.0/24
214.4.4.0/24
Rd
Ra
.1
PE1
P2 P4
70.7.7.4/30
70.7.7.24/30
70.7.7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30
70.7.7.20/30
70.7.7.28/30
.1
.2
.5 .6
.25 .26
.17
.18
.21
.22
.13
.14
.29
.30
.9
.10
C
osto
1
C
osto
4
C
osto
4
C
osto
1
Costo2
Costo 1
Costo 8
Costo3
80.8.8.0/30
80.8.8.4/30
80.8.8.8/30
80.8.8.12/30
.1
.2
.5
.6
.9
.10
.13
.14
Costo 1
Costo 1
Costo
1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa0/1
Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
P1(config)#mpls label protocol ldp
P1(config)#interface fastethernet 0/0
P1(config-if)#mpls ip
P1(config-if)#mpls mtu 1508
P1(config-if)#exit
P1(config)#interface fastethernet 1/0
P1(config-if)#mpls ip
P1(config-if)#mpls mtu 1508
P1(config-if)#exit
P1(config)#interface fastethernet 0/1
P1(config-if)#mpls ip
P1(config-if)#mpls mtu 1508
P2(config)#mpls label protocol ldp
P2(config)#interface fastethernet 0/0
P2(config-if)#mpls ip
P1(config-if)#mpls mtu 1508
P2(config-if)#exit
P2(config)#interface fastethernet 0/1
P2(config-if)#mpls ip
P1(config-if)#mpls mtu 1508
P2(config-if)#exit
P2(config)#interface fastethernet 1/0
P2(config-if)#mpls ip
P2(config-if)#mpls mtu 1508
Los demás
router se
configura de
manera simular
SESIONES LDP DIRECTAMENTE CONECTADO
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
P1
PE2
211.1.1.0/24
.1
.1
.1
....
.... ....
.1
....
Rb
Rc
LAN UNI LAN UNMSM
LAN UPAO LAN INICTEL-UNI
P3
212.2.2.0/24
213.3.3.0/24
214.4.4.0/24
Rd
Ra
.1
PE1
P2 P4
70.7.7.4/30
70.7.7.24/30
70.7.7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30
70.7.7.20/30
70.7.7.28/30
.1
.2
.5 .6
.25 .26
.17
.18
.21
.22
.13
.14
.29
.30
.9
.10
C
osto
1
C
osto
4
C
osto
4
C
osto
1
Costo2
Costo 1
Costo 8
Costo3
80.8.8.0/30
80.8.8.4/30
80.8.8.8/30
80.8.8.12/30
.1
.2
.5
.6
.9
.10
.13
.14
Costo 1
Costo 1
Costo
1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa0/1
Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
PE1#show mpls interfaces
Interface IP Tunnel Operational
FastEthernet0/1 Yes (ldp) No Yes
FastEthernet1/1 Yes (ldp) No Yes
P1#show mpls interfaces
Interface IP Tunnel Operational
FastEthernet0/0 Yes (ldp) No Yes
FastEthernet0/1 Yes (ldp) No Yes
FastEthernet1/0 Yes (ldp) No Yes
P3#show mpls interfaces
Interface IP Tunnel Operational
FastEthernet0/1 Yes (ldp) No Yes
FastEthernet1/0 Yes (ldp) No Yes
FastEthernet1/1 Yes (ldp) No Yes
PE2#show mpls interfaces
Interface IP Tunnel Operational
FastEthernet0/1 Yes (ldp) No Yes
FastEthernet1/1 Yes (ldp) No Yes
SESIONES LDP DIRECTAMENTE CONECTADO
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
P1
PE2
211.1.1.0/24
.1
.1
.1
....
.... ....
.1
....
Rb
Rc
LAN UNI LAN UNMSM
LAN UPAO LAN INICTEL-UNI
P3
212.2.2.0/24
213.3.3.0/24
214.4.4.0/24
Rd
Ra
.1
PE1
P2 P4
70.7.7.4/30
70.7.7.24/30
70.7.7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30
70.7.7.20/30
70.7.7.28/30
.1
.2
.5 .6
.25 .26
.17
.18
.21
.22
.13
.14
.29
.30
.9
.10
C
osto
1
C
osto
4
C
osto
4
C
osto
1
Costo2
Costo 1
Costo 8
Costo3
80.8.8.0/30
80.8.8.4/30
80.8.8.8/30
80.8.8.12/30
.1
.2
.5
.6
.9
.10
.13
.14
Costo 1
Costo 1
Costo
1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa0/1
Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
P1#show mpls ldp discovery
Local LDP Identifier:
70.7.7.17:0
Discovery Sources:
Interfaces:
FastEthernet0/0 (ldp): xmit/recv
LDP Id: 80.8.8.6:0; no host route
FastEthernet0/1 (ldp): xmit/recv
LDP Id: 70.7.7.21:0; no host route
FastEthernet1/0 (ldp): xmit/recv
LDP Id: 70.7.7.25:0; no host route
P1#show mpls ldp neighbor
Peer LDP Ident: 80.8.8.6:0; Local LDP Ident
70.7.7.17:0
TCP connection: 80.8.8.6.41142 - 70.7.7.17.646
State: Oper; Msgs sent/rcvd: 72/73; Downstream
Up time: 00:47:22
LDP discovery sources:
FastEthernet0/0, Src IP addr: 70.7.7.1
Addresses bound to peer LDP Ident:
80.8.8.2 70.7.7.1 80.8.8.6 70.7.7.13
Peer LDP Ident: 70.7.7.25:0; Local LDP Ident
70.7.7.17:0
TCP connection: 70.7.7.25.30779 - 70.7.7.17.646
State: Oper; Msgs sent/rcvd: 61/62; Downstream
Up time: 00:37:27
LDP discovery sources:
FastEthernet1/0, Src IP addr: 70.7.7.18
Addresses bound to peer LDP Ident:
70.7.7.14 70.7.7.18 70.7.7.25
Peer LDP Ident: 70.7.7.21:0; Local LDP Ident
70.7.7.17:0
TCP connection: 70.7.7.21.36522 - 70.7.7.17.646
State: Oper; Msgs sent/rcvd: 52/52; Downstream
Up time: 00:28:26
LDP discovery sources:
FastEthernet0/1, Src IP addr: 70.7.7.6
Addresses bound to peer LDP Ident:
SESIONES LDP DIRECTAMENTE CONECTADO
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
SESIONES LDP INDIRECTAMENTE CONECTADO
P1
PE2
211.1.1.0/24
.1
.1
.1
....
.... ....
.1
....
Rb
Rc
LAN UNI LAN UNMSM
LAN UPAO LAN INICTEL-UNI
P3
212.2.2.0/24
213.3.3.0/24
214.4.4.0/24
Rd
Ra
.1
PE1
P2 P4
70.7.7.4/30
70.7.7.24/30
70.7.7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30
70.7.7.20/30
70.7.7.28/30
.1
.2
.5 .6
.25 .26
.17
.18
.21
.22
.13
.14
.29
.30
.9
.10
C
osto
1
C
osto
4
C
osto
4
C
osto
1
Costo2
Costo 1
Costo 8
Costo3
80.8.8.0/30
80.8.8.4/30
80.8.8.8/30
80.8.8.12/30
.1
.2
.5
.6
.9
.10
.13
.14
Costo 1
Costo 1
Costo
1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa0/1
Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
tunel1
PE1(config)#interface tunnel 1
PE1(config-if)#tunnel destination
70.7.7.10
PE1(config-if)#tunnel source 70.7.7.1
PE1(config-if)#mpls ip
PE1(config-if)#mpls mtu 1508
PE1(config-if)#exit
PE2(config)#interface tunnel 1
PE2(config-if)#tunnel destination
70.7.7.1
PE2(config-if)#tunnel source 70.7.7.10
PE2(config-if)#mpls ip
PE2(config-if)#mpls mtu 1508
PE2(config-if)#exit
Verifique con
el tracetrace la
trayectoria
del túnel
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
SESIONES LDP INDIRECTAMENTE CONECTADO
P1
PE2
211.1.1.0/24
.1
.1
.1
....
.... ....
.1
....
Rb
Rc
LAN UNI LAN UNMSM
LAN UPAO LAN INICTEL-UNI
P3
212.2.2.0/24
213.3.3.0/24
214.4.4.0/24
Rd
Ra
.1
PE1
P2 P4
70.7.7.4/30
70.7.7.24/30
70.7.7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30
70.7.7.20/30
70.7.7.28/30
.1
.2
.5 .6
.25 .26
.17
.18
.21
.22
.13
.14
.29
.30
.9
.10
C
osto
1
C
osto
4
C
osto
4
C
osto
1
Costo2
Costo 1
Costo 8
Costo3
80.8.8.0/30
80.8.8.4/30
80.8.8.8/30
80.8.8.12/30
.1
.2
.5
.6
.9
.10
.13
.14
Costo 1
Costo 1
Costo
1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa0/1
Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
tunel 1
PE1#show mpls ldp discovery all
Local LDP Identifier:
80.8.8.6:0
Discovery Sources:
Interfaces:
FastEthernet0/1 (ldp): xmit/recv
LDP Id: 70.7.7.17:0; no host route
FastEthernet1/1 (ldp): xmit/recv
LDP Id: 70.7.7.25:0; no host route
Tunnel1 (ldp): xmitTunnel1 (ldp): xmit
PE1#show mpls ldp discovery all
Local LDP Identifier:
80.8.8.6:0
Discovery Sources:
Interfaces:
FastEthernet0/1 (ldp): xmit/recv
LDP Id: 70.7.7.17:0; no host route
FastEthernet1/1 (ldp): xmit/recv
LDP Id: 70.7.7.25:0; no host route
Despuésde
creareltúnel
Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018
MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
SESIONES LDP INDIRECTAMENTE CONECTADO
P1
PE2
211.1.1.0/24
.1
.1
.1
....
.... ....
.1
....
Rb
Rc
LAN UNI LAN UNMSM
LAN UPAO LAN INICTEL-UNI
P3
212.2.2.0/24
213.3.3.0/24
214.4.4.0/24
Rd
Ra
.1
PE1
P2 P4
70.7.7.4/30
70.7.7.24/30
70.7.7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30
70.7.7.20/30
70.7.7.28/30
.1
.2
.5 .6
.25 .26
.17
.18
.21
.22
.13
.14
.29
.30
.9
.10
C
osto
1
C
osto
4
C
osto
4
C
osto
1
Costo2
Costo 1
Costo 8
Costo3
80.8.8.0/30
80.8.8.4/30
80.8.8.8/30
80.8.8.12/30
.1
.2
.5
.6
.9
.10
.13
.14
Costo 1
Costo 1
Costo
1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa0/1
Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
tunel 1
PE2#show mpls ldp discovery all detail
Local LDP Identifier:
80.8.8.13:0
Discovery Sources:
Interfaces:
FastEthernet0/1 (ldp): xmit/recv
Enabled: Interface config
Hello interval: 5000 ms; Transport IP addr: 80.8.8.13
LDP Id: 70.7.7.29:0; no host route to transport addr
Src IP addr: 70.7.7.29; Transport IP addr: 70.7.7.29
Hold time: 15 sec; Proposed local/peer: 15/15 sec
Reachable via 70.7.7.28/30
FastEthernet1/1 (ldp): xmit/recv
Enabled: Interface config
Hello interval: 5000 ms; Transport IP addr: 80.8.8.13
LDP Id: 70.7.7.21:0; no host route to transport addr
Src IP addr: 70.7.7.9; Transport IP addr: 70.7.7.21
Hold time: 15 sec; Proposed local/peer: 15/15 sec
Reachable via 70.7.7.20/30
Tunnel1 (ldp): xmitTunnel1 (ldp): xmit
Enabled: Interface configEnabled: Interface config
Hello interval: 5000 ms; Transport IP addr: 80.8.8.13Hello interval: 5000 ms; Transport IP addr: 80.8.8.13
Arquitectura MPLS
Arquitectura MPLS
Arquitectura MPLS
Arquitectura MPLS
Arquitectura MPLS
Arquitectura MPLS
Arquitectura MPLS
Arquitectura MPLS
Arquitectura MPLS
Arquitectura MPLS

Más contenido relacionado

La actualidad más candente

4.TDM Multiplexacion por division de tiempo
4.TDM Multiplexacion por division de tiempo4.TDM Multiplexacion por division de tiempo
4.TDM Multiplexacion por division de tiempoEdison Coimbra G.
 
Sincronización en Redes Telefónicas Públicas Conmutadas
Sincronización en Redes Telefónicas Públicas ConmutadasSincronización en Redes Telefónicas Públicas Conmutadas
Sincronización en Redes Telefónicas Públicas ConmutadasEng. Fernando Mendioroz, MSc.
 
Redes de Telecomunicaciones cap 4-3
Redes de Telecomunicaciones cap 4-3Redes de Telecomunicaciones cap 4-3
Redes de Telecomunicaciones cap 4-3Francisco Apablaza
 
GPON - Gigabit Pasive Optical Network
GPON - Gigabit Pasive Optical NetworkGPON - Gigabit Pasive Optical Network
GPON - Gigabit Pasive Optical NetworkJuan Herrera Benitez
 
Señalización en Redes Telefónicas Públicas Conmutadas SS7 / DSS1 / Sigtran
Señalización en Redes Telefónicas Públicas Conmutadas SS7 / DSS1 / SigtranSeñalización en Redes Telefónicas Públicas Conmutadas SS7 / DSS1 / Sigtran
Señalización en Redes Telefónicas Públicas Conmutadas SS7 / DSS1 / SigtranEng. Fernando Mendioroz, MSc.
 
Codificación Convolucional, Decodificador de Viterbi y Turbo Código
Codificación Convolucional, Decodificador de Viterbi y Turbo CódigoCodificación Convolucional, Decodificador de Viterbi y Turbo Código
Codificación Convolucional, Decodificador de Viterbi y Turbo CódigoOscar Javier Jimenez Revelo
 
Modulacion y Codificacion Digital - Analogo (ASK, FSK & PSK)
Modulacion y Codificacion Digital - Analogo (ASK, FSK & PSK)Modulacion y Codificacion Digital - Analogo (ASK, FSK & PSK)
Modulacion y Codificacion Digital - Analogo (ASK, FSK & PSK)Juan Herrera Benitez
 
6.6 Calculos de radioenlaces
6.6 Calculos de radioenlaces6.6 Calculos de radioenlaces
6.6 Calculos de radioenlacesEdison Coimbra G.
 
Redes Opticas Pasivas (xPON)
Redes Opticas Pasivas (xPON)Redes Opticas Pasivas (xPON)
Redes Opticas Pasivas (xPON)Iván Cáceres
 
Fibra optica y transmisores opticos
Fibra optica y transmisores opticosFibra optica y transmisores opticos
Fibra optica y transmisores opticosedgaralejandrocolmen
 
8.2 Transmision de datos por fibra óptica
8.2 Transmision de datos por fibra óptica8.2 Transmision de datos por fibra óptica
8.2 Transmision de datos por fibra ópticaEdison Coimbra G.
 
Protocolo TCP/IP
Protocolo TCP/IPProtocolo TCP/IP
Protocolo TCP/IPIza García
 

La actualidad más candente (20)

Mpls
MplsMpls
Mpls
 
06 mpls
06 mpls06 mpls
06 mpls
 
PDH
PDHPDH
PDH
 
4.TDM Multiplexacion por division de tiempo
4.TDM Multiplexacion por division de tiempo4.TDM Multiplexacion por division de tiempo
4.TDM Multiplexacion por division de tiempo
 
Redes NGN
Redes NGNRedes NGN
Redes NGN
 
Sincronización en Redes Telefónicas Públicas Conmutadas
Sincronización en Redes Telefónicas Públicas ConmutadasSincronización en Redes Telefónicas Públicas Conmutadas
Sincronización en Redes Telefónicas Públicas Conmutadas
 
Redes de Telecomunicaciones cap 4-3
Redes de Telecomunicaciones cap 4-3Redes de Telecomunicaciones cap 4-3
Redes de Telecomunicaciones cap 4-3
 
Redes PON
Redes PONRedes PON
Redes PON
 
GPON - Gigabit Pasive Optical Network
GPON - Gigabit Pasive Optical NetworkGPON - Gigabit Pasive Optical Network
GPON - Gigabit Pasive Optical Network
 
Modo de Transferencia Asíncrona (ATM)
Modo de Transferencia Asíncrona (ATM)Modo de Transferencia Asíncrona (ATM)
Modo de Transferencia Asíncrona (ATM)
 
Señalización en Redes Telefónicas Públicas Conmutadas SS7 / DSS1 / Sigtran
Señalización en Redes Telefónicas Públicas Conmutadas SS7 / DSS1 / SigtranSeñalización en Redes Telefónicas Públicas Conmutadas SS7 / DSS1 / Sigtran
Señalización en Redes Telefónicas Públicas Conmutadas SS7 / DSS1 / Sigtran
 
Codificación Convolucional, Decodificador de Viterbi y Turbo Código
Codificación Convolucional, Decodificador de Viterbi y Turbo CódigoCodificación Convolucional, Decodificador de Viterbi y Turbo Código
Codificación Convolucional, Decodificador de Viterbi y Turbo Código
 
Modulacion y Codificacion Digital - Analogo (ASK, FSK & PSK)
Modulacion y Codificacion Digital - Analogo (ASK, FSK & PSK)Modulacion y Codificacion Digital - Analogo (ASK, FSK & PSK)
Modulacion y Codificacion Digital - Analogo (ASK, FSK & PSK)
 
6.6 Calculos de radioenlaces
6.6 Calculos de radioenlaces6.6 Calculos de radioenlaces
6.6 Calculos de radioenlaces
 
Redes Opticas Pasivas (xPON)
Redes Opticas Pasivas (xPON)Redes Opticas Pasivas (xPON)
Redes Opticas Pasivas (xPON)
 
Redes HFC
Redes HFCRedes HFC
Redes HFC
 
Redes de transporte
Redes de transporteRedes de transporte
Redes de transporte
 
Fibra optica y transmisores opticos
Fibra optica y transmisores opticosFibra optica y transmisores opticos
Fibra optica y transmisores opticos
 
8.2 Transmision de datos por fibra óptica
8.2 Transmision de datos por fibra óptica8.2 Transmision de datos por fibra óptica
8.2 Transmision de datos por fibra óptica
 
Protocolo TCP/IP
Protocolo TCP/IPProtocolo TCP/IP
Protocolo TCP/IP
 

Similar a Arquitectura MPLS

Seamless/Unified MPLS - LACNIC22-LACNOG14 - Octubre 2014
Seamless/Unified MPLS - LACNIC22-LACNOG14 - Octubre 2014Seamless/Unified MPLS - LACNIC22-LACNOG14 - Octubre 2014
Seamless/Unified MPLS - LACNIC22-LACNOG14 - Octubre 2014Gianpietro Lavado
 
PRESENTACION: INTEGRACIÓN DE SERVICIOS DE VOZ, DATOS E INTERNET MEDIANTE UNA ...
PRESENTACION: INTEGRACIÓN DE SERVICIOS DE VOZ, DATOS E INTERNET MEDIANTE UNA ...PRESENTACION: INTEGRACIÓN DE SERVICIOS DE VOZ, DATOS E INTERNET MEDIANTE UNA ...
PRESENTACION: INTEGRACIÓN DE SERVICIOS DE VOZ, DATOS E INTERNET MEDIANTE UNA ...aliloinomedle
 
Sistemas de Conmutación: MPLS
Sistemas de Conmutación: MPLSSistemas de Conmutación: MPLS
Sistemas de Conmutación: MPLSAndres Suarez
 
Uni fiee rdsi sesion 16 mpls
Uni fiee rdsi sesion 16 mplsUni fiee rdsi sesion 16 mpls
Uni fiee rdsi sesion 16 mplsjcbenitezp
 
Uni fiee rdsi sesion 10b mpls
Uni fiee rdsi sesion 10b mplsUni fiee rdsi sesion 10b mpls
Uni fiee rdsi sesion 10b mplsjcbenitezp
 
Curso: Comunicación de datos y redes: 07 Nueva tecnología
Curso: Comunicación de datos y redes: 07 Nueva tecnologíaCurso: Comunicación de datos y redes: 07 Nueva tecnología
Curso: Comunicación de datos y redes: 07 Nueva tecnologíaJack Daniel Cáceres Meza
 
Practica4 mpls
Practica4 mplsPractica4 mpls
Practica4 mplsIng Jaab
 
DOCUMENTO MPLS
DOCUMENTO MPLSDOCUMENTO MPLS
DOCUMENTO MPLSJAV_999
 
Ninabanda_Jamil_MPLS.pdf
Ninabanda_Jamil_MPLS.pdfNinabanda_Jamil_MPLS.pdf
Ninabanda_Jamil_MPLS.pdfJamilNina1
 
Introducción a mpls
Introducción a mplsIntroducción a mpls
Introducción a mplsneyneyney
 

Similar a Arquitectura MPLS (20)

Cisco: MPLS en Castellano
Cisco: MPLS en CastellanoCisco: MPLS en Castellano
Cisco: MPLS en Castellano
 
Seamless/Unified MPLS - LACNIC22-LACNOG14 - Octubre 2014
Seamless/Unified MPLS - LACNIC22-LACNOG14 - Octubre 2014Seamless/Unified MPLS - LACNIC22-LACNOG14 - Octubre 2014
Seamless/Unified MPLS - LACNIC22-LACNOG14 - Octubre 2014
 
PRESENTACION: INTEGRACIÓN DE SERVICIOS DE VOZ, DATOS E INTERNET MEDIANTE UNA ...
PRESENTACION: INTEGRACIÓN DE SERVICIOS DE VOZ, DATOS E INTERNET MEDIANTE UNA ...PRESENTACION: INTEGRACIÓN DE SERVICIOS DE VOZ, DATOS E INTERNET MEDIANTE UNA ...
PRESENTACION: INTEGRACIÓN DE SERVICIOS DE VOZ, DATOS E INTERNET MEDIANTE UNA ...
 
Howto mpls
Howto mplsHowto mpls
Howto mpls
 
Howto mpls
Howto mplsHowto mpls
Howto mpls
 
MPLS Y DWDM
MPLS Y DWDMMPLS Y DWDM
MPLS Y DWDM
 
Sistemas de Conmutación: MPLS
Sistemas de Conmutación: MPLSSistemas de Conmutación: MPLS
Sistemas de Conmutación: MPLS
 
Mpls qo s
Mpls qo sMpls qo s
Mpls qo s
 
Uni fiee rdsi sesion 16 mpls
Uni fiee rdsi sesion 16 mplsUni fiee rdsi sesion 16 mpls
Uni fiee rdsi sesion 16 mpls
 
Mpls
MplsMpls
Mpls
 
Uni fiee rdsi sesion 10b mpls
Uni fiee rdsi sesion 10b mplsUni fiee rdsi sesion 10b mpls
Uni fiee rdsi sesion 10b mpls
 
Curso: Comunicación de datos y redes: 07 Nueva tecnología
Curso: Comunicación de datos y redes: 07 Nueva tecnologíaCurso: Comunicación de datos y redes: 07 Nueva tecnología
Curso: Comunicación de datos y redes: 07 Nueva tecnología
 
VPNs sobre MPLS con Tecnología Cisco
VPNs sobre MPLS con Tecnología CiscoVPNs sobre MPLS con Tecnología Cisco
VPNs sobre MPLS con Tecnología Cisco
 
Practica4 mpls
Practica4 mplsPractica4 mpls
Practica4 mpls
 
Mpls
MplsMpls
Mpls
 
MPLS TE - Protocolos de Comunicación
MPLS TE - Protocolos de ComunicaciónMPLS TE - Protocolos de Comunicación
MPLS TE - Protocolos de Comunicación
 
MPLS: Multiprotocol Label Switching
MPLS: Multiprotocol Label SwitchingMPLS: Multiprotocol Label Switching
MPLS: Multiprotocol Label Switching
 
DOCUMENTO MPLS
DOCUMENTO MPLSDOCUMENTO MPLS
DOCUMENTO MPLS
 
Ninabanda_Jamil_MPLS.pdf
Ninabanda_Jamil_MPLS.pdfNinabanda_Jamil_MPLS.pdf
Ninabanda_Jamil_MPLS.pdf
 
Introducción a mpls
Introducción a mplsIntroducción a mpls
Introducción a mpls
 

Más de Andy Juan Sarango Veliz

Examen final de CCNA Routing y Switching Academia OW
Examen final de CCNA Routing y Switching  Academia OWExamen final de CCNA Routing y Switching  Academia OW
Examen final de CCNA Routing y Switching Academia OWAndy Juan Sarango Veliz
 
Criptología de empleo en el Esquema Nacional de Seguridad
Criptología de empleo en el Esquema Nacional de SeguridadCriptología de empleo en el Esquema Nacional de Seguridad
Criptología de empleo en el Esquema Nacional de SeguridadAndy Juan Sarango Veliz
 
Alfabetización Informática - 3. Navegador Web
Alfabetización Informática - 3. Navegador WebAlfabetización Informática - 3. Navegador Web
Alfabetización Informática - 3. Navegador WebAndy Juan Sarango Veliz
 
Alfabetización Informática - 2. Test de Conceptos Básicos
Alfabetización Informática - 2. Test de Conceptos BásicosAlfabetización Informática - 2. Test de Conceptos Básicos
Alfabetización Informática - 2. Test de Conceptos BásicosAndy Juan Sarango Veliz
 
Alfabetización Informática - 1. Conceptos Básicos
Alfabetización Informática - 1. Conceptos BásicosAlfabetización Informática - 1. Conceptos Básicos
Alfabetización Informática - 1. Conceptos BásicosAndy Juan Sarango Veliz
 
Gestión y Operación de la Ciberseguridad
Gestión y Operación de la CiberseguridadGestión y Operación de la Ciberseguridad
Gestión y Operación de la CiberseguridadAndy Juan Sarango Veliz
 
Tecnologías de virtualización y despliegue de servicios
Tecnologías de virtualización y despliegue de serviciosTecnologías de virtualización y despliegue de servicios
Tecnologías de virtualización y despliegue de serviciosAndy Juan Sarango Veliz
 
Redes de Computadores: Un enfoque descendente 7.° Edición - Capítulo 9
Redes de Computadores: Un enfoque descendente 7.° Edición - Capítulo 9Redes de Computadores: Un enfoque descendente 7.° Edición - Capítulo 9
Redes de Computadores: Un enfoque descendente 7.° Edición - Capítulo 9Andy Juan Sarango Veliz
 
Análisis e Implementación de una Red "SDN" usando controladores "Open Source"
Análisis e Implementación de una Red "SDN" usando controladores "Open Source"Análisis e Implementación de una Red "SDN" usando controladores "Open Source"
Análisis e Implementación de una Red "SDN" usando controladores "Open Source"Andy Juan Sarango Veliz
 
Software Defined Radio - Capítulo 5: Modulación Digital I
Software Defined Radio - Capítulo 5: Modulación Digital ISoftware Defined Radio - Capítulo 5: Modulación Digital I
Software Defined Radio - Capítulo 5: Modulación Digital IAndy Juan Sarango Veliz
 
Software Defined Radio - Capítulo 4: Modulación FM
Software Defined Radio - Capítulo 4: Modulación FMSoftware Defined Radio - Capítulo 4: Modulación FM
Software Defined Radio - Capítulo 4: Modulación FMAndy Juan Sarango Veliz
 
Software Defined Radio - Capítulo 3: Modulación AM
Software Defined Radio - Capítulo 3: Modulación AMSoftware Defined Radio - Capítulo 3: Modulación AM
Software Defined Radio - Capítulo 3: Modulación AMAndy Juan Sarango Veliz
 
Software Defined Radio - Capítulo 2: GNU Radio Companion
Software Defined Radio - Capítulo 2: GNU Radio CompanionSoftware Defined Radio - Capítulo 2: GNU Radio Companion
Software Defined Radio - Capítulo 2: GNU Radio CompanionAndy Juan Sarango Veliz
 
Software Defined Radio - Capítulo 1: Introducción
Software Defined Radio - Capítulo 1: IntroducciónSoftware Defined Radio - Capítulo 1: Introducción
Software Defined Radio - Capítulo 1: IntroducciónAndy Juan Sarango Veliz
 
MAE-RAV-ROS Introducción a Ruteo Avanzado con MikroTik RouterOS v6.42.5.01
MAE-RAV-ROS Introducción a Ruteo Avanzado con MikroTik RouterOS v6.42.5.01MAE-RAV-ROS Introducción a Ruteo Avanzado con MikroTik RouterOS v6.42.5.01
MAE-RAV-ROS Introducción a Ruteo Avanzado con MikroTik RouterOS v6.42.5.01Andy Juan Sarango Veliz
 
Los cuatro desafíos de ciberseguridad más críticos de nuestra generación
Los cuatro desafíos de ciberseguridad más críticos de nuestra generaciónLos cuatro desafíos de ciberseguridad más críticos de nuestra generación
Los cuatro desafíos de ciberseguridad más críticos de nuestra generaciónAndy Juan Sarango Veliz
 

Más de Andy Juan Sarango Veliz (20)

Examen final de CCNA Routing y Switching Academia OW
Examen final de CCNA Routing y Switching  Academia OWExamen final de CCNA Routing y Switching  Academia OW
Examen final de CCNA Routing y Switching Academia OW
 
Criptología de empleo en el Esquema Nacional de Seguridad
Criptología de empleo en el Esquema Nacional de SeguridadCriptología de empleo en el Esquema Nacional de Seguridad
Criptología de empleo en el Esquema Nacional de Seguridad
 
Alfabetización Informática - 3. Navegador Web
Alfabetización Informática - 3. Navegador WebAlfabetización Informática - 3. Navegador Web
Alfabetización Informática - 3. Navegador Web
 
Alfabetización Informática - 2. Test de Conceptos Básicos
Alfabetización Informática - 2. Test de Conceptos BásicosAlfabetización Informática - 2. Test de Conceptos Básicos
Alfabetización Informática - 2. Test de Conceptos Básicos
 
Alfabetización Informática - 1. Conceptos Básicos
Alfabetización Informática - 1. Conceptos BásicosAlfabetización Informática - 1. Conceptos Básicos
Alfabetización Informática - 1. Conceptos Básicos
 
Gestión y Operación de la Ciberseguridad
Gestión y Operación de la CiberseguridadGestión y Operación de la Ciberseguridad
Gestión y Operación de la Ciberseguridad
 
Tecnologías de virtualización y despliegue de servicios
Tecnologías de virtualización y despliegue de serviciosTecnologías de virtualización y despliegue de servicios
Tecnologías de virtualización y despliegue de servicios
 
3. wordpress.org
3. wordpress.org3. wordpress.org
3. wordpress.org
 
2. wordpress.com
2. wordpress.com2. wordpress.com
2. wordpress.com
 
1. Introducción a Wordpress
1. Introducción a Wordpress1. Introducción a Wordpress
1. Introducción a Wordpress
 
Redes de Computadores: Un enfoque descendente 7.° Edición - Capítulo 9
Redes de Computadores: Un enfoque descendente 7.° Edición - Capítulo 9Redes de Computadores: Un enfoque descendente 7.° Edición - Capítulo 9
Redes de Computadores: Un enfoque descendente 7.° Edición - Capítulo 9
 
Análisis e Implementación de una Red "SDN" usando controladores "Open Source"
Análisis e Implementación de una Red "SDN" usando controladores "Open Source"Análisis e Implementación de una Red "SDN" usando controladores "Open Source"
Análisis e Implementación de una Red "SDN" usando controladores "Open Source"
 
Software Defined Radio - Capítulo 5: Modulación Digital I
Software Defined Radio - Capítulo 5: Modulación Digital ISoftware Defined Radio - Capítulo 5: Modulación Digital I
Software Defined Radio - Capítulo 5: Modulación Digital I
 
Software Defined Radio - Capítulo 4: Modulación FM
Software Defined Radio - Capítulo 4: Modulación FMSoftware Defined Radio - Capítulo 4: Modulación FM
Software Defined Radio - Capítulo 4: Modulación FM
 
Software Defined Radio - Capítulo 3: Modulación AM
Software Defined Radio - Capítulo 3: Modulación AMSoftware Defined Radio - Capítulo 3: Modulación AM
Software Defined Radio - Capítulo 3: Modulación AM
 
Software Defined Radio - Capítulo 2: GNU Radio Companion
Software Defined Radio - Capítulo 2: GNU Radio CompanionSoftware Defined Radio - Capítulo 2: GNU Radio Companion
Software Defined Radio - Capítulo 2: GNU Radio Companion
 
Software Defined Radio - Capítulo 1: Introducción
Software Defined Radio - Capítulo 1: IntroducciónSoftware Defined Radio - Capítulo 1: Introducción
Software Defined Radio - Capítulo 1: Introducción
 
MAE-RAV-ROS Introducción a Ruteo Avanzado con MikroTik RouterOS v6.42.5.01
MAE-RAV-ROS Introducción a Ruteo Avanzado con MikroTik RouterOS v6.42.5.01MAE-RAV-ROS Introducción a Ruteo Avanzado con MikroTik RouterOS v6.42.5.01
MAE-RAV-ROS Introducción a Ruteo Avanzado con MikroTik RouterOS v6.42.5.01
 
Los cuatro desafíos de ciberseguridad más críticos de nuestra generación
Los cuatro desafíos de ciberseguridad más críticos de nuestra generaciónLos cuatro desafíos de ciberseguridad más críticos de nuestra generación
Los cuatro desafíos de ciberseguridad más críticos de nuestra generación
 
ITIL Foundation ITIL 4 Edition
ITIL Foundation ITIL 4 EditionITIL Foundation ITIL 4 Edition
ITIL Foundation ITIL 4 Edition
 

Último

Sistema de Gestión de Freelancers (Base de Datos)
Sistema de Gestión de Freelancers (Base de Datos)Sistema de Gestión de Freelancers (Base de Datos)
Sistema de Gestión de Freelancers (Base de Datos)dianamateo1513
 
Flujo potencial, conceptos básicos y ejemplos resueltos.
Flujo potencial, conceptos básicos y ejemplos resueltos.Flujo potencial, conceptos básicos y ejemplos resueltos.
Flujo potencial, conceptos básicos y ejemplos resueltos.ALEJANDROLEONGALICIA
 
CLASE 2 MUROS CARAVISTA EN CONCRETO Y UNIDAD DE ALBAÑILERIA
CLASE 2 MUROS CARAVISTA EN CONCRETO  Y UNIDAD DE ALBAÑILERIACLASE 2 MUROS CARAVISTA EN CONCRETO  Y UNIDAD DE ALBAÑILERIA
CLASE 2 MUROS CARAVISTA EN CONCRETO Y UNIDAD DE ALBAÑILERIAMayraOchoa35
 
trabajos en altura 2024, sistemas de contencion anticaidas
trabajos en altura 2024, sistemas de contencion anticaidastrabajos en altura 2024, sistemas de contencion anticaidas
trabajos en altura 2024, sistemas de contencion anticaidasNelsonQuispeQuispitu
 
Peligros de Excavaciones y Zanjas presentacion
Peligros de Excavaciones y Zanjas presentacionPeligros de Excavaciones y Zanjas presentacion
Peligros de Excavaciones y Zanjas presentacionOsdelTacusiPancorbo
 
CFRD simplified sequence for Mazar Hydroelectric Project
CFRD simplified sequence for Mazar Hydroelectric ProjectCFRD simplified sequence for Mazar Hydroelectric Project
CFRD simplified sequence for Mazar Hydroelectric ProjectCarlos Delgado
 
NOM-002-STPS-2010, combate contra incendio.pptx
NOM-002-STPS-2010, combate contra incendio.pptxNOM-002-STPS-2010, combate contra incendio.pptx
NOM-002-STPS-2010, combate contra incendio.pptxJairReyna1
 
S454444444444444444_CONTROL_SET_A_GEOMN1204.pdf
S454444444444444444_CONTROL_SET_A_GEOMN1204.pdfS454444444444444444_CONTROL_SET_A_GEOMN1204.pdf
S454444444444444444_CONTROL_SET_A_GEOMN1204.pdffredyflores58
 
Hanns Recabarren Diaz (2024), Implementación de una herramienta de realidad v...
Hanns Recabarren Diaz (2024), Implementación de una herramienta de realidad v...Hanns Recabarren Diaz (2024), Implementación de una herramienta de realidad v...
Hanns Recabarren Diaz (2024), Implementación de una herramienta de realidad v...Francisco Javier Mora Serrano
 
Como de produjo la penicilina de manera masiva en plena guerra mundial Biotec...
Como de produjo la penicilina de manera masiva en plena guerra mundial Biotec...Como de produjo la penicilina de manera masiva en plena guerra mundial Biotec...
Como de produjo la penicilina de manera masiva en plena guerra mundial Biotec...ssuser646243
 
Tarea de UTP matematices y soluciones ingenieria
Tarea de UTP matematices y soluciones ingenieriaTarea de UTP matematices y soluciones ingenieria
Tarea de UTP matematices y soluciones ingenieriaSebastianQP1
 
Simbología de Soldadura, interpretacion y aplicacion en dibujo tecnico indus...
Simbología de Soldadura,  interpretacion y aplicacion en dibujo tecnico indus...Simbología de Soldadura,  interpretacion y aplicacion en dibujo tecnico indus...
Simbología de Soldadura, interpretacion y aplicacion en dibujo tecnico indus...esandoval7
 
SEMANA 6 MEDIDAS DE TENDENCIA CENTRAL.pdf
SEMANA  6 MEDIDAS DE TENDENCIA CENTRAL.pdfSEMANA  6 MEDIDAS DE TENDENCIA CENTRAL.pdf
SEMANA 6 MEDIDAS DE TENDENCIA CENTRAL.pdffredyflores58
 
Conservatorio de danza Kina Jiménez de Almería
Conservatorio de danza Kina Jiménez de AlmeríaConservatorio de danza Kina Jiménez de Almería
Conservatorio de danza Kina Jiménez de AlmeríaANDECE
 
VIRUS FITOPATÓGENOS (GENERALIDADES EN PLANTAS)
VIRUS FITOPATÓGENOS (GENERALIDADES EN PLANTAS)VIRUS FITOPATÓGENOS (GENERALIDADES EN PLANTAS)
VIRUS FITOPATÓGENOS (GENERALIDADES EN PLANTAS)ssuser6958b11
 
Electromagnetismo Fisica FisicaFisica.pdf
Electromagnetismo Fisica FisicaFisica.pdfElectromagnetismo Fisica FisicaFisica.pdf
Electromagnetismo Fisica FisicaFisica.pdfAnonymous0pBRsQXfnx
 
Parámetros de Perforación y Voladura. para Plataformas
Parámetros de  Perforación y Voladura. para PlataformasParámetros de  Perforación y Voladura. para Plataformas
Parámetros de Perforación y Voladura. para PlataformasSegundo Silva Maguiña
 
Topografía 1 Nivelación y Carretera en la Ingenierías
Topografía 1 Nivelación y Carretera en la IngenieríasTopografía 1 Nivelación y Carretera en la Ingenierías
Topografía 1 Nivelación y Carretera en la IngenieríasSegundo Silva Maguiña
 
Clase 1 Análisis Estructura. Para Arquitectura pptx
Clase 1 Análisis Estructura. Para Arquitectura pptxClase 1 Análisis Estructura. Para Arquitectura pptx
Clase 1 Análisis Estructura. Para Arquitectura pptxPaolaVillalba13
 
Diagrama de flujo metalurgia del cobre..pptx
Diagrama de flujo metalurgia del cobre..pptxDiagrama de flujo metalurgia del cobre..pptx
Diagrama de flujo metalurgia del cobre..pptxHarryArmandoLazaroBa
 

Último (20)

Sistema de Gestión de Freelancers (Base de Datos)
Sistema de Gestión de Freelancers (Base de Datos)Sistema de Gestión de Freelancers (Base de Datos)
Sistema de Gestión de Freelancers (Base de Datos)
 
Flujo potencial, conceptos básicos y ejemplos resueltos.
Flujo potencial, conceptos básicos y ejemplos resueltos.Flujo potencial, conceptos básicos y ejemplos resueltos.
Flujo potencial, conceptos básicos y ejemplos resueltos.
 
CLASE 2 MUROS CARAVISTA EN CONCRETO Y UNIDAD DE ALBAÑILERIA
CLASE 2 MUROS CARAVISTA EN CONCRETO  Y UNIDAD DE ALBAÑILERIACLASE 2 MUROS CARAVISTA EN CONCRETO  Y UNIDAD DE ALBAÑILERIA
CLASE 2 MUROS CARAVISTA EN CONCRETO Y UNIDAD DE ALBAÑILERIA
 
trabajos en altura 2024, sistemas de contencion anticaidas
trabajos en altura 2024, sistemas de contencion anticaidastrabajos en altura 2024, sistemas de contencion anticaidas
trabajos en altura 2024, sistemas de contencion anticaidas
 
Peligros de Excavaciones y Zanjas presentacion
Peligros de Excavaciones y Zanjas presentacionPeligros de Excavaciones y Zanjas presentacion
Peligros de Excavaciones y Zanjas presentacion
 
CFRD simplified sequence for Mazar Hydroelectric Project
CFRD simplified sequence for Mazar Hydroelectric ProjectCFRD simplified sequence for Mazar Hydroelectric Project
CFRD simplified sequence for Mazar Hydroelectric Project
 
NOM-002-STPS-2010, combate contra incendio.pptx
NOM-002-STPS-2010, combate contra incendio.pptxNOM-002-STPS-2010, combate contra incendio.pptx
NOM-002-STPS-2010, combate contra incendio.pptx
 
S454444444444444444_CONTROL_SET_A_GEOMN1204.pdf
S454444444444444444_CONTROL_SET_A_GEOMN1204.pdfS454444444444444444_CONTROL_SET_A_GEOMN1204.pdf
S454444444444444444_CONTROL_SET_A_GEOMN1204.pdf
 
Hanns Recabarren Diaz (2024), Implementación de una herramienta de realidad v...
Hanns Recabarren Diaz (2024), Implementación de una herramienta de realidad v...Hanns Recabarren Diaz (2024), Implementación de una herramienta de realidad v...
Hanns Recabarren Diaz (2024), Implementación de una herramienta de realidad v...
 
Como de produjo la penicilina de manera masiva en plena guerra mundial Biotec...
Como de produjo la penicilina de manera masiva en plena guerra mundial Biotec...Como de produjo la penicilina de manera masiva en plena guerra mundial Biotec...
Como de produjo la penicilina de manera masiva en plena guerra mundial Biotec...
 
Tarea de UTP matematices y soluciones ingenieria
Tarea de UTP matematices y soluciones ingenieriaTarea de UTP matematices y soluciones ingenieria
Tarea de UTP matematices y soluciones ingenieria
 
Simbología de Soldadura, interpretacion y aplicacion en dibujo tecnico indus...
Simbología de Soldadura,  interpretacion y aplicacion en dibujo tecnico indus...Simbología de Soldadura,  interpretacion y aplicacion en dibujo tecnico indus...
Simbología de Soldadura, interpretacion y aplicacion en dibujo tecnico indus...
 
SEMANA 6 MEDIDAS DE TENDENCIA CENTRAL.pdf
SEMANA  6 MEDIDAS DE TENDENCIA CENTRAL.pdfSEMANA  6 MEDIDAS DE TENDENCIA CENTRAL.pdf
SEMANA 6 MEDIDAS DE TENDENCIA CENTRAL.pdf
 
Conservatorio de danza Kina Jiménez de Almería
Conservatorio de danza Kina Jiménez de AlmeríaConservatorio de danza Kina Jiménez de Almería
Conservatorio de danza Kina Jiménez de Almería
 
VIRUS FITOPATÓGENOS (GENERALIDADES EN PLANTAS)
VIRUS FITOPATÓGENOS (GENERALIDADES EN PLANTAS)VIRUS FITOPATÓGENOS (GENERALIDADES EN PLANTAS)
VIRUS FITOPATÓGENOS (GENERALIDADES EN PLANTAS)
 
Electromagnetismo Fisica FisicaFisica.pdf
Electromagnetismo Fisica FisicaFisica.pdfElectromagnetismo Fisica FisicaFisica.pdf
Electromagnetismo Fisica FisicaFisica.pdf
 
Parámetros de Perforación y Voladura. para Plataformas
Parámetros de  Perforación y Voladura. para PlataformasParámetros de  Perforación y Voladura. para Plataformas
Parámetros de Perforación y Voladura. para Plataformas
 
Topografía 1 Nivelación y Carretera en la Ingenierías
Topografía 1 Nivelación y Carretera en la IngenieríasTopografía 1 Nivelación y Carretera en la Ingenierías
Topografía 1 Nivelación y Carretera en la Ingenierías
 
Clase 1 Análisis Estructura. Para Arquitectura pptx
Clase 1 Análisis Estructura. Para Arquitectura pptxClase 1 Análisis Estructura. Para Arquitectura pptx
Clase 1 Análisis Estructura. Para Arquitectura pptx
 
Diagrama de flujo metalurgia del cobre..pptx
Diagrama de flujo metalurgia del cobre..pptxDiagrama de flujo metalurgia del cobre..pptx
Diagrama de flujo metalurgia del cobre..pptx
 

Arquitectura MPLS

  • 1. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Protocolo deProtocolo de Comunicaciones:Comunicaciones: MPLSMPLS Daniel Díaz Ataucuri Profesor Titular de Telecomunicaciones UNI/UNMSM Director de Investigación y Desarrollo Tecnológico del INICTEL-UNI ddiaz1610@gmail.com/ddiaz@inictel-uni.edu.pe
  • 2. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS INTRODUCCIÓN
  • 3. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Enrutamiento en la capa de Internet tiene dos planos básicos: ►Planos de Datos o Envío (Forwarding) Responsable del envío de los paquetes de datos y utiliza: Tablas de enrutamiento actualizado en un router. Analiza información que lleva un paquete de datos (campos de la cabecera). Aquí se decide como se envían los paquetes de datos:  Envío unicast (se basa en dirección de destino)  Envío unicast con calidad de servicios (se basa en dirección de destino y ToS)  Envío multicast ►Plano de Control Responsable de la construcción y mantenimiento de la tabla de enrutamiento. Consiste de: Uno o más protocolos de enrutamiento Procedimientos o algoritmos para obtener la tabla de enrutamiento. NCEPTOS BÁSICOS: Planos de datos y control en redes
  • 4. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Plano de datos Plano de control Algoritmos Protocolos B D A 2 1 E 1 C F 1 2 Tabla deTabla de enrutamientoenrutamiento Red de destino Salto siguiente 200.20.20.0 15.5.5.1 Hardware para el envío de los datos NCEPTOS BÁSICOS: Planos de datos y control en redes
  • 5. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS CONMUTACIÓN DE ETIQUETAS Concepto de etiqueta: IP SwitchingIP Switching ►La decisión de envío de los paquetes depende del valor de una etiqueta. ►No se analiza ninguna información de la cabecera de la capa de Internet. datos Cabecera IP datos Cabecera IP etiquetado Etiqueta Analizado en nuevas tablas LFIB, ubicados en los LSR Paquete IP E1 Interfaz valor de Interfaz valor de de entrada etiqueta de salida etiqueta 1 E1 3 E3 Paquete IP E3 Interfaz 1 Interfaz 2 Interfaz 3
  • 6. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS CONCEPTOS BÁSICOS: FEC Forwarding Equivalence Class-FEC ►Son grupos de paquetes que son tratados de la misma manera por el router y enviados por un mismo camino, aun si los destinos finales son diferentes. Aplicación 1 IP Aplicación 2 IP Aplicación n IP Tabla de enrutamiento u otra tabla Diferenteorigen Salto siguiente Router trata a todos los paquetes de la misma manera Granularidad de envío del FEC(gruesa o fina) ►Muchos paquetes mapeados a un prefijo de dirección de red Escalabilidad y flexibilidad
  • 7. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS BÁSICO DE LA ARQUITECTURA MPLS En el paradigma de envío MPLS, una vez que un paquete es asignado a un FEC, ningún análisis futuro de la cabecera será realizada por los siguientes routers; toda información es manejada por las etiquetas. ►El router de entrada puede utilizar cualquier información (incluso fuera de la cabecera IP) Por ejemplo: paquetes que llegan de diferentes puertos se asignan a diferentes FECs. ►La decisión de reenvío lo realiza el router de entrada: cada router de entrada coloca una etiqueta que define una trayectoria dentro de la red MPLS. ►La decisión de etiquetado por parte del router de entrada no impacta a los otros routers internos de la red MPLS. ►Facilita el envío de los paquetes por una particular ruta (explícita): Ingeniería de Tráfico.
  • 8. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Físico Enlace de datos MPLS UBICACIÓN DE MPLS EN EL MODELO OSI Red Transporte Sesión Presentación Aplicación Físico Enlace de datos Red Transporte Sesión Presentación Aplicación MPLS Capa 2.5 MPLS no reemplaza el enrutamiento IPMPLS no reemplaza el enrutamiento IP
  • 9. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS 2001:4FC:5FA8::/126 2001:4FC:5FA8:10:/126 2001:4FC:5FA8::8/126 2001:4FC:5FA8::4/126 2001:4FC:5FA8::C/126 ::1 ::2 ::5 ::6 ::D ::E ::9 ::A ::11 ::12 Costo 1 Costo 1 Costo 2 Costo 3 Costo 1 CREACIÓN DE LSP (VPN) EXPLICITO TRAFFIC ENGINEERING-TE Ruta según Dijkstra Mucho tráfico! El router define la ruta: 2001:4FC:5FA8::2 , 2001:4FC:5FA8::6 , 2001:4FC:5FA8::A Ruta libre
  • 10. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS MULTIPROTOCOL LABEL SWITCHING-MPLS Proveedor de Servicios de Internet ISP Red MPLS  Router de Conmutación de Etiquetas ó Label Switch Router-LSR  LSR de borde ó Label Edge Route-LER  Trayectoria de conmutación de etiqueta ó Label Switch Path-LSP LSR LSR LSRLSR LSRdeborde deIngreso LSRdeborde deSalida Trayectoria de los paquetes etiquetados-LSP Introduce Etiqueta Saca Etiqueta Conmutación por Etiqueta
  • 11. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS CARACTERÍSTICA DE LA ETIQUETA EN MPLS Una etiqueta MPLS es corta, de longitud fija, de significado local y es usado para identificar un FEC. ►En la mayoría de los casos, un paquete es asignado a un FEC basado sobre su dirección de destino de la capa de Internet. Pero la etiqueta nunca es una decodificación de esta dirección. Ru Rd datos IP L datos IP L Etiqueta de salida de Ru Representa al FEC F Etiqueta de entrada de Rd Representa al FEC F L no necesariamente representa FEC F para cualquier paquete Paquetes Ru: "upstream LSR" Rd: “downstream LSR" “In the MPLS architecture, the decision to bind a particular label L to a particular FEC F is made by the LSR which is DOWNSTREAM with respect to that binding. The downstream LSR then informs the upstream LSR of the binding”. Enlazar una etiqueta particular L a un FEC F particular ►Las etiquetas son distribuidas en la dirección "downstream to upstream“.
  • 12. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Opciones-relleno Ver HLEN Tipo Serv. Longitud total Identificador Desplaz de frag.Indic TTL Protocolo Suma de chequeo Dirección de origen Dirección de destino Carga útil 0 4 8 16 19 31 40bytes max 20bytes DS Etiqueta de flujo Dirección de origen 40bytes Ver Longitud de carga útil Límite saltoCabe.sigte Dirección de destino PDU de la capa superior Cabecera opcionales Dirección de origen Opcional 0 4 8 16 19 31 Cabecera Cabecera MPLS (nivel 1nivel 1) Cabecera MPLS Label Stacking APILAMIENTO DE ETIQUETAS (Stack Label) El apilamiento de etiquetas en MPLS está organizado en Last-In, Fist- Out El procesamiento de un paquete etiquetado es independiente de su nivel de jerarquía en el apilamiento.
  • 13. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS NHLFE, Next Hop Label Forwarding Entry, es usado cuando se envía un paquete etiquetado. NHLFE, ILM y FTN ILM, Incoming Label Map, relaciona cada etiqueta entrante a un grupo de NHLFE. Es usado cuando arriban paquetes etiquetados. FTN, FEC-to-NHLFE, relaciona cada FEC a un grupo de NHLFE. Es usado cuando arriban paquetes NO etiquetados, pero que deben ser etiquetados antes de ser enviados. NHLE n Salto siguiente del paquete Label Stack: - reemplaza la etiqueta superior - extrae la etiqueta del stack - reemplaza la etiqueta superior e introduce una o más etiquetas Encapsulamiento de capa 2. Forma de codificar el label stack cuando se tx el paquete. NHLE 2 Salto siguiente del paquete Label Stack: - reemplaza la etiqueta superior - extrae la etiqueta del stack - reemplaza la etiqueta superior e introduce una o más etiquetas Encapsulamiento de capa 2. Forma de codificar el label stack cuando se tx el paquete. NHLE 1 Salto siguiente del paquete Label Stack: - reemplaza la etiqueta superior - extrae la etiqueta del stack - reemplaza la etiqueta superior e introduce una o más etiquetas Encapsulamiento de capa 2. Forma de codificar el label stack cuando se tx el paquete. Paquete con Etiqueta L Relaciona según etiqueta L: Si hay varios NHLE, balanceo de carga! ILM Paquete si Etiqueta FTN FEC1 NHLE1 Paquete con Etiqueta L FECn NHLEn
  • 14. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Intercambio de etiqueta sigue los siguientes procesos: RACTERÍSTICA DE LA ETIQUETA EN MPLS: Label Swapp ►Un LSR examina la etiqueta de la parte superior del label stack. ►ILM mapea esta etiqueta a un NHLFE. ►Usando la información en NHLFE determina donde enviar el paquete y realiza operación en label stack del paquete. ►Se codifica una nueva etiqueta dentro del paquete y envía al siguiente LSR. Ra Rb RcEtiqueta L1 Etiqueta L2 codifica una nueva etiqueta dentro del paquete
  • 15. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS PROTOCOLO DE DISTRIBUCIÓN DE ETIQUETA MPLS Un protocolo de distribución de etiqueta es un grupo de procedimiento por el cual un LSR informa a otro de las relaciones etiquetas/FEC que tiene que realizar. El protocolo de distribución de etiqueta también engloba cualquier negociación en el cual dos pares de distribución de etiqueta necesitan contratar para aprender de las capacidades MPLS de cada uno. Ru Rd Envío de protocolo de distribución de etiqueta para negociación Datos ►“Carrying Label Information in BGP-4” RFC 3107 ►“ RSVP-TE: Extensions to RSVP for LSP Tunnels” RFC 3209 ►“LDP Specification” RFC 3036 ►“ Constraint-Based LSP Setup using LDP”, RFC 3212 Protocolos de distribución de etiqueta en MPLS:
  • 16. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Ru Rd2 Interfaz 1 Rd1 Interfaz 2 Interfaz 4 Interfaz 3 Rd3 Interfaz 5 Interfaz 7Interfaz 6Tabla de enrutamiento Tabla de etiquetas Interfaz entrada Etiqueta Interfaz Salida Etiqueta --------------------- ----------- ------------------- ----------- Tabla de etiquetas Interfaz entrada Etiqueta Interfaz Salida Etiqueta --------------------- ----------- ------------------- ----------- Tabla de enrutamiento Tabla de etiquetas Interfaz entrada Etiqueta Interfaz Salida Etiqueta --------------------- ----------- ------------------- ----------- Tabla de enrutamiento PROTOCOLO DE DISTRIBUCIÓN DE ETIQUETA MPLS IPDatos=Señalización Datos=Señalización Datos=Señalización Datos=Señalización 2 39 4 39 5 90 6 90 7 50
  • 17. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS PROTOCOLO DE DISTRIBUCIÓN DE ETIQUETA MPLS Ru Rd2 Interfaz 1 Rd1 Interfaz 2 Interfaz 4 Interfaz 3 Rd3 Interfaz 5 Interfaz 7Interfaz 6 Tabla de etiquetas Interfaz entrada Etiqueta Interfaz Salida Etiqueta --------------------- ----------- ------------------- ----------- Tabla de etiquetas Interfaz entrada Etiqueta Interfaz Salida Etiqueta --------------------- ----------- ------------------- ----------- Tabla de etiquetas Interfaz entrada Etiqueta Interfaz Salida Etiqueta --------------------- ----------- ------------------- ----------- 2 39 4 39 5 90 6 90 7 50IPDatos IPDatos 39 IPDatos 90 IPDatos 39 IPDatos 90 IPDatos 50
  • 18. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ARQUITECTURA MPLS: PLANO DE CONTROL LSR LSR LSR Señalización Señalización Señalización Señalización Tabla LFIB Tabla LFIB Datos ►Aspectos claves Las etiquetas son distribuidas en la dirección "downstream to upstream“. Dirección downstream a upstream
  • 19. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Distribución de etiquetas “downstream-on-demand”. ►Cuando la arquitectura MPLS permite que un LSR requiera de manera explícita una etiqueta vinculada para un FEC. DOWNSTREAM-ON-DEMAND vs UNSOLICITED DOWNSTREAM Requerimiento de etiqueta Distribución de etiqueta Ru Rd Distribución de etiquetas “unsolicited downstream”. ►Cuando la arquitectura MPLS permite que un LSR distribuya etiqueta a otro LSR sin tener un requerimiento explícito para ello. Distribución de etiqueta Ru RdAmbas técnicas pueden ser usadas en una red MPLS, incluso al mismo tiempo.
  • 20. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS MPLS mantiene la arquitectura de un router en dos componentes: ►Plano de control. Controla el intercambio de información de enrutamiento: OSPF, EIGRP, BGP, IS-IS, RIP. Controla el intercambio de etiquetas entre dispositivos adyacentes: LDP, CR-LDP, RSVP-TE, BGP Surgen las señalizaciones que solicitan y asignan etiquetas para crear las tablas de etiquetas ►Plano de dato o envío, controla el envío del paquete de dato basado en: Dirección de destino (se mantiene la red IP!!) Etiquetas Se crea la tabla Label Forwarding Information Base-LFIB ►El plano de control crea la tabla LFIBLFIB donde se almacena las etiquetas que son usadas por el plano de envío. ►La tabla LFIB es creada/actualizada por los protocolos LDP, CR-LDP, RSVP-TE ó BGP ANO DE DATOS Y CONTROL EN UNA ARQUITECTURA MP
  • 21. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ANO DE DATOS Y CONTROL EN UNA ARQUITECTURA MP Plano de datos Plano de control Algoritmos Protocolos SeñalizaciónB D A 2 1 E 1 C F 1 2 Tabla deTabla de enrutamientoenrutamiento Red de destino Salto siguiente 200.20.20.0 15.5.5.1 Hardware para el envío de los datos 1 Interfaz de entrada n1 Etiqueta de entrada 2 Interfaz de salida n2 Etiqueta de salida TABLA LFIBTABLA LFIB
  • 22. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS FUNCIONAMIENTO DE UNA RED MPLS
  • 23. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS PROPUESTA MPLS POR LA IETF: RFC 3031 Los inicios de MPLS se remota a mediados de los 90 cuando se intenta combinar la tecnología IP y ATM. ►IP switching desarrollado por IPSILON1 ►ARIS (Aggregate Route-based IP Switching) desarrollado por IBM ►IP Navigator desarrollado por Cascade2 ►Tag Switching desarrollado por CISCO 1 http://www.cse.wustl.edu/~jain/cis788-97/ftp/ip_switching/index.html Consideraron el uso de OSPF para definir los path y Switches ATM para mover los datos por la red. La IETF, en 1997, forma el grupo de trabajo MPLS ►Enero de 2001 lanza la RFC 3031 donde define MPLS
  • 24. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ESCENARIO DE UNA RED MPLS RED MPLS RED LAN RED LAN Router IP Edge LSR Edge LSR LSR LSR LSR LSR IP IP IP Etiqueta IP Introduce (push) Etiqueta LSP QoS en la Red MPLS Analiza Etiqueta Analiza Etiqueta Analiza Etiqueta Analiza Etiqueta Extrae (pop) Etiqueta
  • 25. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS PRINCIPIO DE CONMUTACION EN MPLS RED MPLS RED LAN RED LAN Router IP Edge LSR Edge LSR LSR LSR LSR LSR RED LAN 1 2 1 2 3 1 2 3 4 1 2 3 4 1 2 3 1 2 3 IP IP IP 70 IP 34 IP 17 IP IP IP IP 23 IP 80 IP 77 IP71 Las etiquetas tienen significado local; no tiene significado global swap Interfaz Etiqueta Interfaz Etiqueta de entrada de entrada de salida de salida 1 70 3 34 1 23 4 80 Interfaz Etiqueta Interfaz Etiqueta de entrada de entrada de salida de salida 1 80 2 71 Interfaz Etiqueta Interfaz Etiqueta de entrada de entrada de salida de salida 2 34 4 17 3 71 4 77 LFIB=Label Forwarding Information Base LFIB=Label Forwarding Information Base LFIB=Label Forwarding Information Base LFIB=Label Forwarding Information Base Esta primera etiqueta define la trayectoria (LSP) seguida por el paquete en la red. (FEC) El penúltimo router puede sacar la etiqueta: Penultimate Hop Popping-PHPPHP
  • 26. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS PRINCIPIO DE CONMUTACION EN MPLS RED MPLS RED LAN RED LAN Router IP Edge LSR Edge LSR LSR LSR LSR LSR 1 2 1 2 3 1 2 3 4 1 2 3 4 1 2 3 1 2 3 FEC Interfaz Etiqueta de salida de salida a 2 70 b 2 23 Interfaz Etiqueta Interfaz Etiqueta de entrada de entrada de salida de salida 1 70 3 34 1 23 4 80 Interfaz Etiqueta Interfaz Etiqueta de entrada de entrada de salida de salida 1 80 2 71 Interfaz Etiqueta Interfaz Etiqueta de entrada de entrada de salida de salida 2 34 4 17 3 71 4 77 QoS para cada LSP. QoS para cada LSP. QoS para cada LSP. QoS para cada LSP. QoS para cada LSP. Red orientada a conexión Medio físico LSP LSP
  • 27. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS DESCRIPCION DE LA RED MPLS Label Switching Router, LSR. ►Nodo dentro de la red MPLS capaz de conmutar y enrutar paquetes analizando la etiqueta adicionada a cada paquete. Edge Label Switching Router, Edge LSR. Label Switch Path, LSP ►Trayecto definido con QoS entre dos puntos extremos dentro de la red MPLS. ►Nodo MPLS de borde que maneja tráfico que ingresa o sale a una red MPLS. ►El de entrada adiciona etiqueta a cada paquete IP. ►El de salida extrae etiqueta del paquete IP y enruta según capa 3.
  • 28. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS FORWARDING EQUIVALENCE CLASS-FEC El FEC para un paquete puede ser determinado por el análisis de los siguientes parámetros: ►Dirección IP de origen o destino. ►Dirección de red de origen o destino. ►Valor del campo Protocolo (protocol ID) ►Valor de DSCP (nivel de prioridad del paquete IP) ►Valor del campo Etiqueta de Flujo en IPv6 Un PHB puede ser asignado en un LSR para un FEC dado.
  • 29. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ROUTER DEL PROVEEDOR Y CLIENTE Red del proveedor Red del usuario Red de usuario 1 2 1 2 3 1 2 3 4 1 2 3 4 1 2 3 1 2 3 PE PE P P P P CE CC CE CE .- Customer Edge C .- Customer PE .- Provider Edge P .- Provider
  • 30. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Un paquete IP etiquetado puede transportar varias etiquetas. ►Stack tipo LIFO: Last-In-First-Out. LABEL STACKING Label Stacking permite la agregación de LSPs en un sólo LSP creando un túnel. ►Al inicio del túnel, un LSP asigna la misma etiqueta a paquetes provenientes de varios LSPs, introduciendo etiqueta a la parte superior del stack. Un ISP puede agregar varios LSPs en pocos túneles entre puntos de presencia (PoP, Points of Presence) ►Pocos túneles  pocas tablas: mejora la escalabilidad. LSP LSP1 LSP2
  • 31. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS LABEL STACKING 1 2 1 2 3 1 2 3 4 1 2 3 4 1 2 3 1 2 PE PE P P P P PE PE P P PE P P PEIP IP IP 31 IP 72 IP 41 IP 91 LSP 1 LSP2 IP 9170IP 7270 LSP IP 9117IP 7217 LSP1 LSP 2 IP 27 IP 81 IP IP 91IP 72 IP 61 IP 25 IP LSP LSP1 LSP2 Túnel
  • 32. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ARQUITECTURA MPLS: PLANO DE DATOS O DE ENVÍO
  • 33. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ETAPAS DEL FUNCIONAMIENTO DE LA RED MPLS Red del proveedor 1 2 1 2 3 1 2 3 4 1 2 3 4 1 2 3 1 2 3 QoS en la Red MPLS  1ra etapa : Envío de señalización  2da etapa: Formación de las tablas de conmutación  3ra etapa : Envío de datos 1ra etapa Creación de tablas Creación de tablas Creación de tablas Creación de tablas 2da etapa IP Etiqueta 3ra etapa
  • 34. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ARQUITECTURA MPLS: PLANO DE DATOS El plano de envío o datos toma la decisión de envío de un paquete considerando: ►La tabla de envío o forwarding, mantenido en Router de Conmutación de Etiquetas (LSR). ►El valor de una etiqueta es transportada en el paquete de datos. datos IP n1 datos IP n2 1 2 3 1 Interfaz de entrada n1 Etiqueta de entrada 2 Interfaz de salida n2 Etiqueta de salida TABLA LFIB 1 Interfaz de entrada n1 Etiqueta de entrada 2 Interfaz de salida n2 Etiqueta de salida datos IP n1 datos IP n2 1 2 3 datos IP n3 3 Interfaz de salida n3 Etiqueta de salida TABLA LFIB Adicional, reserva de recursos: En que tipo de cola de salida el paquete es almacenado Adicional, reserva de recursos: En que tipo de cola de salida el paquete es almacenado
  • 35. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ARQUITECTURA MPLS: PLANO DE DATOS Adición de la cabecera MPLS en IP Opciones-relleno Ver HLEN Tipo Serv. Longitud total Identificador Desplaz de frag.Indic TTL Protocolo Suma de chequeo Dirección de origen Dirección de destino Carga útil 0 4 8 16 19 31 40bytes max 20bytes DS Etiqueta de flujo Dirección de origen 40bytes Ver Longitud de carga útil Límite saltoCabe.sigte Dirección de destino PDU de la capa superior Cabecera opcionales Dirección de origen Opcional 0 4 8 16 19 31 Cabecera Cabecera MPLS S=1
  • 36. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ARQUITECTURA MPLS: PLANO DE CONTROL
  • 37. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ARQUITECTURA MPLS: PLANO DE CONTROL El plano de control es responsable de: ►Distribuir información de conmutación entre LSR: Hace uso de señalización. ►Los procedimientos (algoritmos) que usa los LSR para convertir la información distribuida en tabla de envío (LFIB) que es usada por el plano de datos o de envío. Existe gran similitud entre el plano de control de una arquitectura de enrutamiento convencional y de conmutación de etiqueta: ►En MPLS se incluye todos los protocolos de enrutamiento de IP más los protocolos de señalización para requerir y asignar etiquetas. ►Enrutamiento de IP es una parte de la conmutación por etiquetas. Recordar que MPLS es una red IP
  • 38. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS ARQUITECTURA MPLS: PLANO DE CONTROL Protocolos de enrutamiento de la capa de red: OSPF, BGP, etc Procedimientos creando enlaces entre etiquetas y FECs Procedimientos para distribuir etiquetas vinculando información Tablas de envío de conmutación de etiquetas (etiquetas para relacionar el siguiente salto) Plano de Control FEC para relacionar siguiente salto FEC para relacionar etiquetas Tabla de enrutamiento Tabla LFIB Plano de Dato
  • 39. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS RFC 5036 LDP Specification MPLS LDP suministra los medios para que los LSR requieran, distribuyan y actualicen información de etiquetas. Cuando se habilita MPLS LDP, el LSR envía mensajes para tratar de encontrar otro LSR para crear una sesión LDP. PROTOCOLO MPLS LDP Mensajes definidos en MPLS LDP. ► Discovery messages.- usado para anunciar y mantener la presencia de un LSR en la red ► Advertisement messages.- usado para crear, cambiar y eliminar asignaciones de etiquetas para FECs. ► Session messages.- usado para establecer, mantener y terminar sesiones entre LDP pares ► Notification messages.- usado para proporcional información de aviso y información de señal de error.
  • 40. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS RFC 5036 LDP Specification MPLS LDP suministra los medios para que los LSR requieran, distribuyan y actualicen información de etiquetas. MPLS LDP es útil para aplicaciones que requieren envío salto-a-salto (hop-by-hop forwarding) ►Con MPLS forwarding, cuando un paquete arriba en un router, el router mira la etiqueta de entrada, busca la etiqueta en la tabla, y envía el paquete al siguiente salto. Cuando se habilita MPLS LDP, el LSR envía mensajes para tratar de encontrar otro LSR para crear una sesión LDP. PROTOCOLO MPLS LDP
  • 41. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS El protocolo LDP es utilizado para establecer MPLS LSPs sin Ingeniería de Tráfico (TE). ►LDP establece LSPs siguiendo el enrutamiento IP existente. ►LDP es usado para establecer full mesh de LSPs entre todos los routers de la red. El protocolo LDP puede operar en diferentes modos ►Modo solicitado.- El router de ingreso envía un requerimiento de etiqueta LDP al siguiente router, siguiendo la tabla de enrutamiento IP. ►Modo no solicitado.- El router de egreso mapea las etiquetas en el enlace hasta alcanzar los routers de ingreso. PROTOCOLO MPLS LDPRFC 5036 LDP Specification
  • 42. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS El protocolo RSVP-TE es una adaptación del protocolo RSVP. PROTOCOLO RSVP-TERSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt 1997 2001
  • 43. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS PROTOCOLO RSVP –vs - RSVP-TE Redes de acceso Redes de acceso Redes de acceso Redes de acceso Backbone IP Redes de acceso Redes de acceso Redes de acceso Redes de acceso Backbone MPLS Mensaje Path Mensaje Resv Señalización RSVPRSVP Definido en RFC 2205 Mensaje Path Mensaje Resv Señalización RSVP-TERSVP-TE Definido en RFC 3209 Para asignar QoS E2E en cada Router: Crea estados en cada router Para asignar etiquetas y QoS solo en los routers del Proveedor de Internet-ISP Datos IPv4/ IPV6 Objetos RSVP RSVP se encapsula en IP
  • 44. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS REVISIÓN DEL PROTOCOLO RSVP (RFC 2205) PATH: Define trayectoria RESV: Realiza reserva Datos IP Cab. RSVP OBJ 1OBJ 2OBJ n ... Objetos de RSVP Protocolo RSVP Cab. IP IP Cab. RSVP OBJ xOBJ 2OBJ 1 ... Objetos de RSVP Protocolo RSVP Cab. IP Mensaje PathPath y ResvResv son claves para la creación de estados en los nodos de la red. Los mensajes PathPath y ResvResv crean: Path  Path State Resv  Resv State
  • 45. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS R5 R1 R3 R2 R4 R6 R7 R8 R9 PCa PCb PCc PCd AREA 0 AREA 1 AREA 2 20.1.1.0/30 20.1.1.4/30 20.1.1.8/30 20.1.1.12/30 20.1.1.16/30 20.1.1.20/30 30.3.3.0/30 30.3.3.4/30 30.3.3.8/30 40.4.4.0/30 40.4.4.4/30 40.4.4.8/30 210.1.1.0/24 210.2.2.0/24 220.1.1.0/24 220.2.2.0/24 .1 .5 .2 .6 .9 .10 .14 .13 .17.18 .22.21 .1 .2 .9 .10 .5 .6 .2 .1 .6 .5 .9 .10 .1 .9 .13.1 Costo 3 Costo 7 Costo2 Costo 6 Costo 4 Costo1 Costo1 Costo 10 Costo 5 Costo 1 Costo 1 Costo1 .2 .2 .1 .2 .1 .2 50.5.5.0/30 50.5.5.4/30 .2.1 .5 .6 50.5.5.8/30 .10 50.5.5.12/30 .14 UN INCONVENIENTE DE INTERNET: No es bidirecciona
  • 46. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Cabecera del Objeto 1 Cabecera del Objeto 1 Contenido del Objeto 1 Contenido del Objeto 1 Objeto 1Objeto 1 Objeto η Objeto 2 Objeto 1…….. Objeto κ Objeto p Objeto 1…….. Cabecera RSVP Cabecera RSVP Mensaje 1 Mensaje 2 REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
  • 47. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Longitud RSVP Chequeo suma RSVPVer Flags Send_TTL Msg Type Reservado Cabecera RSVP Contenido del objeto C-TypeLongitud del objeto Class-Num Contenido del objeto C-TypeLongitud del objeto Class-Num Objetos RSVP ... Longitud RSVP Chequeo suma RSVPVer Flags Send_TTL Msg Type Reservado Cabecera RSVP Contenido del objeto C-TypeLongitud del objeto Class-Num Objetos RSVP ... Ver HLEN Tipo Serv. Longitud total Identificador Desplaz de frag.Indic TTL Protocolo 46 Suma de chequeo Dirección de origen Dirección de destino 0 4 8 16 19 31 20bytes Cabecera IPv4 DS Etiqueta de flujo Dirección de origen 40bytes Ver Longitud de carga útil Límite salto Cabe.sigte 46 Dirección de destino Dirección de origen 0 4 8 16 19 31 IPv6 REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
  • 48. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Formato de un objeto Contenido del objeto C-TypeLongitud del objeto Class-Num ►Cada objeto contiene una cabecera de 32 bits. Longitud.- Campo de 16 bits y contiene la longitud total del objeto expresado en bytes. Class-Num.- Identifica la clase de objeto; por ejemplo: SESSION, RSVP-HOP, TIME_VALUE, etc.  C-Type.- Único para cada Class-Num. Identifica el tipo de protocolo IP que lleva el objeto: C-Type=1 para IPv4 e C-Type=2 para IPv6 ►Contenido del objeto es de uno (01) o más palabras de 32 bits REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
  • 49. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Objeto Session Dirección IPv4 de destino C-Type 1 Longitud del objeto Class-Num 1 Puerto de destinoFlagsID Protocol Dirección IPv6 de destino C-Type 2 Longitud del objeto Class-Num 1 Puerto de destinoFlagsID Protocol Objeto RSVP_HOP Dirección IPv4 salto siguiente/previo C-Type 1 Longitud del objeto Class-Num 3 Manejo de interfaz lógica Dirección IPv6 salto siguiente/previo C-Type 2 Longitud del objeto Class-Num 3 Manejo de interfaz lógica PATH Session Sender Sender Tspec Time-Val RSVP-Hop RESV Session Filter Spec Flow Spec Style Time-Val RSVP-Hop REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
  • 50. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Objeto RSVP_HOP Dirección IPv4 salto siguiente/previo C-Type 1 Longitud del objeto Class-Num 3 Manejo de interfaz lógica Dirección IPv6 salto siguiente/previo C-Type 2 Longitud del objeto Class-Num 3 Manejo de interfaz lógica Almacena 40.4.4.6 Almacena 40.4.4.10 R6 40.4.4.4/30 40.4.4.8/30 .5.6 .9.10 R7 R9 R8 RESV PATH MAS OBJETOS PATH MAS OBJETOS RESVRESV REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
  • 51. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Objeto ERROR_SPEC Dirección IPv4 del nodo error (4 bytes) C-Type 1 Longitud del objeto Class-Num 6 Flags Valor ErrorCode Error Dirección IPv4 del nodo error (16 bytes) C-Type 2 Longitud del objeto Class-Num 6 Flags Valor ErrorCode Error 40.4.4.4/30 40.4.4.8/30 .5.6 .9.10 R7 R9 R8 Erro r RESVRESV RESV ERROR 40.4.4.4/30 40.4.4.8/30 .5.6 .9.10 R7 R9 R8 PATHPATH Erro r ERRORERROR PATH ERROR ERRORERROR REVISIÓN DEL PROTOCOLO RSVP (RFC 2205)
  • 52. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS LSR LSR LSR ISP Surgen los objetos: LABEL_REQUEST Mensaje PATH LABEL  Mensaje RESV ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209) NUEVOS OBJETOS TABLA TABLATabla LFIB Tabla LFIB TABLA Tabla LFIB Señalización: Solicito etiquetas Señalización: Solicito etiquetas PATH PATH 1 Señalización: Asigno etiquetas Señalización: Asigno etiquetasRESV RESV 2 Datos
  • 53. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Surgen objeto: EXPLICIT_ROUTE Mensaje PATH ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209) NUEVOS OBJETOS Señalización ordena: IPa e IPb Señalización ordena: IPa e IPb PATH PATH TABLA TABLATabla LFIB Tabla LFIB TABLA Tabla LFIB LSR LSR LSR IPa IPbIP1 IP2 Costo 20 Costo 20 Costo 1 Puede ser una ruta óptima (menor costo) La señalización define una ruta explícita IPa e IPb La red MPLS ofrece INGENIERÍA DE TRÁFICO
  • 54. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Surgen un objeto, que inicialmente está vacío: RECORD_ROUTE Mensaje PATH ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209) NUEVOS OBJETOS Señalización: IPa Señalización: IPa e IPb PATH PATH TABLA TABLATabla LFIB Tabla LFIB TABLA Tabla LFIB LSR LSR LSR IPa IPbIP1 IP2 Este objeto contiene al final una lista de las dirección IP por donde transita el mensaje PATH Señalización: Se desea saber la ruta del mensaje PATH Se envía un objeto vacío Se obtiene la ruta: IPa e IPb
  • 55. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Surgen un objeto, que inicialmente está vacío: RECORD_ROUTE Mensaje RESV ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209) NUEVOS OBJETOS Señalización: IP1 e IP2 Señalización: IP2 RESV RESV TABLA TABLATabla LFIB Tabla LFIB TABLA Tabla LFIB LSR LSR LSR IPa IPbIP1 IP2 Este objeto contiene al final una lista de las dirección IP por donde transita el mensaje RESV Señalización: Se desea saber la ruta del mensaje RESV Se envía un objeto vacío Se obtiene la ruta: IP1 e IP2
  • 56. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Objeto Label Etiqueta C-Type 1 Longitud del objeto Class-Num 16 Es llevado por el mensaje RESV Objeto Label_Request C-Type 1 Longitud del objeto Class-Num 19 L3PIDReservado Es llevado por el mensaje PATH ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209) NUEVOS OBJETOS
  • 57. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Subobjetos Objeto Explicit_Route (ERO) C-Type 1 Longitud del objeto Class-Num 20 Es llevado por el mensaje PATH. Si PATH contiene varios EROs, solo el primero es considerado. L = 1, el subobjeto representa un “Loose hop” L = 0, el subobjeto representa un “Strict hop” ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209) NUEVOS OBJETOS
  • 58. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Subobjetos Objeto Record_Route (RRO) C-Type 1 Longitud del objeto Class-Num 21 Puede ser llevado por los mensajes PATH y/o RSVP. Inicialmente está vacío. Conforme llega a un router se registra la dirección IP de la interfaz donde sale el mensaje. ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209) NUEVOS OBJETOS
  • 59. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Longitud RSVP Chequeo suma RSVPVer Flags Send_TTL Msg Type Reservado Cabecera RSVP Objeto TIME_VALUE C-TypeLongitud del objeto Class-Num Objeto SESSION C-TypeLongitud del objeto Class-Num Objetos RSVP Objeto LABEL_REQUEST C-TypeLongitud del objeto Class-Num Objeto EXPLICIT_ROUTE C-TypeLongitud del objeto Class-Num Objeto SESSION_ATTRIBUTE C-TypeLongitud del objeto Class-Num Mensaje PATH Mensaje RESV Longitud RSVP Chequeo suma RSVPVer Flags Send_TTL Msg Type Reservado Cabecera RSVP Objeto TIME_VALUE C-TypeLongitud del objeto Class-Num Objeto SESSION C-TypeLongitud del objeto Class-Num Objetos RSVP Objeto LABEL C-TypeLongitud del objeto Class-Num Objeto FLOW_SPEC C-TypeLongitud del objeto Class-Num Objeto RECORD_ROUTE C-TypeLongitud del objeto Class-Num SIGUE ANÁLISIS DEL PROTOCOLO RSVP-TE (RFC 3209) El orden de los objetos no importa (Pag. 15, RFC 3209)
  • 60. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING-VRF https://www.youtube.com/watch?v=f2CHCZyt8GsVRF Lite Caso de estudio: Enrutamiento intervlan y VRF: https://www.youtube.com/watch?v=xcpBEitqypg 17min, 40seg
  • 61. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING Intro to VRF lite http://packetlife.net/blog/2009/apr/30/intro-vrf-lite/ https://www.linkedin.com/pulse/webinar-replay- fundamentals-qos-kevin?trk=portfolio_article-card_title Fundamentos de QoS
  • 62. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING VRF VRF VRF Interfaz física o lógica Interfaz física o lógica Virtual Routing and Forwarding-VRF es una técnica de virtualizar las tablas de enrutamiento de un router con el objetivo de que un Proveedor de Servicios de Internet-ISP separe sus clientes. Cisco hace suyo VRF Juniper lo denomina “routing instances” Linux denomina “network namespaces” Huawei denomina “VPN Routing”
  • 63. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING 192.10.20.1/30 60.60.60.1/30 Fa 0/0 Fa 2/0 Fa 1/0 10.10.10.1.1/30 C 192.10.20.0 is directly connected, fastethernet0/0 C 10.10.10.0 is directly connected, fastethernet0/1 C 60.60.60.0 is directly connected, fastethernet1/0 Tabla de enrutamiento global 192.10.20.1/30 60.60.60.1/30 10.10.10.1.1/30192.70.80.1/30 192.70.80.1/30 192.70.80.1/30VRF VRF VRF Tabla VRF Tabla VRF Tabla VRF Fa 0/0 Fa 2/0 Fa 1/0 C 192.70.80.0 is directly connected, fastethernet2/0 Tabla de enrutamiento vrf celeste C 192.70.80.0 is directly connected, fastethernet0/0 Tabla de enrutamiento vrf rojo C 192.70.80.0 is directly connected, fastethernet1/0 Tabla de enrutamiento vrf amarillo Los VRF emplean esencialmente el mismo concepto que VLAN y trunking, pero en la capa tres.
  • 64. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING 192.10.20.1/30 60.60.60.1/30 10.10.10.1.1/30192.70.80.1/30 192.70.80.1/30 192.70.80.1/30VRF VRF VRF Tabla VRF Tabla VRF Tabla VRF Fa 0/0 Fa 2/0 Fa 1/0 C 192.70.80.0 is directly connected, fastethernet2/0 Tabla de enrutamiento vrf celeste C 192.70.80.0 is directly connected, fastethernet0/0 Tabla de enrutamiento vrf rojo C 192.70.80.0 is directly connected, fastethernet1/0 Tabla de enrutamiento vrf amarillo Pasos a seguir: Definir cada vrf Asignar un valor Router Distinguisher-rd Asociar las interfaces a cada vrf http://www.redescisco.net/sitio/2017/02/15/configuracion-basica-de-vrf/
  • 65. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_01 CISCO 192.10.20.1/30 60.60.60.1/30 10.10.10.1.1/30192.70.80.1/30 192.70.80.1/30 192.70.80.1/30VRF VRF VRF Tabla VRF Tabla VRF Tabla VRF Fa 0/0 Fa 2/0 Fa 1/0 C 192.70.80.0 is directly connected, fastethernet2/0 Tabla de enrutamiento vrf celeste C 192.70.80.0 is directly connected, fastethernet0/0 Tabla de enrutamiento vrf rojo C 192.70.80.0 is directly connected, fastethernet1/0 Tabla de enrutamiento vrf amarillo Pasos a seguir: Definir cada vrf Asignar un valor Router Distinguisher-rd Asociar las interfaces a cada vrf R1(config)#ip vrf celeste R1(config-vrf)#rd 10:1 R1(config-vrf)#exit R1(config)#ip vrf rojo R1(config-vrf)#rd 10:2 R1(config-vrf)#exit R1(config)#ip vrf amarillo R1(config-vrf)#rd 10:3 R1(config-vrf)#exit R1(config)# La numeración es referencial. Permite al dispositivo distinguir qué interfaz y que ruta pertenece a qué dominio de enrutamiento interno. In Cisco terminology, deployment of VRFs without MPLS is known as VRF lite,
  • 66. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_01 CISCO 192.10.20.1/30 60.60.60.1/30 10.10.10.1.1/30192.70.80.1/30 192.70.80.1/30 192.70.80.1/30VRF VRF VRF Tabla VRF Tabla VRF Tabla VRF Fa 0/0 Fa 2/0 Fa 1/0 C 192.70.80.0 is directly connected, fastethernet2/0 Tabla de enrutamiento vrf celeste C 192.70.80.0 is directly connected, fastethernet0/0 Tabla de enrutamiento vrf rojo C 192.70.80.0 is directly connected, fastethernet1/0 Tabla de enrutamiento vrf amarillo Pasos a seguir: Definir cada vrf Asignar un valor Router Distinguisher-rd Asociar las interfaces a cada vrf R1(config)#interface fastethernet2/0 R1(config-if)#ip vrf forwarding celeste R1(config-if)#ip address 192.70.80.1 255.255.255.252 R1(config-if)#no shutdown R1(config)#interface fastethernet0/0 R1(config-if)#ip vrf forwarding rojo R1(config-if)#ip address 192.70.80.1 255.255.255.252 R1(config-if)#no shutdown
  • 67. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_01 CISCO R1(config)#interface fastethernet1/0 R1(config-if)#ip vrf forwarding amarillo R1(config-if)#ip address 192.70.80.1 255.255.255.252 R1(config-if)#no shutdown 192.10.20.1/30 60.60.60.1/30 10.10.10.1.1/30192.70.80.1/30 192.70.80.1/30 192.70.80.1/30VRF VRF VRF Tabla VRF Tabla VRF Tabla VRF Fa 0/0 Fa 2/0 Fa 1/0 C 192.70.80.0 is directly connected, fastethernet2/0 Tabla de enrutamiento vrf celeste C 192.70.80.0 is directly connected, fastethernet0/0 Tabla de enrutamiento vrf rojo C 192.70.80.0 is directly connected, fastethernet1/0 Tabla de enrutamiento vrf amarillo Pasos a seguir: Definir cada vrf Asignar un valor Router Distinguisher-rd Asociar las interfaces a cada vrf
  • 68. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_01 CISCO R1#show ip route R1# R1#show ip route vrf celeste Routing Table: celeste 192.70.80.0/30 is subnetted, 1 subnets C 192.70.80.0 is directly connected, FastEthernet2/0 R1# R1#show ip route vrf rojo Routing Table: rojo 192.70.80.0/30 is subnetted, 1 subnets C 192.70.80.0 is directly connected, FastEthernet0/0 R1# R1#show ip route vrf amarillo Routing Table: amarillo 192.70.80.0/30 is subnetted, 1 subnets C 192.70.80.0 is directly connected, FastEthernet1/0 R1#
  • 69. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO EMPRESA A EMPRESA B 210.16.0.0/24 210.16.1.0/24 210.16.2.0/24 .2 .2 .2 .1 .1 .1 210.16.0.0/24 210.16.1.0/24 210.16.2.0/24 .2 .2 .2 .1 .1 .1 200.200.0.0/24 200.200.1.0/24 200.200.2.0/24 .20 .20 .20 .1 .1 .1 200.200.0.0/24 200.200.1.0/24 200.200.2.0/24 .21 .21 .21 .1 .1 .1 20.20.20.4/30 20.20.20.0/30 20.20.20.0/30 20.20.20.8/30 20.20.20.8/30 .2 .2 .1 .1 .5 .6 .9 .10 .10 .9 R1 R2 R5 R6 R3 R4 f0/0 f2/0 f1/1 f1/0 f1/0 f0/0 f2/0 f1/1 f0/0 f1/0 f1/1 f2/0 f1/1 f0/0 f0/0 f1/0 f1/0 f1/1 f2/0 f0/0 f1/1 f2/0
  • 70. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO 210.16.0.0/24 210.16.1.0/24 210.16.2.0/24 .2 .2 .2 .1 .1 .1 20.20.20.0/30 .2 .1 R1 R3 f0/0 f2/0 f1/1 f1/0 f0/0 R1(config)#interface fastethernet2/0 R1(config-if)#ip address 210.16.0.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface fastethernet1/0 R1(config-if)#ip address 210.16.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface fastethernet1/1 R1(config-if)#ip address 210.16.2.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface fastethernet0/0 R1(config-if)#ip address 20.20.20.2 255.255.255.252 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#ip route 0.0.0.0 0.0.0.0 20.20.20.1
  • 71. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO 210.16.0.0/24 210.16.1.0/24 210.16.2.0/24 .2 .2 .2 .1 .1 .1 20.20.20.0/30 .2 .1 R2 R3 f1/0 f0/0 f2/0 f1/1 f1/0 R2(config)#interface fastethernet0/0 R2(config-if)#ip address 210.16.0.1 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#exit R2(config)#interface fastethernet1/1 R2(config-if)#ip address 210.16.1.1 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#exit R2(config)#interface fastethernet2/0 R2(config-if)#ip address 210.16.2.1 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#exit R2(config)#interface fastethernet1/0 R2(config-if)#ip address 20.20.20.2 255.255.255.252 R2(config-if)#no shutdown R2(config-if)#exit R2(config)#ip route 0.0.0.0 0.0.0.0 20.20.20.1
  • 72. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO 200.200.0.0/24 200.200.1.0/24 200.200.2.0/24 .20 .20 .20 .1 .1 .1 20.20.20.8/30 .9 .10 R5 R4 f1/1 f0/0 f1/0 f1/1 f2/0 R5(config)#interface fastethernet1/0 R5(config-if)#ip address 200.200.0.1 255.255.255.0 R5(config-if)#no shutdown R5(config-if)#exit R5(config)#interface fastethernet1/1 R5(config-if)#ip address 200.200.1.1 255.255.255.0 R5(config-if)#no shutdown R5(config-if)#exit R5(config)#interface fastethernet2/0 R5(config-if)#ip address 200.200.2.1 255.255.255.0 R5(config-if)#no shutdown R5(config-if)#exit R5(config)#interface fastethernet0/0 R5(config-if)#ip address 20.20.20.10 255.255.255.252 R5(config-if)#no shutdown R5(config-if)#exit R5(config)#ip route 0.0.0.0 0.0.0.0 20.20.20.9
  • 73. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO 200.200.0.0/24 200.200.1.0/24 200.200.2.0/24 .21 .21 .21 .1 .1 .1.10 .9 R6 R4 f0/0 f1/0 f0/0 f1/1 f2/0 R6(config)#interface fastethernet0/0 R6(config-if)#ip address 200.200.0.1 255.255.255.0 R6(config-if)#no shutdown R6(config-if)#exit R6(config)#interface fastethernet1/1 R6(config-if)#ip address 200.200.1.1 255.255.255.0 R6(config-if)#no shutdown R6(config-if)#exit R6(config)#interface fastethernet2/0 R6(config-if)#ip address 200.200.2.1 255.255.255.0 R6(config-if)#no shutdown R6(config-if)#exit R6(config)#interface fastethernet1/0 R6(config-if)#ip address 20.20.20.10 255.255.255.252 R6(config-if)#no shutdown R6(config-if)#exit R6(config)#ip route 0.0.0.0 0.0.0.0 20.20.20.9
  • 74. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO R3(config)#ip vrf empresa_a R3(config-vrf)#rd 10:1 R3(config-vrf)#exit R3(config)#ip vrf empresa_b R3(config-vrf)#rd 10:2 R3(config-vrf)#exit R3(config)#interface fastethernet0/0 R3(config-if)#ip vrf forwarding empresa_a R3(config-if)#ip address 20.20.20.1 255.255.255.252 R3(config-if)#no shutdown R3(config-if)#exit R3(config)#interface fastethernet1/0 R3(config-if)#ip vrf forwarding empresa_b R3(config-if)#ip address 20.20.20.1 255.255.255.252 R3(config-if)#no shutdown R3(config-if)#exit EMPRESA A EMPRESA B 20.20.20.4/30 20.20.20.0/30 20.20.20.0/30 20.20.20.8/30 20.20.20.8/30 .2 .2 .1 .1 .5 .6 .9 .10 .10 .9 R1 R2 R5 R6 R3 R4 Tabla VRF EMPR_A Tabla VRF EMPR_B Tabla VRF EMPR_A Tabla VRF EMPR_B f0/0 f1/0 f1/1 f2/0 f1/1 f0/0
  • 75. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO R3(config)#ip route vrf empresa_a 210.16.0.0 255.255.255.0 20.20.20.2 R3(config)#ip route vrf empresa_a 210.16.1.0 255.255.255.0 20.20.20.2 R3(config)#ip route vrf empresa_a 210.16.2.0 255.255.255.0 20.20.20.2 R3(config)#ip route vrf empresa_a 200.200.0.0 255.255.255.0 20.20.20.6 R3(config)#ip route vrf empresa_a 200.200.1.0 255.255.255.0 20.20.20.6 R3(config)#ip route vrf empresa_a 200.200.2.0 255.255.255.0 20.20.20.6 R3(config)# R3(config)#ip route vrf empresa_b 210.16.0.0 255.255.255.0 20.20.20.2 R3(config)#ip route vrf empresa_b 210.16.1.0 255.255.255.0 20.20.20.2 R3(config)#ip route vrf empresa_b 210.16.2.0 255.255.255.0 20.20.20.2 R3(config)#ip route vrf empresa_b 200.200.0.0 255.255.255.0 20.20.20.6 R3(config)#ip route vrf empresa_b 200.200.1.0 255.255.255.0 20.20.20.6 R3(config)#ip route vrf empresa_b 200.200.2.0 255.255.255.0 20.20.20.6 EMPRESA A EMPRESA B 20.20.20.4/30 20.20.20.0/30 20.20.20.0/30 20.20.20.8/30 20.20.20.8/30 .2 .2 .1 .1 .5 .6 .9 .10 .10 .9 R1 R2 R5 R6 R3 R4 Tabla VRF EMPR_A Tabla VRF EMPR_B Tabla VRF EMPR_A Tabla VRF EMPR_B f0/0 f1/0 f1/1 f2/0 f1/1 f0/0
  • 76. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO R3(config)#interface fastethernet1/1 R3(config-if)#no shutdown R3(config-if)#exit R3(config)#interface fastethernet1/1.1 R3(config-if)#ip vrf forwarding empresa_a R3(config-if)#encapsulation dot1q 1 R3(config-if)#ip address 20.20.20.5 255.255.255.252 R3(config-if)#no shutdown R3(config-if)#exit R3(config)# R3(config)#interface fastethernet1/1.2 R3(config-if)#ip vrf forwarding empresa_b R3(config-if)#encapsulation dot1q 2 R3(config-if)#ip address 20.20.20.5 255.255.255.252 R3(config-if)#no shutdown R3(config-if)#exit EMPRESA A EMPRESA B 20.20.20.4/30 20.20.20.0/30 20.20.20.0/30 20.20.20.8/30 20.20.20.8/30 .2 .2 .1 .1 .5 .6 .9 .10 .10 .9 R1 R2 R5 R6 R3 R4 Tabla VRF EMPR_A Tabla VRF EMPR_B Tabla VRF EMPR_A Tabla VRF EMPR_B f0/0 f1/0 f1/1 f2/0 f1/1 f0/0 20.20.20.4/30 f1/1 f2/0 .5 .6 Subinterfaz fa1/1.1 Subinterfaz fa2/0.1 Subinterfaz fa1/1.2 Subinterfaz fa2/0.2 R3 R4
  • 77. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO R4(config)#ip vrf empresa_a R4(config-vrf)#rd 10:1 R4(config-vrf)#exit R4(config)#ip vrf empresa_b R4(config-vrf)#rd 10:2 R4(config-vrf)#exit R4(config)#interface fastethernet1/1 R4(config-if)#ip vrf forwarding empresa_a R4(config-if)#ip address 20.20.20.9 255.255.255.252 R4(config-if)#no shutdown R4(config-if)#exit R4(config)#interface fastethernet0/0 R4(config-if)#ip vrf forwarding empresa_b R4(config-if)#ip address 20.20.20.9 255.255.255.252 R4(config-if)#no shutdown R4(config-if)#exit EMPRESA A EMPRESA B 20.20.20.4/30 20.20.20.0/30 20.20.20.0/30 20.20.20.8/30 20.20.20.8/30 .2 .2 .1 .1 .5 .6 .9 .10 .10 .9 R1 R2 R5 R6 R3 R4 Tabla VRF EMPR_A Tabla VRF EMPR_B Tabla VRF EMPR_A Tabla VRF EMPR_B f0/0 f1/0 f1/1 f2/0 f1/1 f0/0
  • 78. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS R4(config)#ip route vrf empresa_a 210.16.0.0 255.255.255.0 20.20.20.5 R4(config)#ip route vrf empresa_a 210.16.1.0 255.255.255.0 20.20.20.5 R4(config)#ip route vrf empresa_a 210.16.2.0 255.255.255.0 20.20.20.5 R4(config)#ip route vrf empresa_a 200.200.0.0 255.255.255.0 20.20.20.10 R4(config)#ip route vrf empresa_a 200.200.1.0 255.255.255.0 20.20.20.10 R4(config)#ip route vrf empresa_a 200.200.2.0 255.255.255.0 20.20.20.10 R4(config)# R4(config)#ip route vrf empresa_b 210.16.0.0 255.255.255.0 20.20.20.5 R4(config)#ip route vrf empresa_b 210.16.1.0 255.255.255.0 20.20.20.5 R4(config)#ip route vrf empresa_b 210.16.2.0 255.255.255.0 20.20.20.5 R4(config)#ip route vrf empresa_b 200.200.0.0 255.255.255.0 20.20.20.10 R4(config)#ip route vrf empresa_b 200.200.1.0 255.255.255.0 20.20.20.10 R4(config)#ip route vrf empresa_b 200.200.2.0 255.255.255.0 20.20.20.10 VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO EMPRESA A EMPRESA B 20.20.20.4/30 20.20.20.0/30 20.20.20.0/30 20.20.20.8/30 20.20.20.8/30 .2 .2 .1 .1 .5 .6 .9 .10 .10 .9 R1 R2 R5 R6 R3 R4 Tabla VRF EMPR_A Tabla VRF EMPR_B Tabla VRF EMPR_A Tabla VRF EMPR_B f0/0 f1/0 f1/1 f2/0 f1/1 f0/0
  • 79. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO R4(config)#interface fastethernet2/0 R4(config-if)#no shutdown R4(config-if)#exit R4(config)#interface fastethernet2/0.1 R4(config-if)#ip vrf forwarding empresa_a R4(config-if)#encapsulation dot1Q 1 R4(config-if)#ip address 20.20.20.6 255.255.255.252 R4(config-if)#no shutdown R4(config-if)#exit R4(config)# R4(config)#interface fastethernet2/0.2 R4(config-if)#ip vrf forwarding empresa_b R4(config-if)#encapsulation dot1Q 2 R4(config-if)#ip address 20.20.20.6 255.255.255.252 R4(config-if)#no shutdown R4(config-if)#exit EMPRESA A EMPRESA B 20.20.20.4/30 20.20.20.0/30 20.20.20.0/30 20.20.20.8/30 20.20.20.8/30 .2 .2 .1 .1 .5 .6 .9 .10 .10 .9 R1 R2 R5 R6 R3 R4 Tabla VRF EMPR_A Tabla VRF EMPR_B Tabla VRF EMPR_A Tabla VRF EMPR_B f0/0 f1/0 f1/1 f2/0 f1/1 f0/0 20.20.20.4/30 f1/1 f2/0 .5 .6 Subinterfaz fa1/1.1 Subinterfaz fa2/0.1 Subinterfaz fa1/1.2 Subinterfaz fa2/0.2 R3 R4
  • 80. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS R2#show ip route 20.0.0.0/30 is subnetted, 1 subnets C 20.20.20.0 is directly connected, FastEthernet1/0 C 210.16.2.0/24 is directly connected, FastEthernet2/0 C 210.16.1.0/24 is directly connected, FastEthernet1/1 C 210.16.0.0/24 is directly connected, FastEthernet0/0 S* 0.0.0.0/0 [1/0] via 20.20.20.1 R2# VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO R1#show ip route 20.0.0.0/30 is subnetted, 1 subnets C 20.20.20.0 is directly connected, FastEthernet0/0 C 210.16.2.0/24 is directly connected, FastEthernet1/1 C 210.16.1.0/24 is directly connected, FastEthernet1/0 C 210.16.0.0/24 is directly connected, FastEthernet2/0 S* 0.0.0.0/0 [1/0] via 20.20.20.1 R1#
  • 81. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS R3#show ip route vrf empresa_b Routing Table: empresa_b S 200.200.0.0/24 [1/0] via 20.20.20.6 20.0.0.0/30 is subnetted, 2 subnets C 20.20.20.4 is directly connected, FastEthernet1/1.2 C 20.20.20.0 is directly connected, FastEthernet1/0 S 200.200.1.0/24 [1/0] via 20.20.20.6 S 200.200.2.0/24 [1/0] via 20.20.20.6 S 210.16.2.0/24 [1/0] via 20.20.20.2 S 210.16.1.0/24 [1/0] via 20.20.20.2 S 210.16.0.0/24 [1/0] via 20.20.20.2 R3# VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO R3#show ip route vrf empresa_a Routing Table: empresa_a S 200.200.0.0/24 [1/0] via 20.20.20.6 20.0.0.0/30 is subnetted, 2 subnets C 20.20.20.4 is directly connected, FastEthernet1/1.1 C 20.20.20.0 is directly connected, FastEthernet0/0 S 200.200.1.0/24 [1/0] via 20.20.20.6 S 200.200.2.0/24 [1/0] via 20.20.20.6 S 210.16.2.0/24 [1/0] via 20.20.20.2 S 210.16.1.0/24 [1/0] via 20.20.20.2 S 210.16.0.0/24 [1/0] via 20.20.20.2 R3# R3#show ip route R3#
  • 82. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS R4#show ip route vrf empresa_b Routing Table: empresa_b S 200.200.0.0/24 [1/0] via 20.20.20.10 20.0.0.0/30 is subnetted, 2 subnets C 20.20.20.4 is directly connected, FastEthernet2/0.2 C 20.20.20.8 is directly connected, FastEthernet0/0 S 200.200.1.0/24 [1/0] via 20.20.20.10 S 200.200.2.0/24 [1/0] via 20.20.20.10 S 210.16.2.0/24 [1/0] via 20.20.20.5 S 210.16.1.0/24 [1/0] via 20.20.20.5 S 210.16.0.0/24 [1/0] via 20.20.20.5 R4# VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO R4#show ip route vrf empresa_a Routing Table: empresa_a S 200.200.0.0/24 [1/0] via 20.20.20.10 20.0.0.0/30 is subnetted, 2 subnets C 20.20.20.4 is directly connected, FastEthernet2/0.1 C 20.20.20.8 is directly connected, FastEthernet1/1 S 200.200.1.0/24 [1/0] via 20.20.20.10 S 200.200.2.0/24 [1/0] via 20.20.20.10 S 210.16.2.0/24 [1/0] via 20.20.20.5 S 210.16.1.0/24 [1/0] via 20.20.20.5 S 210.16.0.0/24 [1/0] via 20.20.20.5 R4# R4#show ip route R4#
  • 83. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS R6show ip route C 200.200.0.0/24 is directly connected, FastEthernet0/0 20.0.0.0/30 is subnetted, 1 subnets C 20.20.20.8 is directly connected, FastEthernet1/0 C 200.200.1.0/24 is directly connected, FastEthernet1/1 C 200.200.2.0/24 is directly connected, FastEthernet2/0 S* 0.0.0.0/0 [1/0] via 20.20.20.9 R6# VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO R5#show ip route C 200.200.0.0/24 is directly connected, FastEthernet1/0 20.0.0.0/30 is subnetted, 1 subnets C 20.20.20.8 is directly connected, FastEthernet0/0 C 200.200.1.0/24 is directly connected, FastEthernet1/1 C 200.200.2.0/24 is directly connected, FastEthernet2/0 S* 0.0.0.0/0 [1/0] via 20.20.20.9 R5#
  • 84. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO PC-1> ping 200.200.0.20 84 bytes from 200.200.0.20 icmp_seq=1 ttl=60 time=131.544 ms 84 bytes from 200.200.0.20 icmp_seq=2 ttl=60 time=137.132 ms 84 bytes from 200.200.0.20 icmp_seq=3 ttl=60 time=131.475 ms 84 bytes from 200.200.0.20 icmp_seq=4 ttl=60 time=137.491 ms 84 bytes from 200.200.0.20 icmp_seq=5 ttl=60 time=131.436 ms
  • 85. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_02 CISCO PC-11> ping 210.16.2.2 84 bytes from 210.16.2.2 icmp_seq=1 ttl=60 time=131.378 ms 84 bytes from 210.16.2.2 icmp_seq=2 ttl=60 time=131.976 ms 84 bytes from 210.16.2.2 icmp_seq=3 ttl=60 time=131.537 ms 84 bytes from 210.16.2.2 icmp_seq=4 ttl=60 time=131.100 ms 84 bytes from 210.16.2.2 icmp_seq=5 ttl=60 time=137.849 ms PC-11> No hay captura
  • 86. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO … … … … 200.10.1.0/24 200.20.1.0/24 200.10.2.0/24200.20.2.0/24 192.168.55.0/30 10.20.30.0/30 Acceso de Internet invitados Acceso de Internet coorporativa Usuarios invitados Usuarios invitados Usuarios coorporativos Usuarios coorporativos Ra Rb R1 R2 R3 Rc Rd .1 .2 .2 .1 OSPFv2 f0/0 f1/0 f1/1 f0/0 f1/0f1/1 f0/0 f0/0 f2/0 f0/0 f1/0 f1/1 f0/0 f0/0 f1/0 f1/1 f1/0 f1/1
  • 87. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO … … … … 200.10.1.0/24 200.20.1.0/24 200.10.2.0/24200.20.2.0/24 192.168.55.0/30 10.20.30.0/30 Acceso de Internet invitados Acceso de Internet coorporativa Usuarios invitados Usuarios invitados Usuarios coorporativos Usuarios coorporativos Ra Rb R1 R2 R3 Rc Rd .1 .2 .2 .1 192.16.55.4/30 10.20.30.4/30 10.20.30.8/30192.168.55.8/30 192.168.55.12/30 10.20.30.12/30 192.168.55.16/30 10.20.30.16/30 192.168.55.20/30 10.20.30.20/30 .5 .9 .6 .10 .18 .21 .17 .22.18 .17 .21 .22 .5 .9 .6 .10 .13 .14 .13 .14 f0/0 f1/0 f1/1.10 f0/0.10 f1/0.20 f1/1.10 f0/0.10 f0/0 f2/0.20 f0/0.20 f1/0.10 f1/1.10 f0/0.10 f0/0 f1/0 f1/1 f1/0 f1/1 f1/1.20 f2/0.10 f1/0.10 f0/0.10 f1/0.20 f0/0.20 f1/1.20 f0/0.20 f1/1.20 f0/0.20
  • 88. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO … … … … 200.10.1.0/24 200.20.1.0/24 200.10.2.0/24200.20.2.0/24 192.168.55.0/30 10.20.30.0/30 Acceso de Internet invitados Acceso de Internet coorporativa Usuarios invitados Usuarios invitados Usuarios coorporativos Usuarios coorporativos Ra Rb R1 R2 R3 Rc Rd .1 .2 .2 .1 OSPFv2 192.16.55.4/30 10.20.30.4/30 10.20.30.8/30192.168.55.8/30 192.168.55.12/30 10.20.30.12/30 192.168.55.16/30 10.20.30.16/30 192.168.55.20/30 10.20.30.20/30 costo 7 costo 1 costo 2costo 2 costo 2costo 1 costo 2 costo 4 costo 2 costo 2
  • 89. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R1(config)#interface fastethernet1/0 R1(config-if)#ip vrf forwarding invitados R1(config-if)# ip address 192.168.55.2 255.255.255.252 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface fastethernet0/0 R1(config-if)#ip vrf forwarding coorporativos R1(config-if)# ip address 10.20.30.2 255.255.255.252 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface fastethernet1/1 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface fastethernet1/1.10 R1(config-subif)#ip vrf forwarding invitados R1(config-subif)#encapsulation dot1Q 10 R1(config-subif)#ip address 192.168.55.5 255.255.255.252 R1(config-subif)#no shutdown R1(config-subif)#ip ospf cost 7 R1(config-subif)#exit R1(config)# R1(config)#ip vrf invitados R1(config-vrf)#rd 10:10 R1(config-vrf)#exit R1(config)#ip vrf coorporativos R1(config-vrf)#rd 10:20 R1(config-vrf)#exit 192.168.55.0/30 10.20.30.0/30R1 192.16.55.4/30 10.20.30.4/30 10.20.30.8/30192.168.55.8/30 costo 7 costo 1 costo 1 costo 4 f1/0 f1/1.10 f0/0 f2/0.10 .2 .2 .5 .9 .5 .9 f2/0.20 f1/1.20 Ra Rb .1 .1 f0/0 f0/0 f1/1 f2/0
  • 90. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R1(config)#interface fastethernet1/1.20 R1(config-subif)#ip vrf forwarding coorporativos R1(config-subif)#encapsulation dot1Q 20 R1(config-subif)#ip address 10.20.30.5 255.255.255.252 R1(config-subif)#no shutdown R1(config-subif)#ip ospf cost 1 R1(config-subif)#exit R1(config)# R1(config)#interface fastethernet2/0 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface fastethernet2/0.10 R1(config-subif)#ip vrf forwarding invitados R1(config-subif)#encapsulation dot1Q 10 R1(config-subif)#ip address 192.168.55.9 255.255.255.252 R1(config-subif)#no shutdown R1(config-subif)#ip ospf cost 1 R1(config-subif)#exit R1(config)# R1(config)#ip vrf invitados R1(config-vrf)#rd 10:10 R1(config-vrf)#exit R1(config)#ip vrf coorporativos R1(config-vrf)#rd 10:20 R1(config-vrf)#exit 192.168.55.0/30 10.20.30.0/30R1 192.16.55.4/30 10.20.30.4/30 10.20.30.8/30192.168.55.8/30 costo 7 costo 1 costo 1 costo 4 f1/0 f1/1.10 f0/0 f2/0.10 .2 .2 .5 .9 .5 .9 f2/0.20 f1/1.20 Ra Rb .1 .1 f0/0 f0/0 f1/1 f2/0
  • 91. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R1(config)#interface fastethernet2/0.20 R1(config-subif)#ip vrf forwarding coorporativos R1(config-subif)#encapsulation dot1Q 20 R1(config-subif)#ip address 10.20.30.9 255.255.255.252 R1(config-subif)#no shutdown R1(config-subif)#ip ospf cost 4 R1(config-subif)#exit R1(config)# R1(config)#ip vrf invitados R1(config-vrf)#rd 10:10 R1(config-vrf)#exit R1(config)#ip vrf coorporativos R1(config-vrf)#rd 10:20 R1(config-vrf)#exit 192.168.55.0/30 10.20.30.0/30R1 192.16.55.4/30 10.20.30.4/30 10.20.30.8/30192.168.55.8/30 costo 7 costo 1 costo 1 costo 4 f1/0 f1/1.10 f0/0 f2/0.10 .2 .2 .5 .9 .5 .9 f2/0.20 f1/1.20 Ra Rb .1 .1 f0/0 f0/0 f1/1 f2/0 R1(config)#ip route vrf invitados 0.0.0.0 0.0.0.0 192.168.55.1 R1(config)#ip route vrf coorporativos 0.0.0.0 0.0.0.0 10.20.30.1 R1(config)#router ospf 10 vrf invitados R1(config-router)#redistribute static metric 15 subnets R1(config-router)#default-information originate R1(config-router)#network 192.168.55.0 0.0.0.3 area 0 R1(config-router)#network 192.168.55.4 0.0.0.3 area 0 R1(config-router)#network 192.168.55.8 0.0.0.3 area 0 R1(config-router)#exit R1(config)# Propaga la ruta estática por defecto en mensajes OSPF
  • 92. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R1(config)#ip vrf invitados R1(config-vrf)#rd 10:10 R1(config-vrf)#exit R1(config)#ip vrf coorporativos R1(config-vrf)#rd 10:20 R1(config-vrf)#exit 192.168.55.0/30 10.20.30.0/30R1 192.16.55.4/30 10.20.30.4/30 10.20.30.8/30192.168.55.8/30 costo 7 costo 1 costo 1 costo 4 f1/0 f1/1.10 f0/0 f2/0.10 .2 .2 .5 .9 .5 .9 f2/0.20 f1/1.20 Ra Rb .1 .1 f0/0 f0/0 f1/1 f2/0 R1(config)#router ospf 20 vrf coorporativos R1(config-router)#redistribute static metric 15 subnets R1(config-router)#default-information originate R1(config-router)#network 10.20.30.0 0.0.0.3 area 0 R1(config-router)#network 10.20.30.4 0.0.0.3 area 0 R1(config-router)#network 10.20.30.8 0.0.0.3 area 0 R1(config-router)#exit R1(config)# Propaga la ruta estática por defecto en mensajes OSPF
  • 93. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R2(config)#ip vrf invitados R2(config-vrf)#rd 10:10 R2(config-vrf)#exit R2(config)#ip vrf coorporativos R2(config-vrf)#rd 10:20 R2(config-vrf)#exit R2(config)#interface fastethernet1/1 R2(config-if)#no shutdown R2(config-if)#exit R2(config)#interface fastethernet1/0 R2(config-if)#no shutdown R2(config-if)#exit R2(config)#interface fastethernet1/1.10 R2(config-subif)#ip vrf forwarding invitados R2(config-subif)#encapsulation dot1Q 10 R2(config-subif)#ip address 192.168.55.18 255.255.255.252 R2(config-subif)#no shutdown R2(config-subif)#ip ospf cost 2 R2(config-subif)#exit R2(config)#interface fastethernet1/0.10 R2(config-subif)#ip vrf forwarding invitados R2(config-subif)#encapsulation dot1Q 10 R2(config-subif)#ip address 192.168.55.13 255.255.255.252 R2(config-subif)#no shutdown R2(config-subif)#ip ospf cost 2 R2(config-subif)#exit R2 Rc 192.16.55.4/30 10.20.30.4/30 192.168.55.12/30 10.20.30.12/30 192.168.55.16/30 10.20.30.16/30 .6 .18 .17 .18 .17 .6 .13 .14 .13 .14 f1/1.10 f0/0.10 f1/0.20 f1/1.10 f0/0.10 f1/1.20 f1/0.10 f0/0.20 f1/1.20 f0/0.20 f0/0 f1/0 f1/1 costo 7 costo 2 costo 2 costo 1 costo 2 costo 2
  • 94. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R2(config)#interface fastethernet0/0 R2(config-if)#no shutdown R2(config-if)#exit R2(config)#interface fastethernet0/0.10 R2(config-subif)#ip vrf forwarding invitados R2(config-subif)#encapsulation dot1Q 10 R2(config-subif)#ip address 192.168.55.6 255.255.255.252 R2(config-subif)#no shutdown R2(config-subif)#ip ospf cost 7 R2(config-subif)#exit R2(config)# R2(config)#interface fastethernet1/1.20 R2(config-subif)#ip vrf forwarding coorporativos R2(config-subif)#encapsulation dot1Q 20 R2(config-subif)#ip address 10.20.30.18 255.255.255.252 R2(config-subif)#no shutdown R2(config-subif)#ip ospf cost 2 R2(config-subif)#exit R2(config)#ip vrf invitados R2(config-vrf)#rd 10:10 R2(config-vrf)#exit R2(config)#ip vrf coorporativos R2(config-vrf)#rd 10:20 R2(config-vrf)#exit R2 Rc 192.16.55.4/30 10.20.30.4/30 192.168.55.12/30 10.20.30.12/30 192.168.55.16/30 10.20.30.16/30 .6 .18 .17 .18 .17 .6 .13 .14 .13 .14 f1/1.10 f0/0.10 f1/0.20 f1/1.10 f0/0.10 f1/1.20 f1/0.10 f0/0.20 f1/1.20 f0/0.20 f0/0 f1/0 f1/1 costo 7 costo 2 costo 2 costo 1 costo 2 costo 2
  • 95. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R2(config)#interface fastethernet1/0.20 R2(config-subif)#ip vrf forwarding coorporativos R2(config-subif)#encapsulation dot1Q 20 R2(config-subif)#ip address 10.20.30.13 255.255.255.252 R2(config-subif)#no shutdown R2(config-subif)#ip ospf cost 2 R2(config-subif)#exit R2(config)#interface fastethernet0/0.20 R2(config-subif)#ip vrf forwarding coorporativos R2(config-subif)#encapsulation dot1Q 20 R2(config-subif)#ip address 10.20.30.6 255.255.255.252 R2(config-subif)#no shutdown R2(config-subif)#ip ospf cost 1 R2(config-subif)#exit R2(config)#ip vrf invitados R2(config-vrf)#rd 10:10 R2(config-vrf)#exit R2(config)#ip vrf coorporativos R2(config-vrf)#rd 10:20 R2(config-vrf)#exit R2 Rc 192.16.55.4/30 10.20.30.4/30 192.168.55.12/30 10.20.30.12/30 192.168.55.16/30 10.20.30.16/30 .6 .18 .17 .18 .17 .6 .13 .14 .13 .14 f1/1.10 f0/0.10 f1/0.20 f1/1.10 f0/0.10 f1/1.20 f1/0.10 f0/0.20 f1/1.20 f0/0.20 f0/0 f1/0 f1/1 costo 7 costo 2 costo 2 costo 1 costo 2 costo 2
  • 96. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R2(config)#ip vrf invitados R2(config-vrf)#rd 10:10 R2(config-vrf)#exit R2(config)#ip vrf coorporativos R2(config-vrf)#rd 10:20 R2(config-vrf)#exit R2 Rc 192.16.55.4/30 10.20.30.4/30 192.168.55.12/30 10.20.30.12/30 192.168.55.16/30 10.20.30.16/30 .6 .18 .17 .18 .17 .6 .13 .14 .13 .14 f1/1.10 f0/0.10 f1/0.20 f1/1.10 f0/0.10 f1/1.20 f1/0.10 f0/0.20 f1/1.20 f0/0.20 f0/0 f1/0 f1/1 costo 7 costo 2 costo 2 costo 1 costo 2 costo 2 R2(config)#ip route vrf invitados 200.10.1.0 255.255.255.0 192.168.55.17 R2(config)#ip route vrf coorporativos 200.20.1.0 255.255.255.0 10.20.30.17 R2(config)#router ospf 10 vrf invitados R2(config-rt)#redistribute static metric 15 subnets R2(config-rt)#network 192.168.55.4 0.0.0.3 area 0 R2(config-rt)#network 192.168.55.12 0.0.0.3 area 0 R2(config-rt)#network 192.168.55.16 0.0.0.3 area 0 R2(config-rt)#exit R2(config)# R2(config)#router ospf 20 vrf coorporativos R2(config-rt)#redistribute static metric 15 subnets R2(config-router)#network 10.20.30.4 0.0.0.3 area 0 R2(config-router)#network 10.20.30.12 0.0.0.3 area 0 R2(config-router)#network 10.20.30.16 0.0.0.3 area 0 R2(config-router)#exit R2(config)#
  • 97. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R3 10.20.30.8/30192.168.55.8/30 192.168.55.12/30 10.20.30.12/30 192.168.55.20/30 10.20.30.20/30 .9 .10 .21 .21 .10 .14 .14 f2/0.20 f0/0.20 f1/0.10 f1/1.10 f2/0.10 f0/0.10 f1/0.20 f1/1.20 costo 1 costo 2 costo 2 costo 2 costo 4 costo 2 R3(config)#ip vrf invitados R3(config-vrf)#rd 10:10 R3(config-vrf)#exit R3(config)#ip vrf coorporativos R3(config-vrf)#rd 10:20 R3(config-vrf)#exit R3(config)#interface fastethernet1/0 R3(config-if)#no shutdown R3(config-if)#exit R3(config)#interface fastethernet0/0 R3(config-if)#no shutdown R3(config-if)#exit R3(config)#interface fastethernet1/0.10 R3(config-subif)#ip vrf forwarding invitados R3(config-subif)#encapsulation dot1Q 10 R3(config-subif)#ip address 192.168.55.10 255.255.255.252 R3(config-subif)#no shutdown R3(config-subif)#ip ospf cost 1 R3(config-subif)#exit R3(config)#interface fastethernet0/0.10 R3(config-subif)#ip vrf forwarding invitados R3(config-subif)#encapsulation dot1Q 10 R3(config-subif)#ip address 192.168.55.14 255.255.255.252 R3(config-subif)#no shutdown R3(config-subif)#ip ospf cost 2 R3(config-subif)#exit
  • 98. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R3 10.20.30.8/30192.168.55.8/30 192.168.55.12/30 10.20.30.12/30 192.168.55.20/30 10.20.30.20/30 .9 .10 .21 .21 .10 .14 .14 f2/0.20 f0/0.20 f1/0.10 f1/1.10 f2/0.10 f0/0.10 f1/0.20 f1/1.20 costo 1 costo 2 costo 2 costo 2 costo 4 costo 2 R3(config)#ip vrf invitados R3(config-vrf)#rd 10:10 R3(config-vrf)#exit R3(config)#ip vrf coorporativos R3(config-vrf)#rd 10:20 R3(config-vrf)#exit R3(config)#interface fastethernet1/1 R3(config-if)#no shutdown R3(config-if)#exit R3(config)#interface fastethernet1/1.10 R3(config-subif)#ip vrf forwarding invitados R3(config-subif)#encapsulation dot1Q 10 R3(config-subif)#ip address 192.168.55.21 255.255.255.252 R3(config-subif)#no shutdown R3(config-subif)#ip ospf cost 2 R3(config-subif)#exit R3(config)# R3(config)#interface fastethernet1/0.20 R3(config-subif)#ip vrf forwarding coorporativos R3(config-subif)#encapsulation dot1Q 20 R3(config-subif)#ip address 10.20.30.10 255.255.255.252 R3(config-subif)#no shutdown R3(config-subif)#ip ospf cost 4 R3(config-subif)#exit
  • 99. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R3(config)#interface fastethernet0/0.20 R3(config-subif)#ip vrf forwarding coorporativos R3(config-subif)#encapsulation dot1Q 20 R3(config-subif)#ip address 10.20.30.14 255.255.255.252 R3(config-subif)#no shutdown R3(config-subif)#ip ospf cost 2 R3(config-subif)#exit R3(config)#interface fastethernet1/1.20 R3(config-subif)#ip vrf forwarding coorporativos R3(config-subif)#encapsulation dot1Q 20 R3(config-subif)#ip address 10.20.30.21 255.255.255.252 R3(config-subif)#no shutdown R3(config-subif)#ip ospf cost 2 R3(config-subif)#exit R3 10.20.30.8/30192.168.55.8/30 192.168.55.12/30 10.20.30.12/30 192.168.55.20/30 10.20.30.20/30 .9 .10 .21 .21 .10 .14 .14 f2/0.20 f0/0.20 f1/0.10 f1/1.10 f2/0.10 f0/0.10 f1/0.20 f1/1.20 costo 1 costo 2 costo 2 costo 2 costo 4 costo 2 R3(config)#ip vrf invitados R3(config-vrf)#rd 10:10 R3(config-vrf)#exit R3(config)#ip vrf coorporativos R3(config-vrf)#rd 10:20 R3(config-vrf)#exit
  • 100. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R3(config)#ip route vrf invitados 200.10.2.0 255.255.255.0 192.168.55.22 R3(config)#ip route vrf coorporativos 200.20.2.0 255.255.255.0 10.20.30.22 R3 10.20.30.8/30192.168.55.8/30 192.168.55.12/30 10.20.30.12/30 192.168.55.20/30 10.20.30.20/30 .9 .10 .21 .21 .10 .14 .14 f2/0.20 f0/0.20 f1/0.10 f1/1.10 f2/0.10 f0/0.10 f1/0.20 f1/1.20 costo 1 costo 2 costo 2 costo 2 costo 4 costo 2 R3(config)#ip vrf invitados R3(config-vrf)#rd 10:10 R3(config-vrf)#exit R3(config)#ip vrf coorporativos R3(config-vrf)#rd 10:20 R3(config-vrf)#exit R3(config)#router ospf 10 vrf invitados R3(config-router)#redistribute static metric 15 subnets R3(config-router)#network 192.168.55.8 0.0.0.3 area 0 R3(config-router)#network 192.168.55.12 0.0.0.3 area 0 R3(config-router)#network 192.168.55.20 0.0.0.3 area 0 R3(config-router)#exit R3(config)# R3(config)#router ospf 20 vrf coorporativos R3(config-router)#redistribute static metric 15 subnets R3(config-router)#network 10.20.30.8 0.0.0.3 area 0 R3(config-router)#network 10.20.30.12 0.0.0.3 area 0 R3(config-router)#network 10.20.30.20 0.0.0.3 area 0 R3(config-router)#exit R3(config)#
  • 101. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO Rc(config)#interface fastethernet1/0 Rc(config-if)#ip vrf forwarding invitados Rc(config-if)#ip address 200.10.1.1 255.255.255.0 Rc(config-if)#no shutdown Rc(config-if)#exit Rc(config)# Rc(config)#interface fastethernet1/1 Rc(config-if)#ip vrf forwarding coorporativos Rc(config-if)#ip address 200.20.1.1 255.255.255.0 Rc(config-if)#no shutdown Rc(config-if)#exit Rc(config)# … … 200.10.1.0/24 200.20.1.0/24 Usuarios invitados Usuarios coorporativos Rc 192.168.55.16/30 10.20.30.16/30 .18 .17 .18 .17 f1/1.10 f0/0.10 f1/0 f1/1 f1/1.20 f0/0.20 Rc(config)#ip vrf invitados Rc(config-vrf)#rd 10:10 Rc(config-vrf)#exit Rc(config)#ip vrf coorporativos Rc(config-vrf)#rd 10:20 Rc(config-vrf)#exit
  • 102. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO Rc(config)#interface fastethernet0/0 Rc(config-if)#no shutdown Rc(config-if)#exit Rc(config)#interface fastethernet0/0.10 Rc(config-subif)#ip vrf forwarding invitados Rc(config-subif)#encapsulation dot1Q 10 Rc(config-subif)#ip address 192.168.55.17 255.255.255.252 Rc(config-subif)#no shutdown Rc(config-subif)#exit Rc(config)# Rc(config)#interface fastethernet0/0.20 Rc(config-subif)#ip vrf forwarding coorporativos Rc(config-subif)#encapsulation dot1Q 20 Rc(config-subif)#ip address 10.20.30.17 255.255.255.252 Rc(config-subif)#no shutdown Rc(config-subif)#exit Rc(config)# … … 200.10.1.0/24 200.20.1.0/24 Usuarios invitados Usuarios coorporativos Rc 192.168.55.16/30 10.20.30.16/30 .18 .17 .18 .17 f1/1.10 f0/0.10 f1/0 f1/1 f1/1.20 f0/0.20 Rc(config)#ip vrf invitados Rc(config-vrf)#rd 10:10 Rc(config-vrf)#exit Rc(config)#ip vrf coorporativos Rc(config-vrf)#rd 10:20 Rc(config-vrf)#exit Rc(config)#ip route vrf invitados 0.0.0.0 0.0.0.0 192.168.55.18 Rc(config)#ip route vrf coorporativos 0.0.0.0 0.0.0.0 10.20.30.18
  • 103. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO Rd(config)#interface fastethernet1/1 Rd(config-if)#ip vrf forwarding invitados Rd(config-if)#ip address 200.10.2.1 255.255.255.0 Rd(config-if)#no shutdown Rd(config-if)#exit Rd(config)# Rd(config)#interface fastethernet1/0 Rd(config-if)#ip vrf forwarding coorporativos Rd(config-if)#ip address 200.20.2.1 255.255.255.0 Rd(config-if)#no shutdown Rd(config-if)#exit Rd(config)# Rd(config)#ip vrf invitados Rd(config-vrf)#rd 10:10 Rd(config-vrf)#exit Rd(config)#ip vrf coorporativos Rd(config-vrf)#rd 10:20 Rd(config-vrf)#exit … … 200.10.2.0/24200.20.2.0/24 Usuarios invitados Usuarios coorporativos R3 Rd 192.168.55.20/30 10.20.30.20/30 .21 .22.21 .22 f1/1.10 f0/0.10 f1/0 f1/1 f1/1.20 f0/0.20
  • 104. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO Rd(config)#ip vrf invitados Rd(config-vrf)#rd 10:10 Rd(config-vrf)#exit Rd(config)#ip vrf coorporativos Rd(config-vrf)#rd 10:20 Rd(config-vrf)#exit … … 200.10.2.0/24200.20.2.0/24 Usuarios invitados Usuarios coorporativos R3 Rd 192.168.55.20/30 10.20.30.20/30 .21 .22.21 .22 f1/1.10 f0/0.10 f1/0 f1/1 f1/1.20 f0/0.20 Rd(config)#interface fastethernet0/0 Rd(config-if)#no shutdown Rd(config-if)#exit Rd(config)#interface fastethernet0/0.10 Rd(config-subif)#ip vrf forwarding invitados Rd(config-subif)#encapsulation dot1Q 10 Rd(config-subif)#ip address 192.168.55.22 255.255.255.252 Rd(config-subif)#no shutdown Rd(config-subif)#exit Rd(config)# Rd(config)#interface fastethernet0/0.20 Rd(config-subif)#ip vrf forwarding coorporativos Rd(config-subif)#encapsulation dot1Q 20 Rd(config-subif)#ip address 10.20.30.22 255.255.255.252 Rd(config-subif)#no shutdown Rd(config-isubf)#exit Rd(config)# Rd(config)#ip route vrf invitados 0.0.0.0 0.0.0.0 192.168.55.21 Rd(config)#ip route vrf coorporativos 0.0.0.0 0.0.0.0 10.20.30.21
  • 105. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO … … … … 200.10.1.0/24 200.20.1.0/24 200.10.2.0/24200.20.2.0/24 192.168.55.0/30 10.20.30.0/30 Acceso de Internet invitados Acceso de Internet coorporativa Usuarios invitados Usuarios invitados Usuarios coorporativos Usuarios coorporativos Ra Rb R1 R2 R3 Rc Rd .1 .2 .2 .1 OSPFv2 192.16.55.4/30 10.20.30.4/30 10.20.30.8/30192.168.55.8/30 192.168.55.12/30 10.20.30.12/30 192.168.55.16/30 10.20.30.16/30 192.168.55.20/30 10.20.30.20/30 costo 7 costo 1 costo 2costo 2 costo 2costo 1 costo 2 costo 4 costo 2 costo 2
  • 106. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R3#show ip route vrf invitados Routing Table: invitados O E2 200.10.1.0/24 [110/15] via 192.168.55.13, 00:48:22, FastEthernet0/0.10 S 200.10.2.0/24 [1/0] via 192.168.55.22 192.168.55.0/30 is subnetted, 6 subnets C 192.168.55.20 is directly connected, FastEthernet1/1.10 O 192.168.55.16 [110/4] via 192.168.55.13, 00:48:22, FastEthernet0/0.10 C 192.168.55.12 is directly connected, FastEthernet0/0.10 C 192.168.55.8 is directly connected, FastEthernet1/0.10 O 192.168.55.4 [110/8] via 192.168.55.9, 00:48:22, FastEthernet1/0.10 O 192.168.55.0 [110/2] via 192.168.55.9, 00:48:22, FastEthernet1/0.10 O*E2 0.0.0.0/0 [110/1] via 192.168.55.9, 00:48:22, FastEthernet1/0.10 R3#
  • 107. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO R3#show ip route vrf coorporativos Routing Table: coorporativos O E2 200.20.1.0/24 [110/15] via 10.20.30.13, 00:12:45, FastEthernet0/0.20 S 200.20.2.0/24 [1/0] via 10.20.30.22 10.0.0.0/30 is subnetted, 6 subnets O 10.20.30.0 [110/4] via 10.20.30.13, 00:12:45, FastEthernet0/0.20 O 10.20.30.4 [110/3] via 10.20.30.13, 00:12:45, FastEthernet0/0.20 C 10.20.30.8 is directly connected, FastEthernet1/0.20 C 10.20.30.12 is directly connected, FastEthernet0/0.20 O 10.20.30.16 [110/4] via 10.20.30.13, 00:12:45, FastEthernet0/0.20 C 10.20.30.20 is directly connected, FastEthernet1/1.20 O*E2 0.0.0.0/0 [110/1] via 10.20.30.13, 00:12:45, FastEthernet0/0.20 R3#
  • 108. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
  • 109. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO
  • 110. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS VIRTUAL ROUTING AND FORWARDING: Caso_03 CISCO https://www.fryguy.net/2011/09/09/basic-mpls-with-vrf-rd- and-bgp-vpnv4/ Basic MPLS with VRF, RD, and BGP VPNv4
  • 111. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS CASO DE ESTUDIO: Configuración en router CISCO con LDP
  • 112. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS RED MPLS DE ANÁLISIS P1 PE2 211.1.1.0/24 .1 .1 .1 .... .... .... .1 .... Rb Rc LAN UNI LAN UNMSM LAN UPAO LAN INICTEL-UNI P3 212.2.2.0/24 213.3.3.0/24 214.4.4.0/24 Rd Ra .1 PE1 P2 P4 70.7.7.4/30 70.7.7.24/30 70.7.7.0/30 70.7.7.8/30 70.7.7.12/30 70.7.7.16/30 70.7.7.20/30 70.7.7.28/30 .1 .2 .5 .6 .25 .26 .17 .18 .21 .22 .13 .14 .29 .30 .9 .10 C osto 1 C osto 4 C osto 4 C osto 1 Costo2 Costo 1 Costo 8 Costo3 80.8.8.0/30 80.8.8.4/30 80.8.8.8/30 80.8.8.12/30 .1 .2 .5 .6 .9 .10 .13 .14 Costo 1 Costo 1 Costo 1 Costo 1 Fa0/1 Fa1/1 Fa0/0 Fa1/0 Fa0/0 Fa0/1 Fa1/0 Fa1/1 Fa1/0 Fa0/0 Fa0/1 Fa0/0 Fa0/1 Fa1/0 Fa1/0 Fa1/1 Fa0/1 Fa0/1 Fa0/0 Fa1/0 Fa0/1 Fa0/1
  • 113. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Cisco Express Forwarding (CEF) CEF es una solución propietaria de CISCO IOS que tiene como objetivo ofrecer una conmutación más rápida. ►Cuando los routers y switches capa 3 tienen habilitados CEF, CEF crea su propia tabla a partir de la tabla de enrutamiento Red de destino Máscara de la red de destino Salto siguienteRed de destino Máscara de la red de destino Salto siguiente 210.10.10.0 255.255.255.0 1 5.5.5.1 220.20.20.0 255.255.255.0 1 5.5.5.5 CEF creaCEF crea Forwarding Information Base (FIB) Modo de conmutación de CISCOEnrutamiento basado en el destino http://www.cisco.com/en/US/docs/ios/12_2/switch/configuration/guide/xcfcef.html Usando CEF la tabla de rutas en cada router se asigna interfaces de salida para cada paquete sin tener que consultar la tabla de rutas tradicional, de forma que se ahorra tiempo. ►Es la tabla de rutas del router con soporte hardware.
  • 114. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS Cisco Express Forwarding (CEF) CEF se encuentra habilitado por defecto en los recientes IOS: Routers de la serie 7xxxx, etc ►Verifique si su IOS está habilitado con show running-config Router#configure terminal Router(config)#ip cef ►Habilite con: show ip cef show ip cef detail show ip cef summary http://www.cisco.com/en/US/docs/ios/12_2/switch/configuration/guide/xcfcef.html
  • 115. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS http://www.juniper.net/documentation/software/junos/junos85/swconfig85-vpns/frameset.html VPN IP y VPLS
  • 116. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
  • 117. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS
  • 118. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS RED MPLS DE ANÁLISIS P1 PE2 211.1.1.0/24 .1 .1 .1 .... .... .... .1 .... Rb Rc LAN UNI LAN UNMSM LAN UPAO LAN INICTEL-UNI P3 212.2.2.0/24 213.3.3.0/24 214.4.4.0/24 Rd Ra .1 PE1 P2 P4 70.7.7.4/30 70.7.7.24/30 70.7.7.0/30 70.7.7.8/30 70.7.7.12/30 70.7.7.16/30 70.7.7.20/30 70.7.7.28/30 .1 .2 .5 .6 .25 .26 .17 .18 .21 .22 .13 .14 .29 .30 .9 .10 C osto 1 C osto 4 C osto 4 C osto 1 Costo2 Costo 1 Costo 8 Costo3 80.8.8.0/30 80.8.8.4/30 80.8.8.8/30 80.8.8.12/30 .1 .2 .5 .6 .9 .10 .13 .14 Costo 1 Costo 1 Costo 1 Costo 1 Fa0/1 Fa1/1 Fa0/0 Fa1/0 Fa0/0 Fa0/1 Fa1/0 Fa1/1 Fa1/0 Fa0/0 Fa0/1 Fa0/0 Fa0/1 Fa1/0 Fa1/0 Fa1/1 Fa0/1 Fa0/1 Fa0/0 Fa1/0 Fa0/1 Fa0/1 P1#show ip cef fastEthernet 0/1 Prefix Next Hop Interface 70.7.7.4/30 attached FastEthernet0/1 70.7.7.6/32 70.7.7.6 FastEthernet0/1 P1#show ip cef fastEthernet 0/0 Prefix Next Hop Interface 70.7.7.0/30 attached FastEthernet0/0 70.7.7.1/32 70.7.7.1 FastEthernet0/0 70.7.7.12/30 70.7.7.1 FastEthernet0/0 80.8.8.0/30 70.7.7.1 FastEthernet0/0 80.8.8.4/30 70.7.7.1 FastEthernet0/0 211.1.1.0/24 70.7.7.1 FastEthernet0/0 212.2.2.0/24 70.7.7.1 FastEthernet0/0 P1# P1#show ip cef fastEthernet 1/0 Prefix Next Hop Interface 70.7.7.8/30 70.7.7.18 FastEthernet1/0 70.7.7.16/30 attached FastEthernet1/0 70.7.7.18/32 70.7.7.18 FastEthernet1/0 70.7.7.20/30 70.7.7.18 FastEthernet1/0 70.7.7.24/30 70.7.7.18 FastEthernet1/0 70.7.7.28/30 70.7.7.18 FastEthernet1/0 80.8.8.8/30 70.7.7.18 FastEthernet1/0 80.8.8.12/30 70.7.7.18 FastEthernet1/0 213.3.3.0/24 70.7.7.18 FastEthernet1/0 214.4.4.0/24 70.7.7.18 FastEthernet1/0
  • 119. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS P1 PE2 211.1.1.0/24 .1 .1 .1 .... .... .... .1 .... Rb Rc LAN UNI LAN UNMSM LAN UPAO LAN INICTEL-UNI P3 212.2.2.0/24 213.3.3.0/24 214.4.4.0/24 Rd Ra .1 PE1 P2 P4 70.7.7.4/30 70.7.7.24/30 70.7.7.0/30 70.7.7.8/30 70.7.7.12/30 70.7.7.16/30 70.7.7.20/30 70.7.7.28/30 .1 .2 .5 .6 .25 .26 .17 .18 .21 .22 .13 .14 .29 .30 .9 .10 C osto 1 C osto 4 C osto 4 C osto 1 Costo2 Costo 1 Costo 8 Costo3 80.8.8.0/30 80.8.8.4/30 80.8.8.8/30 80.8.8.12/30 .1 .2 .5 .6 .9 .10 .13 .14 Costo 1 Costo 1 Costo 1 Costo 1 Fa0/1 Fa1/1 Fa0/0 Fa1/0 Fa0/0 Fa0/1 Fa1/0 Fa1/1 Fa1/0 Fa0/0 Fa0/1 Fa0/0 Fa0/1 Fa1/0 Fa1/0 Fa1/1 Fa0/1 Fa0/1 Fa0/0 Fa1/0 Fa0/1 Fa0/1 PE1(config)#mpls label protocol ldp PE1(config)#interface fastethernet 0/1 PE1(config-if)#mpls ip PE1(config-if)#mpls mtu 1508 PE1(config-if)#exit PE1(config)#interface fastethernet 1/1 PE1(config-if)#mpls ip PE1(config-if)#mpls mtu 1508 PE1#show mpls interfaces fastEthernet 1/1 detail Interface FastEthernet1/1: IP labeling enabled (ldp): Interface config LSP Tunnel labeling not enabled BGP tagging not enabled Tagging operational Optimum Switching Vectors: IP to MPLS Turbo Vector MPLS Turbo Vector Fast Switching Vectors: IP to MPLS Fast Switching Vector MPLS Turbo Vector MTU = 1508 PE1#show mpls interfaces fastEthernet 0/1 detail Interface FastEthernet0/1: IP labeling enabled (ldp): Interface config LSP Tunnel labeling not enabled BGP tagging not enabled Tagging operational Optimum Switching Vectors: IP to MPLS Turbo Vector MPLS Turbo Vector Fast Switching Vectors: IP to MPLS Fast Switching Vector MPLS Turbo Vector MTU = 1508 SESIONES LDP DIRECTAMENTE CONECTADO
  • 120. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS P1 PE2 211.1.1.0/24 .1 .1 .1 .... .... .... .1 .... Rb Rc LAN UNI LAN UNMSM LAN UPAO LAN INICTEL-UNI P3 212.2.2.0/24 213.3.3.0/24 214.4.4.0/24 Rd Ra .1 PE1 P2 P4 70.7.7.4/30 70.7.7.24/30 70.7.7.0/30 70.7.7.8/30 70.7.7.12/30 70.7.7.16/30 70.7.7.20/30 70.7.7.28/30 .1 .2 .5 .6 .25 .26 .17 .18 .21 .22 .13 .14 .29 .30 .9 .10 C osto 1 C osto 4 C osto 4 C osto 1 Costo2 Costo 1 Costo 8 Costo3 80.8.8.0/30 80.8.8.4/30 80.8.8.8/30 80.8.8.12/30 .1 .2 .5 .6 .9 .10 .13 .14 Costo 1 Costo 1 Costo 1 Costo 1 Fa0/1 Fa1/1 Fa0/0 Fa1/0 Fa0/0 Fa0/1 Fa1/0 Fa1/1 Fa1/0 Fa0/0 Fa0/1 Fa0/0 Fa0/1 Fa1/0 Fa1/0 Fa1/1 Fa0/1 Fa0/1 Fa0/0 Fa1/0 Fa0/1 Fa0/1 P1(config)#mpls label protocol ldp P1(config)#interface fastethernet 0/0 P1(config-if)#mpls ip P1(config-if)#mpls mtu 1508 P1(config-if)#exit P1(config)#interface fastethernet 1/0 P1(config-if)#mpls ip P1(config-if)#mpls mtu 1508 P1(config-if)#exit P1(config)#interface fastethernet 0/1 P1(config-if)#mpls ip P1(config-if)#mpls mtu 1508 P2(config)#mpls label protocol ldp P2(config)#interface fastethernet 0/0 P2(config-if)#mpls ip P1(config-if)#mpls mtu 1508 P2(config-if)#exit P2(config)#interface fastethernet 0/1 P2(config-if)#mpls ip P1(config-if)#mpls mtu 1508 P2(config-if)#exit P2(config)#interface fastethernet 1/0 P2(config-if)#mpls ip P2(config-if)#mpls mtu 1508 Los demás router se configura de manera simular SESIONES LDP DIRECTAMENTE CONECTADO
  • 121. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS P1 PE2 211.1.1.0/24 .1 .1 .1 .... .... .... .1 .... Rb Rc LAN UNI LAN UNMSM LAN UPAO LAN INICTEL-UNI P3 212.2.2.0/24 213.3.3.0/24 214.4.4.0/24 Rd Ra .1 PE1 P2 P4 70.7.7.4/30 70.7.7.24/30 70.7.7.0/30 70.7.7.8/30 70.7.7.12/30 70.7.7.16/30 70.7.7.20/30 70.7.7.28/30 .1 .2 .5 .6 .25 .26 .17 .18 .21 .22 .13 .14 .29 .30 .9 .10 C osto 1 C osto 4 C osto 4 C osto 1 Costo2 Costo 1 Costo 8 Costo3 80.8.8.0/30 80.8.8.4/30 80.8.8.8/30 80.8.8.12/30 .1 .2 .5 .6 .9 .10 .13 .14 Costo 1 Costo 1 Costo 1 Costo 1 Fa0/1 Fa1/1 Fa0/0 Fa1/0 Fa0/0 Fa0/1 Fa1/0 Fa1/1 Fa1/0 Fa0/0 Fa0/1 Fa0/0 Fa0/1 Fa1/0 Fa1/0 Fa1/1 Fa0/1 Fa0/1 Fa0/0 Fa1/0 Fa0/1 Fa0/1 PE1#show mpls interfaces Interface IP Tunnel Operational FastEthernet0/1 Yes (ldp) No Yes FastEthernet1/1 Yes (ldp) No Yes P1#show mpls interfaces Interface IP Tunnel Operational FastEthernet0/0 Yes (ldp) No Yes FastEthernet0/1 Yes (ldp) No Yes FastEthernet1/0 Yes (ldp) No Yes P3#show mpls interfaces Interface IP Tunnel Operational FastEthernet0/1 Yes (ldp) No Yes FastEthernet1/0 Yes (ldp) No Yes FastEthernet1/1 Yes (ldp) No Yes PE2#show mpls interfaces Interface IP Tunnel Operational FastEthernet0/1 Yes (ldp) No Yes FastEthernet1/1 Yes (ldp) No Yes SESIONES LDP DIRECTAMENTE CONECTADO
  • 122. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS P1 PE2 211.1.1.0/24 .1 .1 .1 .... .... .... .1 .... Rb Rc LAN UNI LAN UNMSM LAN UPAO LAN INICTEL-UNI P3 212.2.2.0/24 213.3.3.0/24 214.4.4.0/24 Rd Ra .1 PE1 P2 P4 70.7.7.4/30 70.7.7.24/30 70.7.7.0/30 70.7.7.8/30 70.7.7.12/30 70.7.7.16/30 70.7.7.20/30 70.7.7.28/30 .1 .2 .5 .6 .25 .26 .17 .18 .21 .22 .13 .14 .29 .30 .9 .10 C osto 1 C osto 4 C osto 4 C osto 1 Costo2 Costo 1 Costo 8 Costo3 80.8.8.0/30 80.8.8.4/30 80.8.8.8/30 80.8.8.12/30 .1 .2 .5 .6 .9 .10 .13 .14 Costo 1 Costo 1 Costo 1 Costo 1 Fa0/1 Fa1/1 Fa0/0 Fa1/0 Fa0/0 Fa0/1 Fa1/0 Fa1/1 Fa1/0 Fa0/0 Fa0/1 Fa0/0 Fa0/1 Fa1/0 Fa1/0 Fa1/1 Fa0/1 Fa0/1 Fa0/0 Fa1/0 Fa0/1 Fa0/1 P1#show mpls ldp discovery Local LDP Identifier: 70.7.7.17:0 Discovery Sources: Interfaces: FastEthernet0/0 (ldp): xmit/recv LDP Id: 80.8.8.6:0; no host route FastEthernet0/1 (ldp): xmit/recv LDP Id: 70.7.7.21:0; no host route FastEthernet1/0 (ldp): xmit/recv LDP Id: 70.7.7.25:0; no host route P1#show mpls ldp neighbor Peer LDP Ident: 80.8.8.6:0; Local LDP Ident 70.7.7.17:0 TCP connection: 80.8.8.6.41142 - 70.7.7.17.646 State: Oper; Msgs sent/rcvd: 72/73; Downstream Up time: 00:47:22 LDP discovery sources: FastEthernet0/0, Src IP addr: 70.7.7.1 Addresses bound to peer LDP Ident: 80.8.8.2 70.7.7.1 80.8.8.6 70.7.7.13 Peer LDP Ident: 70.7.7.25:0; Local LDP Ident 70.7.7.17:0 TCP connection: 70.7.7.25.30779 - 70.7.7.17.646 State: Oper; Msgs sent/rcvd: 61/62; Downstream Up time: 00:37:27 LDP discovery sources: FastEthernet1/0, Src IP addr: 70.7.7.18 Addresses bound to peer LDP Ident: 70.7.7.14 70.7.7.18 70.7.7.25 Peer LDP Ident: 70.7.7.21:0; Local LDP Ident 70.7.7.17:0 TCP connection: 70.7.7.21.36522 - 70.7.7.17.646 State: Oper; Msgs sent/rcvd: 52/52; Downstream Up time: 00:28:26 LDP discovery sources: FastEthernet0/1, Src IP addr: 70.7.7.6 Addresses bound to peer LDP Ident: SESIONES LDP DIRECTAMENTE CONECTADO
  • 123. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS SESIONES LDP INDIRECTAMENTE CONECTADO P1 PE2 211.1.1.0/24 .1 .1 .1 .... .... .... .1 .... Rb Rc LAN UNI LAN UNMSM LAN UPAO LAN INICTEL-UNI P3 212.2.2.0/24 213.3.3.0/24 214.4.4.0/24 Rd Ra .1 PE1 P2 P4 70.7.7.4/30 70.7.7.24/30 70.7.7.0/30 70.7.7.8/30 70.7.7.12/30 70.7.7.16/30 70.7.7.20/30 70.7.7.28/30 .1 .2 .5 .6 .25 .26 .17 .18 .21 .22 .13 .14 .29 .30 .9 .10 C osto 1 C osto 4 C osto 4 C osto 1 Costo2 Costo 1 Costo 8 Costo3 80.8.8.0/30 80.8.8.4/30 80.8.8.8/30 80.8.8.12/30 .1 .2 .5 .6 .9 .10 .13 .14 Costo 1 Costo 1 Costo 1 Costo 1 Fa0/1 Fa1/1 Fa0/0 Fa1/0 Fa0/0 Fa0/1 Fa1/0 Fa1/1 Fa1/0 Fa0/0 Fa0/1 Fa0/0 Fa0/1 Fa1/0 Fa1/0 Fa1/1 Fa0/1 Fa0/1 Fa0/0 Fa1/0 Fa0/1 Fa0/1 tunel1 PE1(config)#interface tunnel 1 PE1(config-if)#tunnel destination 70.7.7.10 PE1(config-if)#tunnel source 70.7.7.1 PE1(config-if)#mpls ip PE1(config-if)#mpls mtu 1508 PE1(config-if)#exit PE2(config)#interface tunnel 1 PE2(config-if)#tunnel destination 70.7.7.1 PE2(config-if)#tunnel source 70.7.7.10 PE2(config-if)#mpls ip PE2(config-if)#mpls mtu 1508 PE2(config-if)#exit Verifique con el tracetrace la trayectoria del túnel
  • 124. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS SESIONES LDP INDIRECTAMENTE CONECTADO P1 PE2 211.1.1.0/24 .1 .1 .1 .... .... .... .1 .... Rb Rc LAN UNI LAN UNMSM LAN UPAO LAN INICTEL-UNI P3 212.2.2.0/24 213.3.3.0/24 214.4.4.0/24 Rd Ra .1 PE1 P2 P4 70.7.7.4/30 70.7.7.24/30 70.7.7.0/30 70.7.7.8/30 70.7.7.12/30 70.7.7.16/30 70.7.7.20/30 70.7.7.28/30 .1 .2 .5 .6 .25 .26 .17 .18 .21 .22 .13 .14 .29 .30 .9 .10 C osto 1 C osto 4 C osto 4 C osto 1 Costo2 Costo 1 Costo 8 Costo3 80.8.8.0/30 80.8.8.4/30 80.8.8.8/30 80.8.8.12/30 .1 .2 .5 .6 .9 .10 .13 .14 Costo 1 Costo 1 Costo 1 Costo 1 Fa0/1 Fa1/1 Fa0/0 Fa1/0 Fa0/0 Fa0/1 Fa1/0 Fa1/1 Fa1/0 Fa0/0 Fa0/1 Fa0/0 Fa0/1 Fa1/0 Fa1/0 Fa1/1 Fa0/1 Fa0/1 Fa0/0 Fa1/0 Fa0/1 Fa0/1 tunel 1 PE1#show mpls ldp discovery all Local LDP Identifier: 80.8.8.6:0 Discovery Sources: Interfaces: FastEthernet0/1 (ldp): xmit/recv LDP Id: 70.7.7.17:0; no host route FastEthernet1/1 (ldp): xmit/recv LDP Id: 70.7.7.25:0; no host route Tunnel1 (ldp): xmitTunnel1 (ldp): xmit PE1#show mpls ldp discovery all Local LDP Identifier: 80.8.8.6:0 Discovery Sources: Interfaces: FastEthernet0/1 (ldp): xmit/recv LDP Id: 70.7.7.17:0; no host route FastEthernet1/1 (ldp): xmit/recv LDP Id: 70.7.7.25:0; no host route Despuésde creareltúnel
  • 125. Profesor Daniel Díaz Ataucuri ddiaz1610@gmail.com2018 MULTIPROTOCOL LABEL SWICHING - MPLSMULTIPROTOCOL LABEL SWICHING - MPLS SESIONES LDP INDIRECTAMENTE CONECTADO P1 PE2 211.1.1.0/24 .1 .1 .1 .... .... .... .1 .... Rb Rc LAN UNI LAN UNMSM LAN UPAO LAN INICTEL-UNI P3 212.2.2.0/24 213.3.3.0/24 214.4.4.0/24 Rd Ra .1 PE1 P2 P4 70.7.7.4/30 70.7.7.24/30 70.7.7.0/30 70.7.7.8/30 70.7.7.12/30 70.7.7.16/30 70.7.7.20/30 70.7.7.28/30 .1 .2 .5 .6 .25 .26 .17 .18 .21 .22 .13 .14 .29 .30 .9 .10 C osto 1 C osto 4 C osto 4 C osto 1 Costo2 Costo 1 Costo 8 Costo3 80.8.8.0/30 80.8.8.4/30 80.8.8.8/30 80.8.8.12/30 .1 .2 .5 .6 .9 .10 .13 .14 Costo 1 Costo 1 Costo 1 Costo 1 Fa0/1 Fa1/1 Fa0/0 Fa1/0 Fa0/0 Fa0/1 Fa1/0 Fa1/1 Fa1/0 Fa0/0 Fa0/1 Fa0/0 Fa0/1 Fa1/0 Fa1/0 Fa1/1 Fa0/1 Fa0/1 Fa0/0 Fa1/0 Fa0/1 Fa0/1 tunel 1 PE2#show mpls ldp discovery all detail Local LDP Identifier: 80.8.8.13:0 Discovery Sources: Interfaces: FastEthernet0/1 (ldp): xmit/recv Enabled: Interface config Hello interval: 5000 ms; Transport IP addr: 80.8.8.13 LDP Id: 70.7.7.29:0; no host route to transport addr Src IP addr: 70.7.7.29; Transport IP addr: 70.7.7.29 Hold time: 15 sec; Proposed local/peer: 15/15 sec Reachable via 70.7.7.28/30 FastEthernet1/1 (ldp): xmit/recv Enabled: Interface config Hello interval: 5000 ms; Transport IP addr: 80.8.8.13 LDP Id: 70.7.7.21:0; no host route to transport addr Src IP addr: 70.7.7.9; Transport IP addr: 70.7.7.21 Hold time: 15 sec; Proposed local/peer: 15/15 sec Reachable via 70.7.7.20/30 Tunnel1 (ldp): xmitTunnel1 (ldp): xmit Enabled: Interface configEnabled: Interface config Hello interval: 5000 ms; Transport IP addr: 80.8.8.13Hello interval: 5000 ms; Transport IP addr: 80.8.8.13