计算机网络实验报告 年级: 姓名: 学号: 实验日期: 实验名称: 利用Wireshark分析ICMP协议 实验目的 利用wireshark分析ICMP协议,学****了解ICMP数据包。 学****ICMP报文段的各领域。 实验器材 的计算机主机; 抓包工具wireshark和截图工具snagit。 实验内容 . What is the IP address of your host? What is the IP address of the destination host? 答:the IP address of your host is , the IP address of the destination host is , 实验截图如下 2. Why is it that an ICMP packet does not have source and destination port numbers? 答:因为端口号是运输层的,而icmp是包装在ip数据报里,所以icmp包没有源和目的端口号。 3. Examine one of the ping request packets sent by your host. What are the ICMP type and code numbers? What other fields does this ICMP packet have? How many bytes are the checksum, sequence number and identifier fields? 答:the ICMP type :8 code numbers : 0 试验截图如下: the checksum,:0x4d4f sequence number :12 identifier fields:0x0001 试验截图如下: 4. Examine the corresponding ping reply packet. What are the ICMP type and code numbers? What other fields does this ICMP packet have? How many bytes are the checksum, sequence number and identifier fields? 答:实验结果如下:
5. What is the IP address of your host? What is the IP address of the target destination host? 答:the IP address of your host is the IP address of the target destination host is
ICMP sent UDP packets instead (as in Unix/Linux), would the IP protocol number still be 01 for the probe packets? If not, what wo