实验八实验八利用WireShark分析ARP协议

 计算机网络 实验报告
年级:                      姓名:                     学号:     
实验日期:                         
实验名称: 实验八利用WireShark分析ARP协议
1、实验目的
1、学会使用nslookup工具查询 并分析Internet 域名信息或诊断DNS 服务器。学会使用ipconfig工具进行分析。
2、会用wireshark分析DNS协议。对DNS协议有个全面的学习与了解。
2、实验器材
1、接入Internet的计算机主机;
2、抓包工具wireshark和截图工具snagit。
三、实验内容
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.
答:实验结果如下
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?
粘尘滚轮
如上图所示,Type 字段的值是变速轮0x0800,代表IP协议
4. How many bytes from the very start of the Ethernet frame does the ASCII “G” in “GET” appear in the Ethernet frame?
答:实验结果如下
5. What is the hexadecimal value of the CRC field in this Ethernet frame?
6. 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?
答:这个以太网地址既不是主机以太网地址,也不是目的主机以太网地址,实验结果如下
7. What is the destination address in the Ethernet frame? Is this the Ethernet address of your computer?
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?
答:
9. 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?
答:以下比特没有出现在Ethernet frame
10. What is the hexadecimal value of the CRC field in this Ethernet frame?
11. Write down the contents of your computer’s ARP cache. What is the meaning of each column value?
答:实验结果如下
防尘接线盒
12. What are the hexadecimal values for the source and destination addresses in the Ethernet frame containing the ARP request message?
答:实验结果如下
13. 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?
答:实验结果如下
14. Download the ARP specification from ftp:///innotes/
A readable, detailed discussion of ARP is also at
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?
答:如下图,总共dtt使用浓度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?
答:实验结果如下
c) Does the ARP message contain the IP address of the sender?
答:实验结果如下
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?
答:如下图,总共14个字节
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?
答:如下图,the value is 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?
答:实验结果如下
16. What are the hexadecimal values for the source and destination addresses in the Ethernet frame containing the ARP reply message?
答:如下图,the value is 0x0806
17. Open the ethernet-ethereal-trace-1 trace file in
gaia.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 another 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?
Extra Credit
EX-1. The arp command: arp -s InetAddr EtherAddr
allows you to manually add an entry to the ARP cache that resolves the IP address InetAddr to the physical address EtherAddr. What would happen if, when you manually added an entry, you entered the correct IP address, but the wrong Ethernet address for that remote interface?

本文发布于:2024-09-22 15:45:33,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/1/109794.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:实验   工具   结果   分析   使用   协议   学会   计算机主机
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议