Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
Profesor Daniel Díaz [email protected]
Profesor Titular de Telecomunicaciones de la UNIProfesor Titular de Telecomunicaciones de la UNMSMDirector de Investigación y Desarrollo Tecnológico del
INICTEL-UNI
Marzo – Diciembre de 2014
MULTIPROTOCOLMULTIPROTOCOLLABELLABEL
SWITCHINGSWITCHING
IntroducciónIntroducción Arquitectura MPLS:Arquitectura MPLS: Datos y ControlDatos y Control FuncionamientoFuncionamiento SeñalizaciónSeñalización ConfiguraciónConfiguración
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
INTRODUCCION
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
Que soluciona MPLSQue soluciona MPLSVelocidadEscalabilidadQoSGestiónIngeniería de tráfico
MTSO: Mobile Telephone Switching Office(Oficina de Conmutación de Telefonía Móvil)
MPLS COMO RED DE TRANSPORTE
http://lteuniversity.com/get_trained/expert_opinion1/b/psamudra/archive/2013/07/19/a-tale-of-two-backhauls.aspx
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
CONCEPTOS BÁSICOS
Enrutamiento en la capa de Internettiene dos planos básicos:
►Planos de Datos o Envío (Forwarding) Responsable del envío de los paquetes, usa:.Tablas de envío actualizado en un router.Información transportado en un paquete.
Consiste de un grupo de procedimientos o algoritmos que el router usa para decidir el envío de paquetes: 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 (se basa en dirección de origen/destino e interfaz de entrada)
►Plano de Control Responsable de la construcción y mantenimiento de la tabla de envío. Consiste de:Uno o más protocolos de enrutamientoProcedimientos o algoritmos para obtener la tabla de envío.
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
CONCEPTOS BÁSICOS
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
Dife
rent
e or
igen
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►Los paquetes que pertenecen a una aplicación entre dos host mapeados a un prefijo de dirección de red.
Escalabilidad y
flexibilidad
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
CONMUTACIÓN DE ETIQUETAS
Los planos de envío y control del enrutamiento en lacapa de Internet puede adaptarse a la conmutación deetiqueta (label switching).►En especial, el plano de datos o envío de conmutación de plano de datos o envío de conmutación de etiquetaetiqueta toma la decisión de envío del paquete en base a:Tabla de envío mantenido por el Label Switching Router-LSREtiqueta transportada en un paquete.
Concepto de etiqueta: IP SwitchingIP Switching►Es una entidad pequeña y de longitud fija.
►No codifica directamente ningún tipo de información de la cabecera de la capa de Internet.
datos Cabecera
IP
datos Cabecera
IP etiquetado
Etiqueta
Analizado ennuevas tablasLFIB, ubicadosen los LSR
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ARQUITECTURA MPLS
MPLS divide la arquitectura de un router en doscomponentes:
►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
►Plano de dato o envío, controla el envío del paquete basado en:Dirección de destinoEtiquetas
Se crea un Label Forwarding Information Base-LFIB►El plano de control crea la tabla LFIBLFIB donde se almacena las etiquetas que es usada por el plano de envío. ►La tabla LFIB es creada/actualizada por los protocolos LDP, CR-LDP, RSVP-TE ó BGP
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ARQUITECTURA MPLS
Información del CCNP de CISCO
Cada plano se puede implementary modificar independientemente
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
Físico
Enlace dedatos
MPLS
UBICACIÓN DE MPLS EN EL MODELO OSI
Red
Transporte
Sesión
Presentación
Aplicación
Físico
Enlace dedatos
Red
Transporte
Sesión
Presentación
Aplicación
MPLSCapa 2.5
MPLS no reemplaza el enrutamiento IPMPLS no reemplaza el enrutamiento IP
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ARQUITECTURA MPLS:PLANO DE DATOS
Ó DE ENVÍO
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ARQUITECTURA MPLS: PLANO DE DATOS
El plano de envío o datos toma la decisión de envío de un paquete considerando dos orígenes de información:►Tabla de envío o forwarding, mantenido en los LSR.►La etiqueta es transportada en el paquete.
datos IP n1 datos IP n2
1 2
3
1
Interfaz deentrada
n1
Etiqueta deentrada
2
Interfaz desalida
n2
Etiqueta desalida
TABLA LFIB
1
Interfaz deentrada
n1
Etiqueta deentrada
2
Interfaz desalida
n2
Etiqueta desalida
datos IP n1 datos IP n2
1 2
3datos IP n3
3
Interfaz desalida
n3
Etiqueta desalida
TABLA LFIB
Adicional, reserva de recursos:En que tipo de cola de salidael paquete es almacenado
Adicional, reserva de recursos:En que tipo de cola de salidael paquete es almacenado
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ARQUITECTURA MPLS: PLANO DE DATOSCabecera MPLS
EtiquetaMPLS
EXP S TTL
20bits 3bits 1bits 8bits
Campo Etiqueta MPLS.►Campo de 20 bits. Valores del 0 al 15 son reservados.
Campo EXP ó experimental.►Campo de 3 bits. Indica CoS o información de PHB.
Campo S ó Stack►Campo de 1 bit. Indica un grupo ó stack de etiquetas.
Campo TTL ó Time-To-Live►Campo de 8 bits. Elimina bucles en la región MPLS.
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ARQUITECTURA MPLS: PLANO DE DATOSAdició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
40 b
ytes
m
ax20
byt
es
DS Etiqueta de flujo
Dirección de origen
40 b
ytes
Ver
Longitud de carga útil Límite saltoCabe.sigte
Dirección de destino
PDU de la capa superior
Cabecera opcionales
Dirección de origen
Opc
iona
l
0 4 8 16 19 31
Cabe
cera
CabeceraMPLSS=1
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ARQUITECTURA MPLS:PLANO DE CONTROL
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ARQUITECTURA MPLS: PLANO DE CONTROL
El plano de control es responsable de:►Distribuir información de enrutamiento entre LSR.►Los procedimientos (algoritmos) que usa los LSR para convertir esa información en tabla de envío que es usada por el plano de datos o de envío.
Existe gran similitud entre el plano de control de unaarquitectura de enrutamiento convencional y de conmutación de etiqueta:►En MPLS se incluye todos los protocolos de enrutamiento de IP.►Enrutamiento de IP es una parte de conmutación por etiquetas.
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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
Tabla de envío de conmutación de etiquetas(etiquetas para relacionar el siguiente salto)
Plano de control
FEC para relacionarsiguiente salto
FEC para relacionaretiquetas
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
FUNCIONAMIENTODE UNA RED MPLS
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROPUESTA MPLS POR LA IETF
Los inicios de MPLS se remota a mediados de los 90cuando 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.cs.wustl.edu/~jain/cis788-97/ftp/ip_switching/index.htm
2 http://www.bcr.com/equipment/product_reviews/cascade_promises_qos_for_isps_19970101323.htm
Consideraron el uso de OSPF para definir los pathy 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 [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
2 1
11
6
2
3
AREAS RELACIONADOS CON MPLS
Calidad de Servicio-QoS►MPLS ofrece una arquitectura de red orientada a conexión sobre la Internet basada en IP.
►Se garantiza capacidades fijas, control de latencia y jiiter para aplicaciones de tiempo real. Variedad de QoS.
Ingeniería de Tráfico
IP
Según OSPF
Porqué no utilizar ésta región subutilizada
►Dos flujos, con diferentes QoS, entre dos puntos extremos de la red pueden seguir rutas diferentes.
►RFC 3272: Overview and Principles of Internet Traffic Engineering.
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
AREAS RELACIONADOS CON MPLS
Virtual Private Network-VPN►Tráfico originados en una empresa o grupos de empresas pasan por la Internet de manera transparente, agregada, eficiente y segura.
InternetInternet
Túnel
Local 1
Local 2
Local 3
Dato
Dato
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
AREAS RELACIONADOS CON MPLS
Multiprotocolo►MPLS es usado sobre multiples tecnologías.
►Routers IP deben ser actualizados para soportar MPLS.
►Switches ATM deben ser actualizados para soportar MPLS.
►Switches Frame Relay deben ser actualizados para soportar MPLS.
►El router IP MPLS coloca una etiqueta delante del protocolo de capa 3, que es la base de la conmutación
►MPLS en Internet basada en IP es independiente del tipo de protocolo IP: IPv4/IPv6
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ESCENARIO DE UNA RED MPLS
REDMPLS
REDLAN RED
LAN
Router IP
EdgeLSR
EdgeLSR
LSR LSR
LSR LSR
IP
IP
IP Etiqueta
IP
Introduce (push)Etiqueta
LSP
QoS en la Red MPLS
AnalizaEtiqueta
AnalizaEtiqueta
AnalizaEtiqueta
AnalizaEtiqueta
Extrae (pop)
Etiqueta
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PRINCIPIO DE CONMUTACION EN MPLS
REDMPLS
REDLAN RED
LAN
Router IP
EdgeLSR
EdgeLSR
LSR LSR
LSR LSR
1
2
1 2
3
1
23
4
1
2 3
4 1
2 3
1
2 3
IP IP
IP70
IP34
IP17
IP
IP
IPIP
23
IP 80
IP77
IP71
Las etiquetas tienen significadolocal; 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 BaseLFIB=Label Forwarding Information Base
LFIB=Label Forwarding Information Base
Esta primera etiquetadefine la trayectoria(LSP) seguida por el paquete en la red. (FEC)
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PRINCIPIO DE CONMUTACION EN MPLS
REDMPLS
REDLAN RED
LAN
Router IP
EdgeLSR
EdgeLSR
LSR LSR
LSR LSR
1
2
1 2
3
1
23
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 cadaLSP.
QoS para cadaLSP.
QoS para cadaLSP.
QoS para cadaLSP.
QoS para cadaLSP.
Red orientada a conexión
Mediofísico
LSP
LSP
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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 [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
RED MPLS
REDMPLS
EdgeLSR
EdgeLSR
LSR LSR
LSR LSR
EdgeLSR
EdgeLSR
Red delCliente
Red delCliente
Red delCliente
Red delCliente
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
FORWARDING EQUIVALENCE CLASS-FEC
El FEC para un paquete puede ser determinado porel 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 [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ROUTER DEL PROVEEDOR Y CLIENTE
Red delproveedor
Red delusuario
Red deusuario
1
2
1 2
3
1
23
4
1
2 3
4 1
2 3
1
2 3PEPE
P P
P P
CE
CC
CE .- Customer EdgeC .- Customer
PE .- Provider EdgeP .- Provider
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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 3140
byt
es
max
20 b
ytes
DS Etiqueta de flujo
Dirección de origen
40 b
ytes
Ver
Longitud de carga útil Límite saltoCabe.sigte
Dirección de destino
PDU de la capa superior
Cabecera opcionales
Dirección de origen
Opc
iona
l
0 4 8 16 19 31
Cabe
cera
CabeceraMPLS
CabeceraMPLS
Lab
elS
tack
ing
APILAMIENTO DE ETIQUETAS
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
Un paquete IP etiquetado puede transportar variasetiquetas.►Stack tipo LIFO: Last-In-First-Out.
LABEL STACKING
Label Stacking permite la agregación de LSPs enun 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únelesentre puntos de presencia (PoP, Points of Presence)►Pocos túneles pocas tablas: mejora la escalabilidad.
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
LABEL STACKING
1
2
1 2
3
1
23
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
IP31
IP72
IP41
IP91
LSP1
LSP 2
IP9170IP
7270
LSP
IP9117IP
7217
LSP 1
LSP2
IP 27
IP 81
IP
IP91IP
72 IP 61
IP 25
IP
LSPLSP1
LSP2
Túnel
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO DESEÑALIZACIÓN
RSVP-TE
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO RSVP –vs - RSVP-TE
Redesde acceso
Redesde acceso
Redesde acceso
Redesde acceso
Backbone IP
Redesde acceso
Redesde acceso
Redesde acceso
Redesde acceso Backbone
MPLS
Mensaje Path
Mensaje Resv
Señalización RSVPRSVPDefinido en RFC 2205
Mensaje Path
Mensaje Resv
Señalización RSVP-TERSVP-TEDefinido en RFC 3209
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO RSVP (RFC 2205)
PATH: Define trayectoria
RESV: Realiza reserva
Dato
s
IPCab.RSVP
OBJ 1OBJ 2OBJ n ...Objetos de RSVP
Protocolo RSVP
Cab.IP
IPCab.RSVP
OBJ xOBJ 2OBJ 1 ...Objetos de RSVP
Protocolo RSVP
Cab.IP
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
Cabecera delObjeto 1
Cabecera delObjeto 1
Contenido delObjeto 1
Contenido delObjeto 1
Objeto 1Objeto 1
Objeto η Objeto 2 Objeto 1……..
Objeto κ Objeto p Objeto 1……..
Cabecera RSVP
Cabecera RSVP
Mensaje 1
Mensaje 2
PROTOCOLO RSVP (RFC 2205)
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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 Protocolo46 Suma de chequeo
Dirección de origen
Dirección de destino
0 4 8 16 19 31
20 b
ytes
Cabe
ceraIPv4
DS Etiqueta de flujo
Dirección de origen
40 b
ytes
Ver
Longitud de carga útil Límite saltoCabe.sigte46
Dirección de destino
Dirección de origen
0 4 8 16 19 31
IPv6
PROTOCOLO RSVP (RFC 2205)
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
Formato de un objeto
Contenido del objeto
C-TypeLongitud del objeto Class-Num
PROTOCOLO RSVP (RFC 2205)
►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=1 para IPv6
►Contenido del objeto es de uno (01) o más palabras de 32 bits
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
Objeto Session
PATHSessionSenderSender TspecTime-ValRSVP-Hop
RESVSessionFilter SpecFlow SpecStyleTime-ValRSVP-Hop
Dirección IPv4 de destino
C-Type1
Longitud del objeto Class-Num1
Puerto de destinoFlagsID Protocol Dirección IPv6 de destino
C-Type2
Longitud del objeto Class-Num1
Puerto de destinoFlagsID Protocol
PROTOCOLO RSVP (RFC 2205)
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
Objeto RSVP_HOP
PATHSessionSenderSender TspecTime-ValRSVP-Hop
RESVSessionFilter SpecFlow SpecStyleTime-ValRSVP-Hop
Dirección IPv4 salto siguiente/previo
C-Type1
Longitud del objeto Class-Num3
Manejo de interfaz lógica Dirección IPv6 salto siguiente/previo
C-Type2
Longitud del objeto Class-Num3
Manejo de interfaz lógica
PROTOCOLO RSVP (RFC 2205)
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO RSVP-TERSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
Objetos principales
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO RSVP-TEhttp://www.ciscopress.com/articles/article.asp?p=426640&seqNum=2
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO DESEÑALIZACIÓN
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO LDPRFC 5036 LDP Specification
MPLS LDP suministra los medios para que los LSRrequieran, distribuyan y actualicen información deetiquetas.
MPLS LDP es útil para aplicaciones que requierenenví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 mensajespara tratar de encontrar otro LSR para crear una sesión LDP.
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO LDPRFC 5036 LDP Specification
El protocolo LDP es utilizado para establecerMPLS 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.
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO RSVP-TERSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
El protocolo RSVP, inicialmente se definió en la RF 2205: ►Resource ReSerVation Protocol (RSVP) -- Version 1 Functional Specification
Se encapsula directamente en IPv4 o IPv6: ►Está formado por objetos
►Se define inicialmente 07 tipos de mensajes
►La asignación de recursos es realizado por el nodo distante (receptor)
Mensaje PathPath y ResvResv son claves para la creación de estados en los nodos de la red.
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO RSVP-TERSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
Router a Router c
Router d Router e
Router b
RED 3RED 3
RED 1RED 1
PC A
Router x
RED 2RED 2
PC B
Router y
Red Dest. Router Sgte.
A Internet cRed 2 Directo
Red Dest. Router Sgte.
2 b
3 e
1 a
Red Dest. Router Sgte.
2 b
3 d
1 x
Red Dest. Router Sgte.
2 c
3 e
1 aRed Dest. Router Sgte.
2 y
3 e
1 b
IPa IPb
IPcIPa IPb
IPa IPb
Mensaje ResvIPb
QoSMensaje ResvIPa
QoS
Mensaje pathIPB
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO RSVP-TEhttp://www.ciscopress.com/articles/article.asp?p=426640&seqNum=2
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO RSVP-TERSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
Objetos principales
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
PROTOCOLO RSVP-TERSVP-TE: Extensions to RSVP for LSP Tunnels : http://www.ietf.org/rfc/rfc3209.txt
Objetos extendidos
Mensaje PathMensaje Path
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
CASO DE ESTUDIO:Configuración en
router CISCO con LDP
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/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 [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
Cisco Express Forwarding (CEF)
CEF es una solución propietaria de CISCO IOS quetiene 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 Red de destino Máscara de la red de destino Salto siguientedestino 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 asignainterfaces de salida para cada paquete sin tener queconsultar la tabla de rutas tradicional, de forma quese ahorra tiempo. ►Es la tabla de rutas del router con soporte hardware.
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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 terminalRouter(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 [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
RED MPLS DE ANÁLISIS
P1
PE2
211.1.1.0/24
.1
.1
.1
....
.... ....
.1
....
Rb
Rc
LAN UNILAN 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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/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/1Prefix Next Hop Interface70.7.7.4/30 attached FastEthernet0/170.7.7.6/32 70.7.7.6 FastEthernet0/1
P1#show ip cef fastEthernet 0/0Prefix Next Hop Interface70.7.7.0/30 attached FastEthernet0/070.7.7.1/32 70.7.7.1 FastEthernet0/070.7.7.12/30 70.7.7.1 FastEthernet0/080.8.8.0/30 70.7.7.1 FastEthernet0/080.8.8.4/30 70.7.7.1 FastEthernet0/0211.1.1.0/24 70.7.7.1 FastEthernet0/0212.2.2.0/24 70.7.7.1 FastEthernet0/0P1#
P1#show ip cef fastEthernet 1/0Prefix Next Hop Interface70.7.7.8/30 70.7.7.18 FastEthernet1/070.7.7.16/30 attached FastEthernet1/070.7.7.18/32 70.7.7.18 FastEthernet1/070.7.7.20/30 70.7.7.18 FastEthernet1/070.7.7.24/30 70.7.7.18 FastEthernet1/070.7.7.28/30 70.7.7.18 FastEthernet1/080.8.8.8/30 70.7.7.18 FastEthernet1/080.8.8.12/30 70.7.7.18 FastEthernet1/0213.3.3.0/24 70.7.7.18 FastEthernet1/0214.4.4.0/24 70.7.7.18 FastEthernet1/0
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/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 ldpPE1(config)#interface fastethernet 0/1PE1(config-if)#mpls ipPE1(config-if)#mpls mtu 1508PE1(config-if)#exitPE1(config)#interface fastethernet 1/1PE1(config-if)#mpls ipPE1(config-if)#mpls mtu 1508
PE1#show mpls interfaces fastEthernet 1/1 detailInterface 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 detailInterface 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 [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/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 ldpP1(config)#interface fastethernet 0/0P1(config-if)#mpls ipP1(config-if)#mpls mtu 1508P1(config-if)#exitP1(config)#interface fastethernet 1/0P1(config-if)#mpls ipP1(config-if)#mpls mtu 1508P1(config-if)#exitP1(config)#interface fastethernet 0/1P1(config-if)#mpls ipP1(config-if)#mpls mtu 1508
P2(config)#mpls label protocol ldpP2(config)#interface fastethernet 0/0P2(config-if)#mpls ipP1(config-if)#mpls mtu 1508P2(config-if)#exitP2(config)#interface fastethernet 0/1P2(config-if)#mpls ipP1(config-if)#mpls mtu 1508P2(config-if)#exitP2(config)#interface fastethernet 1/0P2(config-if)#mpls ipP2(config-if)#mpls mtu 1508
Los demás router se
configura de manera simular
SESIONES LDP DIRECTAMENTE CONECTADO
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/
1
Fa0/
1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
PE1#show mpls interfacesInterface IP Tunnel OperationalFastEthernet0/1 Yes (ldp) No YesFastEthernet1/1 Yes (ldp) No Yes
P1#show mpls interfacesInterface IP Tunnel OperationalFastEthernet0/0 Yes (ldp) No YesFastEthernet0/1 Yes (ldp) No YesFastEthernet1/0 Yes (ldp) No Yes
P3#show mpls interfacesInterface IP Tunnel OperationalFastEthernet0/1 Yes (ldp) No YesFastEthernet1/0 Yes (ldp) No YesFastEthernet1/1 Yes (ldp) No Yes
PE2#show mpls interfacesInterface IP Tunnel OperationalFastEthernet0/1 Yes (ldp) No YesFastEthernet1/1 Yes (ldp) No Yes
SESIONES LDP DIRECTAMENTE CONECTADO
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/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: 70.7.7.21 70.7.7.9 70.7.7.6
SESIONES LDP DIRECTAMENTE CONECTADO
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/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 1PE1(config-if)#tunnel destination 70.7.7.10PE1(config-if)#tunnel source 70.7.7.1 PE1(config-if)#mpls ipPE1(config-if)#mpls mtu 1508PE1(config-if)#exit
PE2(config)#interface tunnel 1PE2(config-if)#tunnel destination 70.7.7.1 PE2(config-if)#tunnel source 70.7.7.10PE2(config-if)#mpls ipPE2(config-if)#mpls mtu 1508PE2(config-if)#exit
Verifique con el tracetrace la trayectoria del túnel
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/
1
Fa0/
1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
tunel 1PE1#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
De
sp
ué
s d
ec
rea
r e
l tú
ne
l
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/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
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/
1
Fa0/
1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
tunel 1
ICMPv4ICMPv4
IPv4IPv4
MPLSMPLS
ETHERNETETHERNET
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/0
Fa0/1
Fa1/0
Fa1/0
Fa1/1
Fa0/
1
Fa0/
1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
IP 22
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
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.1
6/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
Costo 1
Costo 4
Costo 4
Costo 1
Co
sto
2
Costo 1
Costo 8
Co
sto 3
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 1Costo 1
Costo 1
Fa0/1
Fa1/1
Fa0/0
Fa1/0
Fa0/0 Fa0/1
Fa1/0
Fa1/1
Fa1/0 Fa0/0
Fa
0/1Fa0/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 [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
CASO DE ESTUDIO:Configuración en router
CISCO con RSVP-TE
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ANALISIS RSVP-TE
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
70.7.7.4/30
70.7.
7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30 70.7
.7.2
0/30
70.7.7.24/30
.1
.2.5 .6
.26
.17 .21
.13
.14
.25
.9
.10
Costo 1
Costo 4 Costo 5
Costo 1
Co
sto 2
Costo 8
Co
sto
3
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/0F
a0/0
Fa0
/1
Fa1/0
Fa1/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
Fa0
/1
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
ANALISIS RSVP-TE
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
70.7.7.4/30
70.7.
7.0/30
70.7.7.8/30
70.7.7.12/30
70.7.7.16/30 70.7
.7.2
0/30
70.7.7.24/30
.1
.2.5 .6
.26
.17 .21
.13
.14
.25
.9
.10
Costo 1
Costo 4 Costo 5
Costo 1
Co
sto 2
Costo 8
Co
sto
3
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/0F
a0/0
Fa0
/1
Fa1/0
Fa1/1
Fa0/1
Fa0/0
Fa1/0
Fa0/1
Fa0/1
Fa0
/1
Profesor Daniel Díaz Ataucuri [email protected]
Multiprotocol Multiprotocol Label Label
SwichingSwiching
BIBLIOGRAFIA
http://www.cisco.com/en/US/docs/ios/12_4t/12_4t2/ftldp41.html
MPLS Label Distribution Protocol (LDP)
http://www.rediris.es/rediris/boletin/53/enfoque1.html
MPLS: Una arquitectura de backbone para la Internet delsiglo XXI
http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_4-3/mpls.html
MPLS por The Internet Protocol Journal de CISCO.
http://www.ciscopress.com/articles/article.asp?p=426640&seqNum=4
Configuring MPLS TE: RSVP-TE
obligadoobligado
http://www.cisco.com/en/US/docs/switches/datacenter/sw/5_x/nx-os/mpls/configuration/guide/mp_te_RSVP.html