计算机网络实验5Wireshark Lab IPWord下载.docx

上传人:b****6 文档编号:16167265 上传时间:2022-11-21 格式:DOCX 页数:10 大小:841.01KB
下载 相关 举报
计算机网络实验5Wireshark Lab IPWord下载.docx_第1页
第1页 / 共10页
计算机网络实验5Wireshark Lab IPWord下载.docx_第2页
第2页 / 共10页
计算机网络实验5Wireshark Lab IPWord下载.docx_第3页
第3页 / 共10页
计算机网络实验5Wireshark Lab IPWord下载.docx_第4页
第4页 / 共10页
计算机网络实验5Wireshark Lab IPWord下载.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

计算机网络实验5Wireshark Lab IPWord下载.docx

《计算机网络实验5Wireshark Lab IPWord下载.docx》由会员分享,可在线阅读,更多相关《计算机网络实验5Wireshark Lab IPWord下载.docx(10页珍藏版)》请在冰豆网上搜索。

计算机网络实验5Wireshark Lab IPWord下载.docx

•IfyouareusingaWindowsplatform,startuppingplotterandenterthenameofatargetdestinationinthe“AddresstoTraceWindow.”Enter3inthe“#oftimestoTrace”field,soyoudon’tgathertoomuchdata.SelectthemenuitemEdit->

AdvancedOptions->

PacketOptionsandenteravalueof56inthePacketSizefieldandthenpressOK.ThenpresstheTracebutton.

•Next,sendasetofdatagramswithalongerlength,byselectingEdit->

PacketOptionsandenteravalueof2000inthePacketSizefieldandthenpressOK.ThenpresstheResumebutton.Finally,sendasetofdatagramswithalongerlength,byselectingEdit->

PacketOptionsandenteravalueof3500inthePacketSizefieldandthenpressOK.ThenpresstheResumebutton.

•StopWiresharktracing.

QUESTIONS

1.SelectthefirstICMPEchoRequestmessagesentbyyourcomputer,andexpandtheInternetProtocolpartofthepacketinthepacketdetailswindow.WhatistheIPaddressofyourcomputer?

TheIPaddressofmycomputeris172.18.40.131.

2.WithintheIPpacketheader,whatisthevalueintheupperlayerprotocolfield?

WithintheIPpacketheader,thevalueintheupperlayerprotocolfieldis1,whichmeansICMPprotocol.

3.HowmanybytesareintheIPheader?

HowmanybytesareinthepayloadoftheIPdatagram?

Explainhowyoudeterminedthenumberofpayloadbytes.

20bytesareintheIPheader.36bytesareinthepayloadoftheIPdatagram.Wecanseethatthetotallengthis56,andtheheaderis20bytes,sothepayloadbytesis56–20=36bytes.

4.HasthisIPdatagrambeenfragmented?

Explainhowyoudeterminedwhetherornotthedatagramhasbeenfragmented.

ThisIPdatagramhasn’tbeenfragmented.Becausethatboththeflagsandthefragmentoffsetare0,whichmeansthatithasn’tbeenfragmented.

5.WhichfieldsintheIPdatagramalwayschangefromonedatagramtothenextwithinthisseriesofICMPmessagessentbyyourcomputer?

Identification,Timetolive,Headerchecksum.

packet1

packet2

packet3

6.Whichfieldsstayconstant?

Whichofthefieldsmuststayconstant?

Whichfieldsmustchange?

Why?

Stayconstant:

Version,HeaderLength,DifferentiatedServices,UpperLayerProtocol,SourceIPandDestinationIP.

Muststayconstant:

Version,becausethatweareusingIPv4forallpackets

HeaderLength,becausethatthepacketsareICMPpackets.

DifferentiatedServices,becausethatallthepacketsareICMPpackets.

UpperLayerProtocol,becausethatallthepacketsareICMPpackets.

SourceIP,becausethatwearesendingpacketsfromthesamecomputer.

DestinationIP,becausethatwearesendingthepacketstothesameIPaddress.

Mustchange:

Identification,becausethateverypackethastohavedifferentIDs.

Timetolive:

becausethattracerouteincrementseachsubsequentpacket.

Headerchecksum:

becausethattheheaderchanges,thentheheaderchecksumchanges.

7.DescribethepatternyouseeinthevaluesintheIdentificationfieldoftheIPdatagram

EveryIPdatagramhasadifferentvalue,andtheIPIdentificationfieldincrementwitheachICMPecho(ping)request.Wecanseethatthevalueisadded1whenanewIPdatagramcomes.

packet1

packet2

packet3

8.WhatisthevalueintheIdentificationfieldandtheTTLfield?

ThevalueintheIdentificationfieldis62738.ThevalueintheTTLfieldis254.

9.DothesevaluesremainunchangedforalloftheICMPTTL-exceededrepliessenttoyourcomputerbythenearest(firsthop)router?

TheIdentificationfieldwillchangesforalltheICMPTTL-exceededrepliesbecausethattheIdentificationfieldisuniquevalueforeverypacket.

TheTTLfieldremainsunchangedbecausethatthefirsthoprouterdoesn’tchange,thentheTTLforthefirsthoprouterisalwaysthesame.

10.FindthefirstICMPEchoRequestmessagethatwassentbyyourcomputerafteryouchangedthePacketSizeinpingplottertobe2000.HasthatmessagebeenfragmentedacrossmorethanoneIPdatagram?

[Note:

ifyoufindyourpackethasnotbeenfragmented,youshoulddownloadthezipfilehttp:

//gaia.cs.umass.edu/wireshark-labs/wireshark-traces.zipandextracttheipethereal-trace-1packettrace.IfyourcomputerhasanEthernetinterface,apacketsizeof2000shouldcausefragmentation.]

ThatmessagehasbeenfragmentedacrossmorethanoneIPdatagram.

11.PrintoutthefirstfragmentofthefragmentedIPdatagram.WhatinformationintheIPheaderindicatesthatthedatagrambeenfragmented?

WhatinformationintheIPheaderindicateswhetherthisisthefirstfragmentversusalatterfragment?

HowlongisthisIPdatagram?

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 语文

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1