Internet Command Message Protocol(ICMP).ppt
《Internet Command Message Protocol(ICMP).ppt》由会员分享,可在线阅读,更多相关《Internet Command Message Protocol(ICMP).ppt(19页珍藏版)》请在麦多课文档分享上搜索。
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
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- INTERNETCOMMANDMESSAGEPROTOCOLICMPPPT
