欢迎来到天天文库
浏览记录
ID:39077037
大小:924.56 KB
页数:8页
时间:2019-06-24
《ICMP实验报告》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、实验报告实验日期:2013年04月20日学号:姓名:实验名称:ICMP总分:一、实验概述1.了解ICMP协议下数据包相关格式和内容;2.了解ping和tracert两种指令功能。二、实验条件①联网的电脑;②Ethereal软件;③winpcap4.0.三、实验内容ping指令操作ljj为笔者姓名拼音缩写通过输入指令ping,检测通道是否导通。-8-Ethereal抓包1.WhatistheIPaddressofyourhost?WhatistheIPaddressofthedestinationhost?2.WhyisitthatanICMPpacketdoesnothave
2、sourceanddestinationportnumbers?答:因为ICMP数据包在网络层封装在IP数据包中,因此不需要destination和source3.Examineoneofthepingrequestpacketssentbyyourhost.WhataretheICMPtypeandcodenumbers?WhatotherfieldsdoesthisICMPpackethave?Howmanybytesarethechecksum,sequencenumberandidentifierfields?-8-在其他的地方没有ICMP数据包因为它没有分组4.Ex
3、aminethecorrespondingpingreplypacket.WhataretheICMPtypeandCodenumbers?WhatotherfieldsdoesthisICMPpackethave?Howmanybytesarethechecksum,sequencenumberandidentifierfields?-8-在其他的地方没有ICMP数据包因为它没有分组-8-tracer指令操作Ethereal抓包5.WhatistheIPaddressofyourhost?WhatistheIPaddressofthetargetdestinationhos
4、t?6.IfICMPsentUDPpacketsinstead(asinUnix/Linux),wouldtheIPprotocolnumberstillbe01fortheprobepackets?Ifnot,whatwoulditbe?-8-答:不是01,因为它的上层协议UDP,所以它的protocolnumber不是ICMP(1)7.ExaminetheICMPechopacketinyourscreenshot.IsthisdifferentfromtheICMPpingquerypacketsinthefirsthalfofthislab?Ifyes,howso?P
5、ing指令Tracer指令可以看出二者的checksum,sequencenumber,data不同8.ExaminetheICMPerrorpacketinyourscreenshot.IthasmorefieldsthantheICMPechopacket.Whatisincludedinthosefields?errorpacket-8-ecohpacket可以看出,errorpacket比echopacket多出了Internetprotocol,src:…,dst:…部分9.ExaminethelastthreeICMPpacketsreceivedbythesou
6、rcehost.HowarethespacketsdifferentfromtheICMPerrorpackets?Whyaretheydifferent?10.Withinthetracertmeasurements,istherealinkwhosedelayissignificantlylongerthanothers?RefertothescreenshotinFigure4,istherealinkwhosedelayissignificantlylongerthanothers?Onthebasisoftherouternames,canyouguessthelo
7、cationofthetworoutersontheendofthislink?答:tracert指令操作,得出时延差距很大的结论,且不能猜出两条线路在末端的连接位置。-8-四、实验心得本次实验了解到了ICMP协议的格式,其作用在于报告差错,并且验证通道的导通性,学会使用ping和tracert指令ICMP协议的使用,并进行了两者产生的数据包的进一步比较。在ICMP数据包中是没有destination和source的,且ICMP是封装先交给UDP其次再交给IP数据包。对英文文献的筛读有着更清晰的认识。-
此文档下载收益归作者所有