1 / 20

A ddress R esolution P rotocol

A ddress R esolution P rotocol. Host A. Host B. Aplicación. Aplicación. Transporte. Transporte. Gateway. Inter-red. Inter-red. Inter-red. Interface de Red. Interface de Red. Interface de Red. Interface de Red. Red Física 2. Red Física 1. Introducción.

haroun
Download Presentation

A ddress R esolution P rotocol

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. Address Resolution Protocol

  2. Host A Host B Aplicación Aplicación Transporte Transporte Gateway Inter-red Inter-red Inter-red Interface de Red Interface de Red Interface de Red Interface de Red Red Física 2 Red Física 1 Introducción En toda red de computadores se necesita enviar información de una máquina a otra.

  3. Host A Host B Aplicación Aplicación 8 6 6 2 4 <1500 Transporte Transporte Gateway Inter-red Inter-red Inter-red Direcciones de Hardware Interface de Red Interface de Red PREÁMBULO DESTINO FUENTE TIPO DATOS CRC Interface de Red Interface de Red Red Física 2 Red Física 1 Introducción En toda red de computadores se necesita enviar información de una máquina a otra. Los paquetes de información Ethernet tienen la siguiente estructura:

  4. LUCAS JUAN MATEO Introducción Las capas superiores del modelo ISO/OSI proporcionan nombres simbólicos y direcciones IP para lograr la comunicación. Pero a nivel físico se necesitan direcciones de HW IP: 200.1.17.130 IP: 200.1.17.4

  5. Direcciones IP fuente y destino Cabecera IP Área de Datos PREÁMBULO DESTINO FUENTE TIPO DATOS ? ? Introducción Área de Datos EHERNET Cabecera ETHERNET CRC

  6. Dirección IP Dirección HW 200.1.17.1 200.1.17.2 200.1.17.3 200.1.17.4 00:02:52:DF:A5:E9 00:A4:EF:45:87:A1 00:12:AB:78:00:D6 00:C9:10:F0:02:44 Técnicas de Resolución • Búsqueda en Tablas • Cálculo en forma cerrada • Intercambiode mensajes ARP

  7. Técnicas de Resolución • Búsqueda en Tablas • Cálculo en forma cerrada • Intercambiode mensajes ARP

  8. Técnicas de Resolución • Búsqueda en Tablas • Cálculo en forma cerrada • Intercambiode mensajes ARP

  9. Address Resolution Protocol ARP obtiene las direcciones de HW a partir de las direcciones IP. APLICACIONES NFS FTP SNMP CMOT XDR CMOT ASN.1 SMTP RLOGIN RSH TELNET DNS ASN.1 TFTP BOOTP RPC TCP UDP IP + ICMP + IGMP ARP RARP HARDWARE + ENLACE DE DATOS + PROTOCOLOS DE ACCESO

  10. Se difunden (broadcast) mensajes a través de la red, “preguntando” la dirección física de la máquina. Address Resolution Protocol

  11. Rce-2 Rce-8 Rce-1 Rce-4 Rce-3 Address Resolution Protocol Dir HW Rce-3 ¿Dir HW Rce-3?

  12. Nt-1 Rce-2 ROUTER Nt-7 Rce-1 ROUTER Rce-4 Pot-6 Rce-3 Pot-5 Address Resolution Protocol Tx a Pot-5

  13. Nt-1 Rce-2 ROUTER Nt-7 Rce-1 ROUTER Rce-4 Pot-6 Rce-3 Pot-5 Address Resolution Protocol Dir HW Pot-5

  14. Nt-1 Rce-2 ROUTER Nt-7 Rce-1 ROUTER Rce-4 Pot-6 Rce-3 Pot-5 Address Resolution Protocol Comienza Tx

  15. Address Resolution Protocol • Utilización de tablas en memoria cache: • Si dos máquinas se han comunicado es altamente probable que en el futuro próximo vuelvan a hacerlo. • La información viaja fragmentada, por lo que muchos frames se dirigen a la msima máquina.

  16. Comando ARP Para diferentes sistemas (y dependiendo de la versión) el comando ARP ejecuta acciones ligeramente diferentes. Veremos dos ejemplos: • Linux • Sun

  17. ARP en Lucas bash$ arp Usage: arp hostname arp -a arp -d hostname arp -s hostname ether_addr [temp] [pub] [trail] arp -f filename bash$ arp -a Net to Media Table Device IP Address Mask Flags Phys Addr ------ -------------------- --------------- ----- --------------- hme0 rce-56.elo.utfsm.cl 255.255.255.255 00:40:05:68:5a:06 hme0 rce-57.elo.utfsm.cl 255.255.255.255 00:c0:df:49:32:3e hme0 rce-58.elo.utfsm.cl 255.255.255.255 00:40:05:16:30:09 hme0 rce-59.elo.utfsm.cl 255.255.255.255 00:c0:df:46:66:5b hme0 rce-14.elo.utfsm.cl 255.255.255.255 00:c0:df:48:f1:90

  18. hme0 rce-17.elo.utfsm.cl 255.255.255.255 00:c0:df:44:df:0b hme0 rce-18.elo.utfsm.cl 255.255.255.255 00:40:05:18:e0:66 hme0 rce-04.elo.utfsm.cl 255.255.255.255 00:c0:df:48:e9:28 hme0 rce-05.elo.utfsm.cl 255.255.255.255 00:50:4d:02:03:7c hme0 rce-06.elo.utfsm.cl 255.255.255.255 00:c0:df:49:38:44 hme0 rce-07.elo.utfsm.cl 255.255.255.255 00:c0:df:45:70:6d hme0 rce-08.elo.utfsm.cl 255.255.255.255 00:c0:df:49:31:79 hme0 rce-09.elo.utfsm.cl 255.255.255.255 00:c0:df:49:b1:3f hme0 rce-10.elo.utfsm.cl 255.255.255.255 00:c0:df:45:5a:d5 hme0 rce-11.elo.utfsm.cl 255.255.255.255 00:50:4d:03:00:31 hme0 rce-01.elo.utfsm.cl 255.255.255.255 00:50:4d:02:03:96 hme0 rce-02.elo.utfsm.cl 255.255.255.255 00:00:00:00:00:02 hme0 rce-03.elo.utfsm.cl 255.255.255.255 00:c0:df:45:6c:2b hme0 juan 255.255.255.255 00:80:c8:46:3e:7d hme0 dagobah.elo.utfsm.cl 255.255.255.255 00:40:05:68:24:10 hme0 rce-44.elo.utfsm.cl 255.255.255.255 00:c0:df:49:38:fb hme0 rce-46.elo.utfsm.cl 255.255.255.255 00:c0:df:10:46:bd hme0 rce-47.elo.utfsm.cl 255.255.255.255 00:c0:df:41:cb:14 hme0 rce-48.elo.utfsm.cl 255.255.255.255 00:c0:df:44:07:e1 hme0 rce-49.elo.utfsm.cl 255.255.255.255 00:80:c8:1d:07:82

  19. hme0 rce-27.elo.utfsm.cl 255.255.255.255 00:c0:df:45:84:d6 hme0 0.0.0.0 255.255.255.255 00:40:05:18:e0:73 hme0 lucas 255.255.255.255 SP 08:00:20:8f:4f:bb hme0 BASE-ADDRESS.MCAST.NET 240.0.0.0 SM 01:00:5e:00:00:00 bash$ arp rce-25.elo.utfsm.cl rce-25.elo.utfsm.cl (200.1.17.165) at 0:c0:df:45:65:7b bash$ arp 200.1.17.165 200.1.17.165 (200.1.17.165) at 0:c0:df:45:65:7b bash$

  20. ARP en Lucas [skywolf@juan /sbin]$ ./arp Address HWtype HWaddress Flags Mask Iface elo-gw.utfsm.cl ether 08:00:02:1F:09:78 C eth0 lucas.elo.utfsm.cl ether 08:00:20:8F:4F:BB C eth1 prometeo.elo.utfsm.cl ether 00:80:C8:28:B8:70 C eth0 rce-56.elo.utfsm.cl ether 00:40:05:68:5A:06 C eth1 hercules.elo.utfsm.cl ether 00:40:05:48:FF:D1 C eth0 mateo.elo.utfsm.cl ether 08:00:20:8F:53:51 C eth0 morgul.atmlab.utfsm.clether 00:80:C8:46:3E:71 C eth0 rce-43.elo.utfsm.cl ether 00:50:4D:01:05:A3 C eth1 pcdirector.elo.utfsm.cl ether 00:C0:DF:45:6C:08 C eth0 rce-17.elo.utfsm.cl ether 00:C0:DF:44:DF:0B C eth1 rce-51.elo.utfsm.cl ether 00:40:05:67:32:79 C eth1

More Related