Wireshark Lab: Ethernet and ARP v7.0

0. 实验文件地址

Wireshark Lab: Ethernet and ARP v7.0
在这里插入图片描述
数据字段(46~1500字节):这个字段承载了IP数据报。以太网的最大传输单元(MTU)是1500字节
目的地址(6字节):这个字段包含目的适配器的MAC地址。
源地址(6字节):这个字段包含了传输到该帧到局域网上的适配器的MAC地址。
类型字段(2字节):类型字段允许以太网复用多种网络层协议。
CRC(4字节):CRC(循环冗余检测)使得接收适配器的检测帧中是否引入了差错。
前同步码(8字节):以太网以一个8字节的前同步码字段开始(前同步码请自行百度)。

1. Capturing and analyzing Ethernet frames

Question & Answer

1. What is the 48-bit Ethernet address of your computer?

在这里插入图片描述

2. What is the 48-bit destination address in the Ethernet frame? Is this the Ethernet address of gaia.cs.umass.edu? (Hint: the answer is no). What device has this as its Ethernet address? [Note: this is an important question, and one that students sometimes get wrong. Re-read pages 468-469 in the text and make sure you understand the answer here.]

在这里插入图片描述
这个目的MAC地址是路由器接口的地址。如果是目的主机的MAC地址,那么源主机所在的子网上的所有适配器都不会费心将IP数据报传递到它的网络层。

3. Give the hexadecimal value for the two-byte Frame type field. What upper layer protocol does this correspond to?

在这里插入图片描述

4. How many bytes from the very start of the Ethernet frame does the ASCII “G” in “GET” appear in the Ethernet frame?

在这里插入图片描述
前3行都是16字节,第4行到0x47有7个字节,总共55个字节。

在这里插入图片描述

5. What is the value of the Ethernet source address? Is this the address of your computer, or of gaia.cs.umass.edu (Hint: the answer is no). What device has this as its Ethernet address?

在这里插入图片描述
这个MAC地址是路由器的接口地址。

6. What is the destination address in the Ethernet frame? Is this the Ethernet address of your computer?

在这里插入图片描述
这个MAC不是源主机的,而是源主机所在子网的路由器的接口地址。

7. Give the hexadecimal value for the two-byte Frame type field. What upper layer protocol does this correspond to?

在这里插入图片描述

8. How many bytes from the very start of the Ethernet frame does the ASCII “O” in “OK” (i.e., the HTTP response code) appear in the Ethernet frame?

在这里插入图片描述
14个字节。

2. The Address Resolution Protocol

在这里插入图片描述

9. Write down the contents of your computer’s ARP cache. What is the meaning of each column value?

在这里插入图片描述
在这里插入图片描述

10. What are the hexadecimal values for the source and destination addresses in the Ethernet frame containing the ARP request message?

在这里插入图片描述

11. Give the hexadecimal value for the two-byte Ethernet Frame type field. What upper layer protocol does this correspond to?

在这里插入图片描述

12. 在这里插入图片描述
a. How many bytes from the very beginning of the Ethernet frame does the ARP opcode field begin?

在这里插入图片描述
可以从上图看出,opcode之前有20个字节。

b. What is the value of the opcode field within the ARP-payload part of the Ethernet frame in which an ARP request is made?

如上图所示,opcode为0x0001。

c. Does the ARP message contain the IP address of the sender?

在这里插入图片描述

d. Where in the ARP request does the “question” appear – the Ethernet address of the machine whose corresponding IP address is being queried?

在这里插入图片描述
从opcode可以看出,request。

13. Now find the ARP reply that was sent in response to the ARP request.
a. How many bytes from the very beginning of the Ethernet frame does the ARP opcode field begin?

在这里插入图片描述
在opcode之前有20个字节。

b. What is the value of the opcode field within the ARP-payload part of the Ethernet frame in which an ARP response is made?

如上图所示,opcode的值为0x0002。

c. Where in the ARP message does the “answer” to the earlier ARP request appear – the IP address of the machine having the Ethernet address whose corresponding IP address is being queried?

在这里插入图片描述

14. What are the hexadecimal values for the source and destination addresses in the Ethernet frame containing the ARP reply message?

在这里插入图片描述

15.在这里插入图片描述

查询APR报文是在广播帧中发送的(子网中的所有电脑都能收到),而响应APR报文在一个标准帧中发送(只有发送请求的那台电脑能收到)。

  • 8
    点赞
  • 27
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: Wireshark Lab: TCP v7.0 是一套用于学习和理解 TCP 协议的实验材料。通过这套实验材料,可以学习 TCP 建立连接的三次握手过程、数据传输过程中的流量控制和拥塞控制、TCP 连接终止的四次挥手过程等内容。同时,也可以通过实验了解 Wireshark 工具的使用方法,Wireshark 是一款流行的网络协议分析工具,可以用于捕获和分析网络数据包。 Wireshark Lab: TCP v7.0 包含一系列的实验,每个实验都配有详细的指导说明和实验要求,可以帮助用户逐步掌握 TCP 协议和 Wireshark 工具的使用。这套实验材料适合计算机网络和信息安全领域的学生、从业者以及对网络协议感兴趣的人士学习使用。 ### 回答2: 在Wireshark实验室TCP V7.0中,我们继续研究TCP协议。TCP(传输控制协议)是一种在计算机网络中使用的基于连接的协议,常用于互联网协议(IP)套接字。 本实验室中,我们观察了TCP流的详细数据包分析。我们学习了TCP协议中的流控制和拥塞控制机制,以及TCP如何应对网络丢包和重传数据的情况。 在该实验室中,我们使用了基于Linux的虚拟机来模拟一个TCP协议的请求响应场景。我们模拟了从客户端发送HTTP请求,到服务器返回响应的流程。我们使用了Wireshark这个强大的网络协议分析工具来捕获和解析网络数据包,以观察网络流量和分析网络传输。 在观察TCP协议的过程中,我们发现TCP是一个可靠但是较慢的协议。当网络出现问题时,它会花费很多时间来重传数据,从而保证数据完整性。我们也学习了TCP的拥塞控制机制。当网络拥塞时,TCP会自适应地调整传输速率,以避免网络出现更多的拥塞。 总之,Wireshark实验室TCP V7.0是一个非常有用的实验室,它向我们展示了TCP协议的更多细节和机制,使我们深入了解TCP如何在网络中工作。随着更多的网络应用程序在今后的发展中涌现出来,我们相信TCP协议还将继续发挥重要作用。 ### 回答3: Wireshark是一个开源的网络协议分析工具,可以用于抓取网络数据包,并对这些数据包进行分析和解码。Wireshark可以分析不同类型的协议,包括TCP、UDP、HTTP等。 本次实验主要是让我们使用Wireshark工具来分析TCP协议的数据包,了解TCP如何建立连接,传输数据以及释放连接等过程。我们使用的是一个HTTP文件下载的例子来说明TCP的工作过程。 在实验中,我们通过Wireshark进行数据包抓取和分析,可以看到TCP协议在传输数据时,会通过三次握手建立连接,并且在传输数据过程中进行数据校验和序列号的确认。TCP协议还具有可靠性,即数据包在传输中如果丢失或者出错,TCP会进行重传和数据校验,确保数据的完整性和正确性。同时,在TCP传输完成后,还会进行四次挥手来释放连接。 通过实验,我们进一步了解了TCP协议的工作原理以及在网络通信中的应用,这对我们深入学习和应用网络技术具有相当的帮助。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值