计算机网络自顶向下WireShark实验:ICMP

前言

计算机网络自顶向下WireShark实验记录,可供参考

题目

1.What is the IP address of your host? What is the IP address of the destinationhost?
你的主机的 IP 地址是什么?目的主机的 IP 地址是什么?

答:
在这里插入图片描述
2.Why is it that an ICMP packet does not have source and destination port
numbers?
为什么 ICMP 数据包没有源端口号和目的端口号?

答:因为端口不可到达也就不没有这些信息了
3.Examine one of the ping request packets sent by your host. What are the ICMPtype and code numbers? What other fields does this ICMP packet have? Howmany bytes are the checksum, sequence number and identifier fields?
检查主机发送的一个 ping 请求数据包。ICMP 类型和代码号是什么?这个ICMP 数据包还有哪些字段?校验和、序列号和标识符字段有多少字节?

答:
在这里插入图片描述
4.Examine the corresponding ping reply packet. What are the ICMP type and codenumbers? What other fields does this ICMP packet have? How many bytes are thechecksum, sequence number and identifier fields?
检查相应的 ping 应答包。ICMP 类型和代码号是什么?这个 ICMP 数据包还有哪些字段?校验和、序列号和标识符字段有多少字节?

答:
在这里插入图片描述
5.What is the IP address of your host? What is the IP address of the targetdestination host? 你的主机的 IP 地址是什么?目标目的主机的 IP 地址是什么?
答:
在这里插入图片描述
6. If ICMP sent UDP packets instead (as in Unix/Linux), would the IP protocolnumber still be 01 for the probe packets? If not, what would it be?
如果 ICMP 改为发送 UDP 数据包(如在 Unix/Linux 中),探测数据包的IP 协议号仍然是 01 吗?如果不是,会是什么?

答:不知道
7.Examine the ICMP echo packet in your screenshot. Is this different from theICMP ping query packets in the first half of this lab? If yes, how so?
检查截图中的 ICMP 回应数据包。这与本实验前半部分的 ICMP ping 查询数据包有什么不同吗?如果是,如何是好?

答:
在这里插入图片描述
发生了超时
8. Examine the ICMP error packet in your screenshot. It has more fields than theICMP echo packet. What is included in those fields?
检查截图中的 ICMP 错误数据包。它比 ICMP 回应数据包有更多的字段。这些领域包括什么?

答:
在这里插入图片描述
全是初始化为0了
9. Examine the last three ICMP packets received by the source host. How are thesepackets different from the ICMP error packets? Why are they different?
检查源主机收到的最后三个 ICMP 数据包。这些数据包与 ICMP 错误数据包
有何不同?它们为什么不同?

答:
在这里插入图片描述
它们接收到了信息,所以其ICMP类型为0
10.Within the tracert measurements, is there a link whose delay is significantly
longer than others? Refer to the screenshot in Figure 4, is there a link whose
delay is significantly longer than others? On the basis of the router names, can
you guess the location of the two routers on the end of this link?
在 tracert 测量中,是否有一条链路的延迟明显长于其他链路?参考图4 中的截图,是否有一个链接的延迟明显比其他链接长?根据路由器名称,您能猜出该链路末端两台路由器的位置吗?

答:是有,不知道

计算机网络自顶向下Wireshark实验Tracing DNS with Wireshark是一个很好的结合,让我来为你介绍。 首先,计算机网络自顶向下是一种从应用层开始分析计算机网络的方法。这种方法强调理解应用层协议,因为它们是用户直接与之交互的,而且它们的行为直接影响网络性能和可用性。这种方法认为,理解各种应用层协议是如何交互的,可以更全面地了解网络是如何工作的。 Wireshark是一款网络协议分析工具,可以用于分析网络流量,帮助用户理解网络行为。 现在,让我们来看一下如何使用Wireshark来追踪DNS(Domain Name System)的实验。DNS是互联网的基础部分,它允许用户通过主机名(例如,“google.com”)查找对应的IP地址。当你在浏览器中输入一个网址时,你的设备就会向DNS发出一个请求,以获取该网址的IP地址。 使用Wireshark追踪DNS的方法如下: 1. **安装和配置Wireshark**:首先,确保你已经在你的设备上安装了Wireshark,并且已经配置好了网络接口。 2. **捕获网络流量**:使用Wireshark的过滤器功能,你可以捕获特定于DNS的流量。例如,你可以使用过滤器“dns”来捕获所有DNS流量。 3. **分析流量**:一旦你捕获了DNS流量,你可以使用Wireshark的详细信息来查看每个请求和响应的详细信息。这包括源和目标IP地址、查询类型(如A记录或CNAME)、响应状态码等。 4. **追踪特定活动**:如果你想追踪某个特定的活动,例如某个特定的主机名或IP地址,你可以使用Wireshark的过滤器功能来限制你的视图。 5. **记录和分析结果**:记录和分析你的结果可以帮助你理解DNS系统的运作方式,以及可能存在的任何问题。 通过这个实验,你将能够更深入地了解DNS系统是如何工作的,以及Wireshark如何帮助你分析和记录网络流量。这对于理解和解决网络问题,以及在开发、测试和故障排除中都非常有用。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值