欢迎来到天天文库
浏览记录
ID:46542445
大小:122.50 KB
页数:5页
时间:2019-11-25
《实验利用Wireshark分析ICMP协议「精编推荐]》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、计算机网络一实验报告年级:姓名:学号:_实验日期:实验名称:利用Wireshark分析ICMP协议一、实验目的1.利卅wireshark分析ICMP协议,学习了解ICMP数据包。2.学习ICMP报文段的各领域。二、实验器材3.接入Internet的计算机主机;4.抓包工具wireshark和截图工具snagito三、实验内容1・1.WhatistheIPaddressofyourhost?WhatistheIPaddressofthedestinationhost?答:theIPaddressofyourhostis10.0.163.199,theIPaddressofthe
2、destinationhostis143.89.14.34,实验截图如下SHeaderchecksum:0x0000[incorrect,shouldbe0x8912]Source:10.0.163.199(10・0・16亍199}<我師p地址Destination:143.89.14.34(143.89.14.34)4**g标iDlMlt■■2.WhyisitthatanICMPpacketdoesnothavesourceanddestinationportnumbers?答:因为端口号是运输层的,而iemp是包装在ip数据报里,所以icmpiii没有源和目的端口号。3.
3、Examineoneofthepingrequestpacketssentbyyourhost.WhataretheICMPtypeandcodenumbers?WhatotherfieldsdoesthisICMPpackethave?Howmanybytesarethechecksum,sequencenumberandidentifierfields?答:theICMPtype:8codenumbers:0试验截图如下:0InternetcontrolMessageProtocolType:8
4、(Echo(ping)request)code:0thechecksum,:
5、0x4d4fsequencenumber:12identifierfields:0x0001试验截图如下:Checksum:0x4d4f[correct]Identifier:0x0001Sequencenumber:12(0x000c)Sequencenumber(LE):3072(OxOcOO)2.Examinethecorrespondingpingreplypacket.WhataretheICMPtypeandcodenumbers?WhatotherfieldsdoesthisICMPpackethave?Howmanybytesarethechecksum,se
6、quencenumberandidentifierfields?答:实验结果如下:8O2.M143.W.1O10仙侧ICNPEcho(ping)reply(個x(呱$啾/1慎曲2飞创)Type:0(Echo(ping)reply)code:0Checksum:Ox554f[correct]Identifier:0x0001Sequencenumber:12(OxOOOc)sequencenumber(LE):3072(OxOcOO)3.WhatistheIPaddressofyourhost?WhatistheIPaddressofthetargetdestinationho
7、st?答:theIPaddressofyourhostistheIPaddressofthetargetdestinationhostisSource:10.0.163.199(10.0.163.199)Destination:193.51.193.149(193.51.193.149)4.IfICMPsentUDPpacketsinstead(asinUnix/Linux),wouldtheIPprotocolnumberstillbe01fortheprobepackets?Ifnot,whatwoulditbe?答:用的系统是windows系统5.ExaminetheI
8、CMPechopacketinyourscreenshot.IsthisdifferentfromtheICMPpingquerypacketsinthefirsthalfofthislab?Ifyes,howso?答:不同试验截图如下:Type:8(Echo(ping)request)Code:0Checksum:Oxf740[correct]Identifier:OxOOOlSequencenumber:190(OxOObe)Sequencenumber(LE):48640(OxbeOO)Type:
此文档下载收益归作者所有