Вы находитесь на странице: 1из 23

Modelo OSI y Protocolos

Principales TCP/IP

IDR7501
Intergación de Redes
Escuela de Informática y
Telecomunicaciones

1
Administración de Servicios de Red
El modelo OSI

Capa Nivel
7 Application
6 Presentation
5 Session
4 Transport
3 Network
2 Data Link
1 Physical

Administración de Servicios de Red 2


El modelo OSI

CAPA NOMBRE FUNCIONES UNIDADES DIRECCIONES EJEMPLOS

Servicios para Terlnet, FTP,


7 APLICACIÓN Mensajes Process ID
las Aplicaciones HTTP

Formato y Mensajes
6 PRESENTACIÓN - XDR, ASN.1
Sintaxis

Establecimiento
Mensajes
5 SESIÓN y Mantención de - RPC, Netbios
Sesiones
Conexiones
4 TRANSPORTE Confiables “end Segmentos Ports TCP, UDP
to end”

Direcciones
3 RED Enrutamiento Datagramas IP, IPX
Lógicas (IP)

Direcciones
Enmarcado y IEEE 802.x,
2 ENLACE Tramas (frames) Físicas (MAC,
Sincronismo PPP, HDLC
DLCI)
Características
Físicas y RS-232, IEEE-
1 FÍSICA Bits -
Mecánicas de la 449, X.21
Conexión

Administración de Servicios de Red 3


El modelo DoD (Department Of Defense)

DoD OSI

Application

Process / Application Presentation

Session

Host to Host Transport

Internet Network

Data Link
Network Access
Physical

Administración de Servicios de Red 4


Stack de Principales Protocolos TCP/IP

DoD (TCP/IP) OSI Internet Suite Protocols

FTP NFS SNMP


Application NNTP XDR TFTP
TELNET RPC BOOTP
Presentation DHCP
Process / Application SMTP NIS
SSH RTP
Session ASP DNS RTCP
HTTP NetBIOS DNS

Host to Host Transport TCP UDP

IP, ICMP, IGMP, IPSec, RIP, OSPF,


Internet Network
EIGRP, BGP, ARP, RARP

Data Link IEEE 802.3 (Ethernet), IEEE 802.5


(Token Ring), 802.11 (Wi-Fi), HDLC,
Network Access
PPP, Frame Relay, ATM, etc
Physical (basta que sea binario)

Administración de Servicios de Red 5


IPv4

• No Confiable
• No Orientado a la Conexión
• De Mejor Esfuerzo
• RFC 791

Administración de Servicios de Red 6


Direccionamiento IPv4

Range (First Network/Host Default


Class Left MSB
Octet) Portions Subnet Mask

A 0xxxxxxx 0 – 127 N.H.H.H 255.0.0.0

B 10xxxxxx 128 – 191 N.N.H.H 255.255.0.0

C 110xxxxx 192 – 223 N.N.N.H 255.255.255.0

D 1110xxxx 224 – 239 Not Applicable Not Applicable

E 1111xxxx 240 – 255 Not Applicable Not Applicable

Administración de Servicios de Red 7


Direccionamiento IPv4

• Redes Privadas
• CIDR
• NAT

Administración de Servicios de Red 8


Conversión Binaria

N of Subnet Bits Binary Decimal Hex

8 11111111 255 FF

7 11111110 254 FE

6 11111100 252 FC

5 11111000 248 F8

4 11110000 240 F0

3 11100000 224 E0

2 11000000 192 C0

1 10000000 128 80

Administración de Servicios de Red 9


Notación DDN y Prefijo

DDN Prefijo

255.0.0.0 /8

255.255.0.0 / 16

255.255.255.0 / 24

255.255.255.252 / 30

255.240.0.0 / 12

255.255.248.0 / 21

255.255.255.255 / 32

255.254.0.0 / 15

Administración de Servicios de Red 10


Encabezado del IPv4 (RFC 791)

Administración de Servicios de Red 11


Encabezado del IPv4 en Wireshark

IPv4
Header

Administración de Servicios de Red 12


Encabezado de ARP y RARP (RFC 826)

Administración de Servicios de Red 13


Encabezado de ARP en Wireshark

ARP
Header

Administración de Servicios de Red 14


Encabezado de ICMP (RFC 792)

Comienza después del IP

Administración de Servicios de Red 15


Encabezado de ICMP en Wireshark

ICMP
Header

Administración de Servicios de Red 16


Encabezado del TCP (RFC 793)

CWR (1 bit) – Congestion Window Reduced (CWR) flag is set by the sending host to indicate that it received a TCP segment with the ECE flag set and had responded in congestion
control mechanism (added to header by RFC 3168).
ECE (1 bit) – ECN-Echo indicates
If the SYN flag is set (1), that the TCP peer is ECN capable.
If the SYN flag is clear (0), that a packet with Congestion Experienced flag in IP header set is received during normal transmission (added to header by RFC 3168).
URG (1 bit) – indicates that the Urgent pointer field is significant
ACK (1 bit) – indicates that the Acknowledgment field is significant. All packets after the initial SYN packet sent by the client should have this flag set.
PSH (1 bit) – Push function. Asks to push the buffered data to the receiving application.
RST (1 bit) – Reset the connection
SYN (1 bit) – Synchronize sequence numbers. Only the first packet sent from each end should have this flag set. Some other flags change meaning based on this flag, and some are
only valid for when it is set, and others when it is clear.
FIN (1 bit) – No more data from sender

Administración de Servicios de Red 17


Encabezado del TCP en Wireshark

TCP
Header

Administración de Servicios de Red 18


Encabezado del UDP (RFC 768)

Administración de Servicios de Red 19


Encabezado del UDP en Wireshark

UDP
Header

Administración de Servicios de Red 20


Encabezado del DNS

Administración de Servicios de Red 21


Encabezado del DNS en Wireshark

DNS
Header

Administración de Servicios de Red 22


Resumen

Construido en forma grupal

Administración de Servicios de Red 23

Вам также может понравиться