Академический Документы
Профессиональный Документы
Культура Документы
Captulo 5
Problemas de Diseo
Algoritmos de Enrutamiento
Control de Congestin
Calidad de Servicio
Interconexin (Internetworking)
La capa de Red de la Internet
La capa de Red
Responsable de la entrega de
paquetes entre puntos finales o
extremos sobre mltiples enlaces.
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Aplicacin
Transporte
RED
Enlace
Fsica
Problemas de Diseo
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Almacenamiento y Re-envo
Conmutacin de Paquetes
Los Hosts envan Paquetes por la Red; Los Paquetes
son re-enviados por los enrutadores (Routers).
ISPs equipment
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Tabla de A (inicial)
Tabla A (despues)
Tabla de C
Tabla de E
Destino Linea
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Orientado a la Conexin
Circuitos Virtuales
Los Paquetes son Reenviados a lo largo del Circuito Virtual
usando una etiqueta interna
El Circuito Virtual (VC) se configura de Antemano
Equipamiento del ISP
Tabla de A
Tabla de C
Tabla de E
Principio de Optimalidad
Algoritmo del Camino mas Corto
Inundacin
Ruteo de Vector Distancia
Ruteo de Estado de Enlace
Ruteo Jerrquico
Ruteo por Difusin
Ruteo por Multidifusin
Ruteo Monodifusin (Unicast)
Ruteo para Hosts Mviles
Ruteo en Redes ad-hoc
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
El Principio de Optimalidad
Cada porcin de un mejor camino es tambin un mejor
camino; La asociacin de ellos a un router es el rbol
llamado rbol Sumidero o rbol Divergente
En el ejemplo: el mejor camino es el menor
nmero de saltos hacia un destino
B
Red
Etapa de recalculo. Si
la nueva distancia es
menor a la anterior, el
nodo pasa a formar
parte del rbol
...
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Inundacin
Un mtodo simple para enviar un paquete a todos los
nodos de la red
Cada Nodo, con la llegada de un nuevo paquete por un
enlace lo enva por el resto de los enlaces, inundndolos.
Los nodos necesitan tener un registro de la inundacin
para terminar con la misma, incluso utilizando un nmero
de saltos lmite el proceso puede desbordarse
exponencialmente
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Algoritmo:
Cada nodo conoce la distancia de los enlaces a sus
vecinos
Cada nodo anuncia a sus vecinos el vector de menores
distancias conocidas.
Cada Nodo utiliza los vectores recibidos para actualizar
su informacin
Se repite peridicamente
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Control de Admisin
El Control de Admisin permite trfico nuevo solo si la red
tiene suficiente capacidad, i.e., con Circuitos virtuales
Puede combinarse con la bsqueda de una ruta no
congestionada.
Porcin No congestionada y
rutas de A a B alrededor de la
Congestin
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Estrangulamiento de Trfico
Los Routers congestionados envan una seal para relentizar el
trfico
Notificacin Explcita de Congestin -ECN (Explicit
Congestion Notification): el sistema receptor marca los
paquetes y devuelve la seal al emisor para notificarlo.
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Desprendimiento de Cargas(2)
Extremo a Extremo (a la
derecha) Toma ms
tiempo para producir un
efecto, Pero puede
resolver mejor la causa de
la congestin
1
5
2
6
3
7
4
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Calidad de Servicio
Requerimientos de la Aplicacin
Modelado de Trfico (Traffic Shaping)
Organizacin de Paquetes (Packet scheduling)
Control de Admisin
Servicios Integrados
Servicios Diferenciados (DiffServ)
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Aplicacin
Telefona
Videoconferencia
Transferencia de Archivos
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
El Modelado de trfico
regula la tasa promedio y
rfagas de datos que
ingresan a la red
Nos permite establecer
garantas
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Shape
traffic
here
to send
to send
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
1 1
2 2
3
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Mezcla
R3 reserva flujos
desde S1
R3 reserva flujos
desde S2
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Interconexin (Internetworking)
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Posibilidades
Servicio Ofrecido
Direccionamiento
Difusin
Tamao de Paquete
Ordenamiento
Calidad de Servicio
Confiabilidad
Seguridad
Parametrizacin
Contabilizacin
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Tunelizacin (1)
Conecta dos redes a travs de un medio Enlace Virtual
Los Paquetes se encapsulan en el tnel
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Tunelizacin (2)
Analoga de los Tneles:
Los tneles son enlaces; Los paquetes pueden
entrar o salir solo en los extremos
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
G1 fragmentos
G2 reensamblados
G3 fragmentos
G4 reensamblados
G1 fragmentos
en el destino se
re-ensamblan
Fragmentacin de Paquetes(2)
Ejemplo de la Fragmentacin Estilo IP
Numero de Inicio Bit de
paquete offset Final
Paquete Original:
(10 bytes de datos)
Fragmentado:
(en 8 bytes de
datos)
Re-fragmentado:
(en 5 bytes)
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Prueba
1200
Prueba 900
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
IP Versin 4
Direccionamiento IP
IP Versin 6
Protocolos de Control de Internet
Conmutacin de Etiquetas y MPLS
OSPF Protocolo de enrutamiento interior
BGP Protocolo de enrutamiento Exterior
Multidifusin en Internet
Movilidad IP
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Direcciones IP (4)
Coincidencia de Prefijo ms larga
Los paquetes se envan a un destino en base al prefijo
ms largo o al bloque de direcciones ms pequeo
Complica el envo pero aade flexibilidad
Excepto para
esta parte
El prefijo principal
va por este camino
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Direcciones IP (5)
Direccionamiento con Clase
El Direccionamiento est definido en bloques de tamao
fijo llamados clases (A, B, C)
Lleva el tamao como parte de la direccin pero carece
de flexibilidad
Llamado Direccionamiento Con Clase (vs. Sin Clase)
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
IP Versin 6 (1)
Fu la mayor actualizacin de la dcada de 1990 debido al
inminente agotamiento de las direcciones IP, otros objetivos:
IP Versin 6 (2 )
El encabezado del protocolo IPv6 tiene las direcciones mucho
ms largas (128 vs. 32 bits) y es ms simple que IPv4
(mediante el uso de cabeceras de extensin)
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
IP Versin 6 (3)
Las extensiones de cabecera de IPv6 manejan otras
funcionalidades
Cabecera de Extensin
Descripcin
Opciones de Destino
Ruteo
Fragmentacin
Autenticacin
Calidad de Servicio
Confiabilidad
Seguridad
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Grafo:
3
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Multidifusin en Internet
Los Grupos tienen un rango de IP reservado (Clase D)
Los miembros de un grupo son manejados por
IGMP (Internet Group Management Protocol) que
corre en los routers
Las rutas son calculadas por protocolos como PIM:
El modo Denso utiliza RPF con poda
El modo Disperso utiliza rboles basados en ncleo
La Multidifusin IP no se utiliza mucho, excepto dentro
de una sola red, por ejemplo: en la red del centro de
datos (datacenter), o la red de TV por cable.
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Movilidad IP
Los hosts Mviles pueden alcanzarse por medio de un
agente fijo.
Los Agentes fijos envan por tneles los paquetes hacia
los hosts mviles; las respuestas pueden optimizar los
caminos para los paquetes siguientes
No es necesario cambios en los routers o hosts
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011
Fin
Captulo 5
CN5E by Tanenbaum & Wetherall, Pearson Education-Prentice Hall and D. Wetherall, 2011