利用WireShark分析IP协议.doc

利用WireShark分析IP协议.doc

ID:51781326

大小:112.50 KB

页数:4页

时间:2020-03-15

利用WireShark分析IP协议.doc_第1页
利用WireShark分析IP协议.doc_第2页
利用WireShark分析IP协议.doc_第3页
利用WireShark分析IP协议.doc_第4页
资源描述:

《利用WireShark分析IP协议.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、计算机网络 实验报告年级:姓名:  学号:实验日期:       实验名称:   利用WireShark分析IP协议 一、实验目的1.利用wireshark分析ip协议,学习了解ip数据包。2.学习ip报文段的各领域。二、实验器材1.接入Internet的计算机主机;2.抓包工具wireshark和截图工具snagit。三、实验内容1.SelectthefirstICMPEchoRequestmessagesentbyyourcomputer,andexpandtheInternetProtocolpartofthepacketinthepack

2、etdetailswindow.WhatistheIPaddressofyourcomputer?实验结果如下:2.WithintheIPpacketheader,whatisthevalueintheupperlayerprotocolfield?答:theupperlayerprotocolfieldis1实验结果如下:3.HowmanybytesareintheIPheader?HowmanybytesareinthepayloadoftheIPdatagram?Explainhowyoudeterminedthenumberofpaylo

3、adbytes.答:56-20=36就是有效载荷的长度,即此IP数据报的有效载荷为36字节实验结果如下:4.HasthisIPdatagrambeenfragmented?Explainhowyoudeterminedwhetherornotthedatagramhasbeenfragmented.答:没有分片,原因:flag和offset都为0;实验结果如下如:5.WhichfieldsintheIPdatagramalwayschangefromonedatagramtothenextwithinthisseriesofICMPmessage

4、ssentbyyourcomputer?答:分析结果之TTL,首部检验和,标识等一直在不断地变化。6.Whichfieldsstayconstant?Whichofthefieldsmuststayconstant?Whichfieldsmustchange?Why?答:分析可知:stayconstant:版本号首部长度,服务类型,标志,偏移,上层协议,目的和源IP地址muststayconstant:必须保持不变的是:版本号源和目的IP地址mustchange:标识,首部检验和7.Describethepatternyouseeintheval

5、uesintheIdentificationfieldoftheIPDatagram答:thepatternis:每一个IP数据报头部的标识号域都不一样,每次加一8.WhatisthevalueintheIdentificationfieldandtheTTLfield?答:thevalueintheIdentificationfield:25603theTTLfield:2549.DothesevaluesremainunchangedforalloftheICMPTTL-exceededrepliessenttoyourcomputerbyt

6、henearest(firsthop)router?Why?答:每一个固定的路由器都有一个固定的TTL值,所以最近的那个路由器回复的所有的ICMPTTL-exceeded的TTL的值都不会改变。11.PrintoutthefirstfragmentofthefragmentedIPdatagram.WhatinformationintheIPheaderindicatesthatthedatagrambeenfragmented?WhatinformationintheIPheaderindicateswhetherthisisthefirstf

7、ragmentversusalatterfragment?HowlongisthisIPdatagram?答:如截图,数据报大小改为2000后,开始分片。12.PrintoutthesecondfragmentofthefragmentedIPdatagram.WhatinformationintheIPheaderindicatesthatthisisnotthefirstdatagramfragment?Arethemorefragments?Howcanyoutell?答:由以上接入可知:这个IP数据报的长度为1500+520-20=200

8、0bytes,从这片的片内偏移量不为零可以看出这不是第一片没有更多的分片,因为这片的标志位已经是0。13.Whatfieldschang

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。