




已阅读5页,还剩12页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验一 Ethernet and ARP一、实验目的1.加强对以太网帧格式的理解;2.理解ARP协议的工作原理。二、实验环境1.PC机一台;2.WireShark软件。三、实验内容1. Capturing and analyzing Ethernet frames2. The Address Resolution Protocol四、实验步骤及思考(一)Capturing and analyzing Ethernet framesHTTP GET Message(1)Based on the contents of the Ethernet frame containing 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:f3The Ethernet address of my computer2. What is the 48-bit destination address in the Ethernet frame? Is this the Ethernet address of ? (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.Answer:1)The 48-bit destination address in the Ethernet frame is:00:23:89:8d:50:71The destination address in the Ethernet frame2)This is not the Ethernet address of .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 type field is:ox0800The hexadecimal value for the two-byte Frame type field2) The value is 1 within the flag field means the fragment has not been fragmented.Flag4.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.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 Wireshark packet sniffer start up.No CRC(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 (Hint: the answer is no). What device has this as its Ethernet address?Answer:1)The value of the Ethernet source address is: 00:23:89:8d:50:71HTTP response message2)This is neither the address of your computer,northe address of .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 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 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 type field is: 0x0800.2)The value is 1 within the flag field means the fragment has not been fragmented.Flag field9. 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?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 encountered.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. 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 addresses 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:ff13. 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 /innotes/std/std37.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 Ethernet 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 message containg the IP address 05 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 corresponding IP address (05) 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 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 appear 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 .16. What 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 in/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, an
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 孝感桥墩施工方案(3篇)
- 娱乐直播活动策划方案案例(3篇)
- 室外猜灯谜活动方案策划(3篇)
- 618活动策划方案目的(3篇)
- 名校教师考试题库及答案
- 北京市昌平区2024-2025学年八年级下学期期末考试道德与法制题目及答案
- 安徽省六安市舒城县2023-2024学年高一下学期期末考试地理考试题目及答案
- 感知艺术:初中美术欣赏与实践活动教案
- 定制家居产品销售及安装合同
- 叙事作文小小推销员250字(8篇)
- 2025安徽安庆高新投资控股限公司二期招聘8人高频重点提升(共500题)附带答案详解
- 妇女保健工作计划
- 《胸腔引流管的护理》课件
- 2024-2025学年江苏省苏州市星海实验中学高一(上)期中考试物理试卷(含答案)
- 招标代理机构遴选投标方案(技术标)
- 百岁居区域+乐活内外勤宣导材料
- 内蒙古职工考勤管理制度
- GB/T 21220-2024软磁金属材料
- 兔眼动物模型在眼科研究中的价值
- 吉林大学介绍
- 2023年炼钢厂安全操作规程及车间安全操作规程
评论
0/150
提交评论