




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
淮海工學院計算機工程學院實驗報告書課程名:計算機網絡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. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 九江學院《高等數學理論教學》2023-2024學年第一學期期末試卷
- 江蘇財會職業學院《彈性力學與有限元》2023-2024學年第二學期期末試卷
- 天津鐵道職業技術學院《PHP動態網站開發》2023-2024學年第二學期期末試卷
- 深圳技術大學《透過影像看健康》2023-2024學年第一學期期末試卷
- 天津美術學院《鄉村幼兒園教師專業素養案例原理方法》2023-2024學年第二學期期末試卷
- 漯河食品職業學院《住宅及辦公空間室內環境設計》2023-2024學年第一學期期末試卷
- 石家莊城市經濟職業學院《漢語國際教育概論》2023-2024學年第二學期期末試卷
- 楊凌職業技術學院《食品工程原理(2)》2023-2024學年第二學期期末試卷
- 離婚協議書模板子女已成年
- 回遷房屋買賣合同集錦二零二五年
- 2025年的共同借款擔保合同范本
- 豬舍出租合同協議
- 沖壓模具制作合同范例
- 學校會計崗位試題及答案
- 《結膜炎診斷與治療》課件
- 期中測試(范圍:第1-4章)(A卷·夯實基礎)-北師大版七年級數學下冊(解析版)
- 智慧廣場《移多補少問題》(教學設計)-2024-2025學年一年級數學上冊青島版
- 2025東風汽車校招人才測評題庫
- 木制品幼兒園課程
- 2024年四川宜賓五糧液股份有限公司招聘筆試真題
- 吉林2025年03月長春新區面向社會公開選聘8名各產業招商辦公室負責人筆試歷年典型考題(歷年真題考點)解題思路附帶答案詳解
評論
0/150
提交評論