1 / 11

Protocolo ICMPv4

Protocolo ICMPv4. Profa. Ana Cristina Benso da Silva Disciplina: Redes de Computadores. Introdução. Internet Control Message Protocol (ICMP) Utilizado para enviar mensagens de erro e de controle Protocolo de Nível 3 Encapsulado em um datagrama IP. Header ICMP Mensagem ICMP.

bernadine
Télécharger la présentation

Protocolo ICMPv4

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. Protocolo ICMPv4 Profa. Ana Cristina Benso da Silva Disciplina: Redes de Computadores

  2. Introdução • Internet Control Message Protocol (ICMP) • Utilizado para enviar mensagens de erro e de controle • Protocolo de Nível 3 • Encapsulado em um datagrama IP Header ICMP Mensagem ICMP Header IP ICMP Redes de Computadores Profa. Ana Benso

  3. Características ICMP • Não é enviada uma mensagem ICMP para mensagens ICMP de erro • Isto é: ICMP não relata erros que ocorram em mensagens ICMP • Atenção! Echo Request não é mensagem de erro • Os erros são relatados somente sobre o primeiro fragmento (offset = 0) Redes de Computadores Profa. Ana Benso

  4. Frame ICMP • O ICMP tem uma frame básico, comum a todos os tipo de mensagem • Type: tipo da mensagem • Echo, Timestamp, Destination Unreachable, ... • Code: tipo específico • Checksum: da mensagem ICMP 0 8 16 31 Type Code Checksum Redes de Computadores Profa. Ana Benso

  5. Tipos de Mensagens ICMP Tipo Descrição 15 Information request 16 Information reply 17 Address mask request 18 Address mask reply Tipo Descrição 0 Echo reply 3 Destination unreachable 4 Source quench 5 Redirect 8 Echo request 11 Time exceeded 12 Parameter unintelligible 13 Time-stamp request 14 Time-stamp reply Redes de Computadores Profa. Ana Benso

  6. 0 8 16 31 Type Code Checksum Identifier Sequence Number Optional Data ......... Echo Request e Echo Reply • Type: • 8 – Echo Request • 0 – Echo Reply • Code: sempre zero (0) Redes de Computadores Profa. Ana Benso

  7. 0 8 16 31 Type Code Checksum Unused (Must be Zero) Internet Header + First 64 bits of datagram ......... Destination Unreachable • Type: • 3 - Destination Unreachable • Code: • Vários códigos específicos Redes de Computadores Profa. Ana Benso

  8. Destination Unreachable - Códigos Código Descrição 0 Network unreachable 1 Host unreachable 2 Protocl unreachable 3 Port unreachable 4 Fragmentation need and don’t fragment bit set 5 Source route failed 6 Destination network unknon 7 Destination host unknown 8 Source host isolated 9 Communication with dest net administratively prohibited 10 Communication with dest host administratively prohibited 11 Network unreachable for type of service 12 Host unreachable for type of service Redes de Computadores Profa. Ana Benso

  9. 0 8 16 31 Type Code Checksum Unused (Must be Zero) Internet Header + First 64 bits of datagram ......... Time Exceeded • Type • 11 – Time Exceeded • Código • 0 – Time-to_live count exceeded • 1 – Fragment reassembly time exceeded Redes de Computadores Profa. Ana Benso

  10. Timestamp 0 8 16 31 • Type: • 13 ou 14 (request/reply) Type Code Checksum Identifier Sequence Number Origiante Timestamp Receive Timestamp Transmit Timestamp Redes de Computadores Profa. Ana Benso

  11. Outras Mensagens • Redirect • Gerada para correção de rotas • Address Maks Request/Reply • Gerada para solicitação de máscara de subrede • Source Quench • Gerada para controle de fluxo pelo nível 3 Redes de Computadores Profa. Ana Benso

More Related