ImageVerifierCode 换一换
格式:DOCX , 页数:13 ,大小:1.16MB ,
资源ID:5751738      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/5751738.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(通信网原理实验报告Ethernet and ARP.docx)为本站会员(b****5)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

通信网原理实验报告Ethernet and ARP.docx

1、通信网原理实验报告Ethernet and ARP实验一 Ethernet and ARP一、实验目的1.加强对以太网帧格式的理解;2.理解ARP协议的工作原理。二、实验环境1.PC机一台;2.WireShark软件。三、实验内容1. Capturing and analyzing Ethernet frames2. The Address Resolution Protocol四、实验步骤及思考(一)Capturing and analyzing Ethernet frames(1)Based on the contents of the Ethernet frame containing

2、the HTTP GET message1. What is the 48-bit Ethernet address of your computer?Answer:The 48-bit Ethernet address of my computer is:c8:0a:a9:db:9b:f32. 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

3、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.Answer:1)The 48-bit destination address in the Ethernet frame is:00:23:89:8d:50:712)This is not the Ethernet

4、 address of gaia.cs.umass.edu.3)It is the address of my Linksys router, whick is the link used to get off the subnet. 3.Give the hexadecimal value for the two-byte Frame type field. What do the bit(s) whose value is 1 mean within the flag field? Answer:1)The hexadecimal value for the two-byte Frame

5、type field is:ox08002) The value is 1 within the flag field means the fragment has not been fragmented.4.How many bytes from the very start of the Ethernet frame does the ASCII “G” in “GET” appear in the Ethernet frame?Answer:1)The ASCII “G” appears 54 bytes from the very start of the Ethernet frame

6、.2)Calculation process as follows:There are 14 bytes of Ethernet frame,20 bytes of IP header and 20 bytes of TCP header before HTTP data is encountered.5. What is the hexadecimal value of the CRC field in this Ethernet frame? Answer:1)There is no CRC field.2)Because the CRC calculated before the Wir

7、eshark packet sniffer start up. (2)Based on the contents of the Ethernet frame containing the first byte of the HTTP response message6. 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 it

8、s Ethernet address?Answer:1)The value of the Ethernet source address is: 00:23:89:8d:50:712)This is neither the address of your computer,northe address of gaia.cs.umass.edu.3)It is the address of my Linksys router,which is the link used to get onto my subnet.7. What is the destination address in the

9、 Ethernet frame? Is this the Ethernet address of your computer?Answer:1)The destination address in the Ethernet frame is:c8:0a:a9:db:9b:f32)It is the address of my computer. (The 48-bit Ethernet address of my computer is:c8:0a:a9:db:9b:f3)8. Give the hexadecimal value for the two-byte Frame type fie

10、ld. What do the bit(s) whose value is 1 mean within the flag field?Answer:1)The hexadecimal value for the two-byte Frame type field is: 0x0800.2)The value is 1 within the flag field means the fragment has not been fragmented.9. How many bytes from the very start of the Ethernet frame does the ASCII

11、“O” in “OK” (i.e., the HTTP response code) appear in the Ethernet frame?Answer:1)The ASCII “O” appears 54 bytes from the very start of the Ethernet frame.2)Calculation process as follows:There are 14 bytes of Ethernet frame,20 bytes of IP header and 20 bytes of TCP header before HTTP data is encount

12、ered.10. What is the hexadecimal value of the CRC field in this Ethernet frame?Answer:1)There is no CRC field.2)The reason:Because the CRC calculated before the Wireshark packet sniffer start up.(二)The Address Resolution Protocol(1)ARP Caching11. Write down the contents of your computers ARP cache.

13、What is the meaning of each column value?Answer: 1)The Internet Address column contains the IP address,.2)The Physical Address column contains the MAC address, and the type indicates the protocol type.3)Observing ARP in action12. What are the hexadecimal values for the source and destination address

14、es in the Ethernet frame containing the ARP request message?Answer:1)The hexadecimal values for the source addresses in the Ethernet frame containing the ARP request message is: 00:23:89:8d:50:712)The destination addresses in the Ethernet frame containing the ARP request message is: ff:ff:ff:ff:ff:f

15、f13. Give the hexadecimal value for the two-byte Ethernet Frame type field. What do the bit(s) whose value is 1 mean within the flag field?Answer:The hexadecimal value for the two-byte Ethernet Frame type field is:0x0806.14. Download the ARP specification from ftp:/ftp.rfc-editor.org/innotes/std/std

16、37.txt. A readable, detailed discussion of ARP is also at http:/www.erg.abdn.ac.uk/users/gorry/course/inet-pages/arp.html.a) How many bytes from the very beginning of the Ethernet frame does the ARP opcode field begin?Answer:The ARP opcode field begins 20 bytes from the very beginning of the Etherne

17、t frame.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?Answer:The hex value for opcode field withing the ARP-payload of the request is 1.c) Does the ARP message contain the IP address of the sender? Answer:Yes, the ARP messa

18、ge containg the IP address 192.168.1.105 for 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?Answer:The field “Target MAC address” is set to 00:00:00:00:00:00 to question the machine whose correspon

19、ding IP address (192.168.1.105) is being queried.15. 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?Answer:The ARP opcode field begins 20 bytes from the very beginning of the Ethernet

20、 frame.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?Answer:The hex value for opcode field withing the ARP-payload part of the Ethernet frame is 2 c) Where in the ARP message does the “answer” to the earlier ARP request ap

21、pear the IP address of the machine having the Ethernet address whose corresponding IP address is being queried?Answer:The answer to the earlier ARP request appears in the”Sender MAC address” field, which contains the Ethernet address 00:d0:59:a9:3d:68 for the sender with IP address 192.168.1.1.16. W

22、hat are the hexadecimal values for the source and destination addresses in the Ethernet frame containing the ARP reply message?Answer:The hex value for the source address is 00:06:25:da:af:73 and for the destination is 00:d0:59:a9:3d:68 .17. Open the ethernet-ethereal-trace-1 trace file inhttp:/gaia

23、.cs.umass.edu/wireshark-labs/wireshark-traces.zip. The first and second ARP packets in this trace correspond to an ARP request sent by the computer running Wireshark, and the ARP reply sent to the computer running Wireshark by the computer with the ARP-requested Ethernet address. But there is yet an

24、other computer on this network, as indiated by packet 6 another ARP request. Why is there no ARP reply (sent in response to the ARP request in packet 6) in the packet trace?Answer:There is no reply in this trace, because we are not at the machine that sent the request. The ARP request is broadcast,

25、but the ARP reply is sent back directly to the senders Ethernet address.五、实验结论 1.CRC在WireShark中是不能被抓到的,原因是CRC在抓包之前已经被计算好。 2.ARP Request消息的Type字段值为1;ARP Replyt消息的Type字段值为2。 3.MAC address是唯一的。 4.清空ARP缓存时(ARP d )会出现如下的情况: 5.ARP a 可以查看ARP缓存中的内容。六、实验总结通过这次实验,我对ARP协议有了进一步的理解,在实验过程中遇到了许多问题,但经过查阅资料并和学姐交流,最终解决了这些问题,以实验的方式验证课本上的理论知识,学习也变得更有意义。

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1