欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PPT文档下载
    分享到微信 分享到微博 分享到QQ空间

    Internet Command Message Protocol(ICMP).ppt

    • 资源ID:376549       资源大小:110KB        全文页数:19页
    • 资源格式: PPT        下载积分:2000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要2000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    Internet Command Message Protocol(ICMP).ppt

    1、Internet Command Message Protocol (ICMP),CS-431 Dick Steflik,ICMP,Internet Command Message Protocol (ICMP)RFC 792Used to communicate IP status and error messages between host and routers,ICMP,Used to communicate IP status and error messages between hosts and routers Uses IP to route its messages bet

    2、ween hosts Must be implemented with IP remember, IP is just a packet delivery system transmits and routes datagrams from sources to destinations through a series of interconnected networks it has a checksum in the IP header to detect lost bits no error detection on the datagram payload though but ha

    3、s no native mechanism for source host notification This is where ICMP comes in its used to report IP errors to the source host ICMP data is carried as the payload of an IP datagram specifies additional message formats within this area,Basic ICMP Header,Headers are 32 bits in length; all contain same

    4、 three fields type - 8 bit message type code thirteen message type are defined code - 8 bit; indicating why message is being sent checksum - standard internet checksum 16 bit 1s complement sum of the payload and header for purpose of calculation the checksum field is set to zero,ICMP Message types,0

    5、 - Echo Reply 3 - Destination Unreachable 4 - Source Quench 5 - Redirect 8 - Echo 11 - Time Exceeded 12 - Parameter Problem 13 - Timestamp 14 - Timestamp Reply 15 - Information Request 16 - Information Reply 17 - Address Mask Request 18 - Address Mask Reply,Destination Unreachable (3),ICMP header (4

    6、 bytes) + unused 32 bits (4 bytes) + IP header (24 bytes) + first 64 bits of data (8 bytes) = 40 bytes Codes: 0 - net unreachable ; 1 - host unreachable 2 - protocol unreachable ; 3 - port unreachable sent by destination host IP module 4 - fragmentation needed DF set ; 5 source route failed 6 - dest

    7、ination network unknown ; 7 destination host unknown 8 - source host isolated ; 9 - comm. with destn network prohibited 10 - comm. With dest host prohibited ; 11 - network unreachable for service 12 - host unreachable for service Sent to originating host because destination is unreachable may be det

    8、ermined by a router destination IP may find the indicated protocol unavailable Dont Fragment (DF) bit in the IP header is set but fragmentation is required to continue forwarding,Source Quench (4),Same message format as type 3 Code : 0 Sent to a host when an intermediate router or the destination ho

    9、st with the source hosts transmission rate may be sent to a source when a router is saturated may be sent by a receiving host if it receive buffers are filling up Upon receipt the source host should throttle back on its transmission rate until the Source Quench goes away. Can then increase its trans

    10、mission rate,Redirect (5),Same format as type 3 Code: 0 - redirect datagrams for the network 1 - redirect datagrams for the host 2 - redirect datagrams for the type of service and the network 3 - redirect datagrams for the type of service and host a router sends a message to a host when it determine

    11、s a datagram that originated from the host must be forwarded to router that can be directly reached allows the host to sent future datagrams to the optimal first-hop router increasing network efficiency not used for datagrams that have source routing options,Echo (8)/Echo Reply (0),ICMP header (4 by

    12、tes) + identifier (2 bytes) + sequence number (2 bytes) + data (4 bytes) identifier - used to match Echoes and Echo Replies sequence - used to match Echoes with Echo Replies Used to determine if a host is reachable a host receiving an echo message reverses the IP source and destination addresses set

    13、s the ICMP type field to zero (echo reply) recomputes the ICMP checksum identifier, sequence and data are sent back unchanged,Time Exceeded (11),Same format as type 3 Code: 0 - time to live exceeded in transit 1 - fragment reassembly time exceeded Time exceeded message is sent if: a router finds a d

    14、atagram with TTL set to zero router discards the datagram and sends message with code field set to 0 a host does not receive all of the fragments of a datagram before its local reassemble timer expires host discards all fragments and return message with code field set to 1,Parameter Problem (12),ICM

    15、P Header (4 bytes) + pointer (1 byte) + unused (3 bytes) + IP header (24 bytes) + first 64 bits of data (8 bytes) pointer - identifies octet where error occurred Code: 0 - misc parameter problem 2 - required option missing sent to a host when a router or host processing a datagram finds a problem wi

    16、th the information in the datagram. Only sent if the datagram had to be discarded pointer field is zero based ex: 1 indicates problem with type of service; 20 indicates first option,Timestamp(13)/Timstamp Reply(14),ICMP Header (4 bytes) + identifier (2 bytes) + seq num (2 bytes) + Originate Timestam

    17、p (4 bytes) + Receive Timestamp (4 bytes) + Transmit Timestamp (4 bytes) Timestamps are number of msec past midnight UTC used to determine the latency between the sender and receiver receiver forms a message by reversing the originate and destination addr in the IP header setting ICMP type code to 1

    18、4 updating the timestamp fields recomput the ICMP checksum,Info Request (15)/Info Reply(16),Same as type 8, but no data Code: 0 used by a host to determine the network number the host resides on receiver reverses the source and destination addresses in the IP header set the correct network number se

    19、t ICMP type to 16 recompute the ICMP checksum Obsolete; shouldnt be used replaced by BOOTP and RARP,Addr Mask Rqst (17)/Addr Mask Reply(18),ICMP Header (4 bytes) + identifier (2 bytes) + seq.num. (2 bytes) + addr mask (4 bytes) identifier - used to match requests with replies. seq.num. - used to mat

    20、ch requests with replies. Hosts and routers can request the subnet address mask for the network they reside on at boot time. Host or router broadcasts it on the local network a receiving router should return it in a reply message This message is defined in RFC 950,ICMPv6,New version of ICMP to go al

    21、ong with IPv6 Absorbs many IGMP and ARP functions Used for: Reporting errors in IP packet processing Performing diagnostics performing Neighbor Discovery and reporting IPv6 multicast memberships Two types of messages: Error messages Information messages,Error Message Categories,Destination Unreachab

    22、le Packet too big Time exceeded Parameter problem,Informational Messages,Diagnostic messages Multicast group management messages Neighbor discovery messages,Every ICMPv6 message is preceeded by an IPv6 header and 0 or more IPv6 extension headers. A next header field of 58 nidentifies the ICMPv6 mess

    23、age (different than IPv4),Message Format,0 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 |-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-| | Type | Code | Checksum | |-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-| | | | Message Body | | | | +-+,


    注意事项

    本文(Internet Command Message Protocol(ICMP).ppt)为本站会员(progressking105)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1 

    收起
    展开