1 / 22

Arquitectura TCP/IP

Arquitectura TCP/IP. Arquitectura TCP/IP. TCP. UDP. 4. Proto=6. Proto=17. ICMP. IP. ARP. RARP. 3. Proto=1. Type=0x800. Type=0x806. Type=0x8035. 2. Ethernet / SNAP. Formato de trama (IP). 1. 2. 3.

todd-boone
Download Presentation

Arquitectura TCP/IP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Arquitectura TCP/IP

  2. Arquitectura TCP/IP TCP UDP 4 Proto=6 Proto=17 ICMP IP ARP RARP 3 Proto=1 Type=0x800 Type=0x806 Type=0x8035 2 Ethernet / SNAP

  3. Formato de trama (IP) 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Versión IHL Tipo de servicio Longitud total Identificación 0 D M Offset del fragmento Tiempo de vida Protocolo Checksum del encabezado Dirección fuente Dirección destino Opciones Padding

  4. Formato de trama (IP) ... 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Versión IHL Tipo de servicio Longitud total Identificación 0 D M Offest del fragmento Tiempo de vida Protocolo Checksum del encabezado Dirección fuente Dirección destino Opciones Padding

  5. Fragmentación D M Identificación: 1001 0 0 0 Offset fragmento: 0 1280 bytes de datos A) antes de fragmentar D M Identificación: 1001 0 0 1 Offset fragmento: 0 512 bytes de datos B) primer fragmento

  6. Fragmentación (cont…) D M Identificación: 1001 0 0 1 Offset fragmento: 64 512 bytes de datos C) segundo fragmento D M Identificación: 1001 0 0 0 Offset fragmento: 128 256 bytes de datos D) último fragmento

  7. Identificador de protocolo (ejemplos) No Acrónimo Protocolo 1 3 6 17 88 ICMP GGP TCP UDP IGRP Internet Control Message Protocol Gateway to Gateway Protocol Transmission Control Protocol User Datagram Protocol Interior Gateway Routing Protocol

  8. Opciones 1er byte de la opción • Fin de la lista de opciones 00000000 • No operación 00000001 • Opción de seguridad básica 10000010 • Opción de seguridad extendida 10000101 • Ruteo fuente no estricto 10000011 • Ruteo fuente estricto 10001001 • Estampa de tiempo de Internet 01000100 • Registro de ruta 00000111 • Identificador de stream 10001000

  9. Direccionamiento (IPV4) 0 Red Host Clase A 1 - 127 1 0 Red Host Clase B 128 - 191 1 1 0 Red Host Clase C 192 - 223 1 1 1 0 Dirección de multicast Clase D 224 - 239 1 1 1 1 Reservado Clase E 240 - 247

  10. Subredes y máscara (ejemplo) 0 16 22 31 • 6 bits para subred y 10 bits para host • 62 subredes (la 1 y 0 están reservadas) • 1022 nodos cada subred • Márcara de configuración: 255.255.252.0 1 0 Red Subred Host 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0

  11. Ejemplo de paquete IP 0000 AA 00 04 00 19 04 02 60 8C AA 09 3B 08 00 45 00 0010 00 29 FE 09 40 00 20 06 27 43 94 CD 0A E7 94 CD 0020 01 01 04 09 00 17 00 09 46 5E 69 D2 DF 1E 50 18 0030 1C 77 AA 59 00 00 20 20 20 20 20 20 45 00 00 29 FE 09 40 00 20 06 27 43 94 CD 0A E7 94 CD 01 01 Ver: 4, IHL:5, Tipo Serv: 00, Long: 29H (41), ID = FE09H, D=1, M=0, Offset: 0, TTL: 20H (32), Proto = TCP (6), CheckSum:2743H, Dir. Fuente:94CD0AE7 (148.205.10.231) Dir. Destino:94CD0101 (148.205.1.1)

  12. Protocolo (ICMP) 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Encabezado IP ICMP type ICMP code ICMP checksum Datos específicos del mensaje Datos específicos del mensaje

  13. Principales mensajes ICMP ICMP type Tipos de mensajes Descripción - Destino no alcanzable -Tiempo excedido -Problemas de parámetros -Control de emisor -Redirección -Petición de eco -Respuesta eco 3 11 12 4 5 8 0 - Paquete no se entregó -TTL = 0 -Campo inválido en el encabezado -Controlar emisión de paquete -Aprendizaje de rutas -Preguntar si una máquina está viva -Respuesta afirmativa de eco

  14. Ejemplo de paquete ICMP (eco request) 0000 00 A0 24 A1 A1 80 00 A0 24 A1 A1 2D 08 00 45 00 0010 00 3C 6D 02 00 00 20 01 EE 85 94 CD 0A CF 94 CD 0020 0A D0 08 00 4B 5C 01 00 01 00 61 62 63 64 65 66 0030 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 0040 77 61 62 63 64 65 66 67 68 69 08 00 4B 5C 01 00 01 00 Dir. Fuente:94CD0ACF (148.205.10.207) Dir. Destino:94CD0AD0 (148.205.10.208) ICMP type: 8, ICMP code: 0, CheckSum: 4B5CH, Identificador: 0100H, Número secuencia:0100H, Contenido: Abecedario

  15. Ejemplo de paquete ICMP (eco reply) 0000 00 A0 24 A1 A1 2D 00 A0 24 A1 A1 80 08 00 45 00 0010 00 3C BF 01 00 00 20 01 9C 86 94 CD 0A D0 94 CD 0020 0A CF 00 00 53 5C 01 00 01 00 61 62 63 64 65 66 0030 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 0040 77 61 62 63 64 65 66 67 68 69 00 00 53 5C 01 00 01 00 Dir. Fuente:94CD0AD0 (148.205.10.208) Dir. Destino:94CD0ACF (148.205.10.207) ICMP type: 0, ICMP code: 0, CheckSum: 535CH, Identificador: 0100H, Número secuencia:0100H, Contenido: Abecedario

  16. Protocolo ARP 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 Tipo Hardware Tipo Protocolo HLEN PLEN Operación Dir. MAC fuente (6 bytes) Dir. IP fuente (4 bytes) Dir. MAC destino (6 bytes) Dir. IP destino (4 bytes)

  17. 00 01 08 00 06 04 00 01 00 A0 24 A1 9E 4F 94 CD 0A 0E 00 00 00 00 00 00 94 CD 0A 6B Ejemplo de paquete ARP (request) 0000 FF FF FF FF FF FF 00 A0 24 A1 9E 4F 08 06 00 01 0010 08 00 06 04 00 01 00 A0 24 A1 9E 4F 94 CD 0A 0E 0020 00 00 00 00 00 00 94 CD 0A 6B 6B 6B 6B 6B 6B 6B 0030 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B Dir. Fuente: 00A024A19E4F, Dir. Destino: Broadcast Protocolo:0806H, Tipo Hardware: 0001 (ethernet), Tipo protocolo: 0800H (ARP), HLEN:06, PLEN:04, Operación:0001 (request), Dir. MAC emisor:00A024A19E4F, IP emisor:148.205.10.14, Dir. MAC destino:000000000000 IP destino: 148.205.10.107, Relleno:6BH

  18. Multicast IP Tiempo real No tiempo real • Servidor de video • Videoconferencia • Audio en Internet • Gráficos + audio • Replicación • Servidor de WEB • Kioskos • Entrega de contenido • Intranet & Internet Multimedia • Entrega de información • Servidor - servidor • Servidor - desktop • Replicación de DB • Distribución software • Casa de bolsa • Noticias • Juegos • interactivos Datos

  19. Esquema de una red Multicast Red Red R R Red R R Red Red

  20. Protocolo (IPV6) • Características: 1) Soporte para millones de hosts 2) Reduce el tamaño de las tablas de ruteo 3) Simplifica el protocolo, para que los ruteadores procesen más rápido los paquetes 4) Incrementa la seguridad 5) Reconoce el Tipo de servicio 6) Mejora el multicast 7) Permite movilidad 8) Flexible para evolución futura 9) Coexiste con la versión anterior

  21. Formato de trama (IPv6) 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Versión Prior. Etiqueta de flujo Siguiente encabezado Longitud Payload Limite Hop Dirección fuente (16 bytes) Dirección destino (16 bytes)

  22. Formato de trama (IPv6) 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Versión Prior. Etiqueta de flujo Siguiente encabezado Longitud Payload Limite Hop Dirección fuente (16 bytes) Dirección destino (16 bytes)

More Related