




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
淮海工学院计算机工程学院实验报告书课程名:计算机网络A题目:实验2班级:学号:姓名:评语:评语:成绩:指导教师:批阅时间:年月日《编译原理》实验报告 -PAGE5-一.实验目的与要求1、掌握常用的网络命令,了解网络的运行状态;
2、对网络进行简单的测试、分析和诊断。二.实验内容或题目1、网络层常用命令:ping,ipconfig,arp,route,tracert
2、统计命令:netstat三、实验步骤与结果C:\DocumentsandSettings\Administrator>pingPinging[56]with32bytesofdata:Replyfrom56:bytes=32time<1msTTL=63Replyfrom56:bytes=32time<1msTTL=63Replyfrom56:bytes=32time<1msTTL=63Replyfrom56:bytes=32time<1msTTL=63Pingstatisticsfor56:Packets:Sent=4,Received=4,Lost=0(0%loss),Approximateroundtriptimesinmilli-seconds:Minimum=0ms,Maximum=0ms,Average=0msC:\DocumentsandSettings\Administrator>pingPinging[43]with32bytesofdata:Replyfrom43:bytes=32time=33msTTL=52Replyfrom43:bytes=32time=32msTTL=52Replyfrom43:bytes=32time=32msTTL=52Replyfrom43:bytes=32time=33msTTL=52Pingstatisticsfor43:Packets:Sent=4,Received=4,Lost=0(0%loss),Approximateroundtriptimesinmilli-seconds:Minimum=32ms,Maximum=33ms,Average=32msC:\DocumentsandSettings\Administrator>ipconfig/allWindowsIPConfigurationHostName............:94PrimaryDnsSuffix.......:NodeType............:UnknownIPRoutingEnabled........:NoWINSProxyEnabled........:NoEthernetadapterVMwareNetworkAdapterVMnet8:Connection-specificDNSSuffix.:Description...........:VMwareVirtualEthernetAdapterforVMnet8PhysicalAddress.........:00-50-56-C0-00-08DhcpEnabled...........:NoIPAddress............:SubnetMask...........:DefaultGateway.........:EthernetadapterVMwareNetworkAdapterVMnet1:Connection-specificDNSSuffix.:Description...........:VMwareVirtualEthernetAdapterforVMnet1PhysicalAddress.........:00-50-56-C0-00-01DhcpEnabled...........:NoIPAddress............:SubnetMask...........:DefaultGateway.........:Ethernetadapter本地连接:Connection-specificDNSSuffix.:Description...........:RealtekRTL8139/810xFamilyFastEthernetNICPhysicalAddress.........:00-15-58-C2-1E-A9DhcpEnabled...........:NoIPAddress............:0SubnetMask...........:DefaultGateway.........:DNSServers...........:68C:\DocumentsandSettings\Administrator>arp-aInterface:00x4InternetAddressPhysicalAddressType5c-dd-70-3c-0d-00dynamicC:\DocumentsandSettings\Administrator>routeManipulatesnetworkroutingtables.ROUTE[-f][-p][command[destination][MASKnetmask][gateway][METRICmetric][IFinterface]-fClearstheroutingtablesofallgatewayentries.Ifthisisusedinconjunctionwithoneofthecommands,thetablesareclearedpriortorunningthecommand.-pWhenusedwiththeADDcommand,makesaroutepersistentacrossbootsofthesystem.Bydefault,routesarenotpreservedwhenthesystemisrestarted.Ignoredforallothercommands,whichalwaysaffecttheappropriatepersistentroutes.ThisoptionisnotsupportedinWindows95.commandOneofthese:PRINTPrintsarouteADDAddsarouteDELETEDeletesarouteCHANGEModifiesanexistingroutedestinationSpecifiesthehost.MASKSpecifiesthatthenextparameteristhe'netmask'value.netmaskSpecifiesasubnetmaskvalueforthisrouteentry.Ifnotspecified,itdefaultsto55.gatewaySpecifiesgateway.interfacetheinterfacenumberforthespecifiedroute.METRICspecifiesthemetric,ie.costforthedestination.AllsymbolicnamesusedfordestinationarelookedupinthenetworkdatabasefileNETWORKS.ThesymbolicnamesforgatewayarelookedupinthehostnamedatabasefileHOSTS.IfthecommandisPRINTorDELETE.Destinationorgatewaycanbeawildcard,(wildcardisspecifiedasastar'*'),orthegatewayargumentmaybeomitted.IfDestcontainsa*or?,itistreatedasashellpattern,andonlymatchingdestinationroutesareprinted.The'*'matchesanystring,and'?'matchesanyonechar.Examples:157.*.1,157.*,127.*,*224*.DiagnosticNotes:InvalidMASKgeneratesanerror,thatiswhen(DEST&MASK)!=DEST.Example>routeADDMASKIF1Therouteadditionfailed:Thespecifiedmaskparameterisinvalid.(Destination&Mask)!=Destination.Examples:>routePRINT>routeADDMASKMETRIC3IF2destination^^mask^gatewaymetric^^Interface^IfIFisnotgiven,ittriestofindthebestinterfaceforagivengateway.>routePRINT>routePRINT157*Onlyprintsthosematching157*>routeCHANGEMASKMETRIC2IF2CHANGEisusedtomodifygatewayand/ormetriconly.>routePRINT>routeDELETE>routePRINTC:\DocumentsandSettings\Administrator>routeprint===========================================================================InterfaceList0x1MSTCPLoopbackinterface0x2...005056c00008VMwareVirtualEthernetAdapterforVMnet80x3...005056c00001VMwareVirtualEthernetAdapterforVMnet10x4...001558c21ea9RealtekRTL8139FamilyPCIFastEthernetNIC-数据包计划程序微型端口======================================================================================================================================================ActiveRoutes:NetworkDestinationNetmaskGatewayInterfaceMetric0201205520555520205520555520002005520555500202020002055551555515555001DefaultGateway:===========================================================================PersistentRoutes:NoneC:\DocumentsandSettings\Administrator>tracertTracingrouteto[43]overamaximumof30hops:1<1ms<1ms<1ms2<1ms<1ms<1msbogon[]3***Requesttimedout.4***Requesttimedout.5C:\DocumentsandSettings\Administrator>netstatActiveConnectionsProtoLocalAddressForeignAddressStateTCP94:130451:httpCLOSE_WAITTCP94:130551:httpCLOSE_WAITTCP94:130651:httpCLOSE_WAITTCP94:130751:httpCLOSE_WAITTCP94:130906
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
评论
0/150
提交评论