ICMP知识点概要.ppt

  1. 1、本文档共42页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ICMP知识点概要

Input module Receive : an ICMP packet from the IP layer If (the type is any of the three request type) Create a reply Send the reply If (the type is a router solicitation) If (station is a router) Create a router advertisement Send the advertisement If (the type is one of the three reply messages or router advertisement) Extract information in the data section of the packet Deliver extracted information to the process that requested it If (the type defines a redirection) modify the routing table If (the type defines an error message other than a redirection) Inform the appropriate source protocol about the situation return Output module Receive: a demand If (the demand defines an error message) If (the demand is from IP) If (the demand is forbidden) return If (the type defines a redirection message) If (the station is not a router) return Create the error message using the type, the code, and the IP packet If (the demand defines a request or solicitation) Create a request or solicitation message Send the message return Summary of ICMP ICMP tries to solve problems in IP transmission An ICMP message is encapsulated in an IP datagram ICMP error messages are reported only to the source The source does not always know how to solve the reported errors ICMP is widely used, in spite of its limited ability to control and manage networks Summary ICMP 作用、通信方式 ICMP报文 封装:直接封装在IP分组中 类型:差错报告(传输特点)、测试查询 作用、特点 Summary ICMP发送5种类型的差错报文和4对查询报文,用来支持不可靠的和无连接的IP ICMP封装成IP数据报 当数据报无法交付时,就用终点不可达差错报文发送给源主机 源点抑制差错报文是用来减轻拥塞程度的 超时报文通知源主机:(1)生存时间字段值已下降到零,或(2)在预定时间内报文中的一些分片未能到达 参数问题报文通知主机,在数据报的首部字段中出现了问题 发送改变路由报文可使主机中的路由表更加有效 回送请求和回送回答报文用来测试两个系统之间的连通性 时间戳请求和回答能够确定两个系统之间的往返时间或两个系统之间的时间差 地址掩码请求和地址掩码回答报文用来得到子网掩码 路由器询问和路由器通告报文允许主机更新其路由表 作业1 数据报在到达时其首部有如下的信息(十六进制) 45 00 00 54 00 03 00 00 20 06 00 00 7C 4E 03 02 B4 0E 0F 02 有无任何选项? 这个分组被分片了吗? 数据的长度是多少? 有没有使用检验和? 这个分组能够经过多少个路由器? 这个分组的标识号是多少? 服务类型是什么? 作业2 数据报的M位是0,HLEN是5,总长度是200,分片偏移值是200。 试问这个数据报的第一个字节的编号和最后一个字节的编号是多少?这是最后一个分片,第一个分片,还是中间的分片? 作业1 到达的ICMP

文档评论(0)

asd522513656 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档