欢迎来到天天文库
浏览记录
ID:46542657
大小:51.50 KB
页数:4页
时间:2019-11-25
《实验6利用wireshark分析ip协议1》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、年级:计算机网络实验报告姓名:学号:实验日期:实验名称:利用WireShark分析IP协议一、实验目的1.利用wireshark分析ip协议,学习了解ip数据包。2.学习ip报文段的各领域。二、实验器材1.接入Internet的计算机主机;2.抓包工具wireshark和截图工具snagito三、实验内容1・SelectthefirstICMPEchoRequestmessagesentbyyourcomputer,andexpandtheInternetProtocolpartofthepacketinthepacketdetailswindow.WhatistheIPaddresso
2、fyourcomputer?实验结果如下:20618.69118010.0.16U06128.119.24U2IWEcho(ping)request(id=0x0001,卿(be/1怕60/1"乩ttbl)iFrame207:70bytesonwire(560bits),70bytescaptured(560bits)iEthernetII,$rc:(岬(00:le:ec:df:4d:(l8),眈鋼加u』d:49:fl(00:":89:8d:49:fl)0InternetProtocol,5rc:10.0.163J6J10.0.163JW),Dst:128.119.M5.12(128.1
3、19.M5.12)Header】呼h:20帕FT秋期0FI血山Kiilh心■沁【林Identification:Ox328f(1测)*SFlags:0x00■Timetolive:2—耳1一1M憫删軸PSource:10.0.163.206(10.0.1H.206)砾劉阳爍觀弊!Destination:128.U9.24S.12(128.U9.24S.12)SinternetcontrolMessageProtocol(D5CP0x00:Default;KN:0x00)TotalLength:56Protocol:m(1)•Headerchecksum:0x0000[incorrect,
4、shouldbe0x62e4]、Illi2.WithintheIPpacketheader,whatisthevalueintheupperlayerprotocolfield?答:theupperlayerprotocolfieldis1实验结果如下:/山IIIIILLUIIY^iLProtocol:icml)3.HowmanybytesareintheIPheader?HowmanybytesareinthepayloadoftheIPdatagram!Explainhowyoudeterminedthenumberofpayloadbytes.答:逬妒36就是有效载荷的长度,即此I
5、P数据报的有效载荷为36字节实验寂那yTotalLengtb<^56Header1ength»20bytes4.HasthisIPdatagrambeenfragmented?Explainhowyoudeterminedwhetherornotthedatagramhasbeenfragmented.答:没有分片,原因:flag和offset都为0;实验结果如下如:0[Flags:0x0厂0=Reservedbit:Notset.0=Don'tfragment:Notset・・0=Morefragments:NotsetFragmentoffset:05.Whichfieldsinth
6、eIPdatagramalwayschangefromonedatagramtothenextwithinthisseriesofICMPmessagessentbyyourcomputer?答:分析结果之TTL,首部检验和,标识等一直在不断地变化。6.Whichfieldsstayconstant?Whichofthefieldsmuststayconstant?Whichfieldsmustchange?Why?答:分析可知:stayconstant:版本号首部长度,服务类型,标志,偏移,上层协议,目的和源IP地址muststayconstant:必须保持不变的是:版本号源和目的IP
7、地址mustchange:标识,首部检验和7.DescribethepatternyouseeinthevaluesintheIdentificationfieldoftheIPDatagram答:thepatternis:每一个IP数据报头部的标识号域都不一样,每次加一&WhatisthevalueintheIdentificationfieldandtheTTLfield?icmpTine-to-liveexceeded(Tim
此文档下载收益归作者所有