通信网基本知识实验报告EthernetandARP_第1页
通信网基本知识实验报告EthernetandARP_第2页
通信网基本知识实验报告EthernetandARP_第3页
通信网基本知识实验报告EthernetandARP_第4页
通信网基本知识实验报告EthernetandARP_第5页
已阅读5页,还剩14页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

_实验一EthernetandARP格式的理解;1.CapturingandanalyzingEthernetframes2.TheAddressResolutionProtocol (一)CapturingandanalyzingEthernetframes_(1)BasedonthecontentsoftheEthernetframecontainingtheHTTPGETmessage1.Whatisthe48-bitEthernetaddressofyourcomputer?Answer:The48-bitEthernetaddressofmycomputeris:c8:0a:a9:db:9b:f32.Whatisthe48-bitdestinationaddressintheEthernetframe?IsthistheEthernetaddressof?(Hint:theanswerisno).WhatdevicehasthisasitsEthernet_address?[Note:thisisanimportantquestion,andonethatstudentssometimesgetwrong.Re-readpages468-469inthetextandmakesureyouunderstandtheanswerhere.]Answer:1)The48-bitdestinationaddressintheEthernetframeis:00:23:89:8d:50:712)ThisisnottheEthernetaddressof.3)ItistheaddressofmyLinksysrouter,whickisthelinkusedtogetoffthesubnet.3.Givethehexadecimalvalueforthetwo-byteFrametypefield.Whatdothebit(s)whosevalueis1meanwithintheflagfield?Answer:1)Thehexadecimalvalueforthetwo-byteFrametypefield_Thevalueiswithintheflagfieldmeansthefragmenthasnotbeenfragmented.4.HowmanybytesfromtheverystartoftheEthernetframedoestheASCII“G”in“GET”appearintheEthernetframe?Answer:1)TheASCII“G”appears54bytesfromtheverystartoftheEthernetframe._2)Calculationprocessasfollows:Thereare14bytesofEthernetframe,20bytesofIPheaderand20bytesofTCPheaderbeforeHTTPdataisencountered.5.WhatisthehexadecimalvalueoftheCRCfieldinthisEthernetframe?Answer:1)ThereisnoCRCfield.etsnifferstartup.(2)BasedonthecontentsoftheEthernetframecontainingthefirstbyteoftheHTTPresponsemessage6.WhatisthevalueoftheEthernetsourceaddress?Isthistheaddressofyourcomputer,orof(Hint:theanswerisno).WhatdevicehasthisasitsEthernetaddress?Answer:1)ThevalueoftheEthernetsourceaddressis:00:23:89:8d:50:71_2)Thisisneithertheaddressofyourcomputer,northeaddressof.ItistheaddressofmyLinksysrouter,whichisthelinkusedtogetontomysubnet.7.WhatisthedestinationaddressintheEthernetframe?IsthistheEthernetaddressofyourcomputer?Answer:1)ThedestinationaddressintheEthernetframeis:c8:0a:a9:db:9b:f32)Itistheaddressofmycomputer.(The48-bitEthernetaddressofmycomputeris:c8:0a:a9:db:9b:f3)_8.Givethehexadecimalvalueforthetwo-byteFrametypefield.Whatdothebit(s)whosevalueis1meanwithintheflagfield?Answer:1)Thehexadecimalvalueforthetwo-byteFrametypefieldis:0x0800.2)Thevalueis1withintheflagfieldmeansthefragmenthasnotbeenfragmented._9.HowmanybytesfromtheverystartoftheEthernetframedoestheASCII“O”in“OK”(i.e.,theHTTPresponsecode)appearintheEthernetframe?Answer:1)TheASCII“O”appears54bytesfromtheverystartoftheEthernetframe.2)Calculationprocessasfollows:Thereare14bytesofEthernetframe,20bytesofIPheaderand20bytesofTCPheaderbeforeHTTPdataisencountered.10.WhatisthehexadecimalvalueoftheCRCfieldinthisEthernetframe?Answer:1)ThereisnoCRCfield.2)Thereason:BecausetheCRCcalculatedbeforetheWiresharkpacketsnifferstartup.(二)TheAddressResolutionProtocol_ (1)ARPCaching11.Writedownthecontentsofyourcomputer’sARPcache.Whatisthemeaningofeachcolumnvalue?Answer:1)TheInternetAddresscolumncontainstheIPaddress,.2)ThePhysicalAddresscolumncontainstheMACaddress,andthetypeindicatestheprotocoltype.3)ObservingARPinaction_12.WhatarethehexadecimalvaluesforthesourceanddestinationaddressesintheEthernetframecontainingtheARPrequestmessage?Answer:1)ThehexadecimalvaluesforthesourceaddressesintheEthernetframecontainingtheARPrequestmessageis:00:23:89:8d:50:712)ThedestinationaddressesintheEthernetframecontainingtheARPrequestmessageis:ff:ff:ff:ff:ff:ff_13.Givethehexadecimalvalueforthetwo-byteEthernetFrametypefield.Whatdothebit(s)whosevalueis1meanwithintheflagfield?Answer:Thehexadecimalvalueforthetwo-byteEthernetFrametypefieldis:0x0806.14.DownloadtheARPspecificationfrom/innotes/std/std37.txt.Areadable,detaileddiscussionofARPisalsoathttp://www.erg.abdn.ac.uk/users/gorry/course/inets/a_rp.html.a)HowmanybytesfromtheverybeginningoftheEthernetframedoestheARPopcodefieldbegin?Answer:TheARPopcodefieldbegins20bytesfromtheverybeginningoftheEthernetframe.b)WhatisthevalueoftheopcodefieldwithintheARP-payloadpartoftheEthernetframeinwhichanARPrequestismade?oadoftherequestis1._c)DoestheARPmessagecontaintheIPsender?Answer:Yes,theARPmessagecontaing05forthesender.addressofthetheIPaddressd)WhereintheARPrequestdoesthe“question”appear–theEthernetaddressofthemachinewhosecorrespondingIPaddressisbeingqueried?00:00:00:00:00:00toquestionthemachinewhosecorrespondingIPaddress(05)isbeingqueried._15.NowfindtheARPreplythatwassentinresponsetotheARPrequest.a)HowmanybytesfromtheverybeginningoftheEthernetframedoestheARPopcodefieldbegin?Answer:TheARPopcodefieldbegins20bytesfromtheverybeginningoftheEthernetframe.b)WhatisthevalueoftheopcodefieldwithintheARP-payloadpartoftheEthernetframeinwhichanARPresponseismade?oadpartoftheEthernetframeis2._c)WhereintheARPmessagedoesthe“answer”totheearlierARPrequestappear–theIPaddressofthemachinehavingtheEthernetaddresswhosecorrespondingIPaddressisbeingqueried?Answer:TheanswertotheearlierARPrequestappearsinthe”address00:d0:59:a9:3d:68forthesenderwithIPaddress.16.WhatarethehexadecimalvaluesforthesourceanddestinationaddressesintheEthernetframecontainingtheARPreplymessage?address._andforthedestinationis00:d0:59:a9:3d:68.17.Opentheethernet-ethereal-trace-1tracefileinHYPERLINK"/wireshark-l

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论