實驗報告模板2-2_第1頁
實驗報告模板2-2_第2頁
實驗報告模板2-2_第3頁
實驗報告模板2-2_第4頁
實驗報告模板2-2_第5頁
已閱讀5頁,還剩2頁未讀 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

淮海工學院計算機工程學院實驗報告書課程名:計算機網絡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

提交評論