《网络安全实验1常用网络命令.docx》由会员分享,可在线阅读,更多相关《网络安全实验1常用网络命令.docx(13页珍藏版)》请在第壹文秘上搜索。
1、实验一常用网络命令实验要求:实验报告只需交电了版。实验报告命名要求:V网络平安实验X学号姓名-年月日:如:网络平安实验1-200一、实验目的(I)熟嫌掌握常用网络工具的功能及其使用方法(2)学会使川根本网络命令获取网络信息,测试网络状况(3)掌握使用系统自带的网络,具进行网络诊断和分析二、实验内容Upin&命令功能:源站点向目的站点发送ICMPreqUeSt报文,目的主机收到后回iCmprepa1.y报文.这样就验证了两个接点之间IP的可达性.川Ping来判断两个接点在网络层的连通性.相关数,PinKPingPi11-n连续pinn个包-t持续地Ping直到人为她中断.ctr1.+breack
2、暂时终止Ping命令,查看当前的统计结果,而ctr1.c那么是中断命令的执行.-1指定姆个Ping报文携带的数据匾部字节数(0-65500)演示实例,3-MXocument三dSettingsVAdministratorpin9?Jsage:ping(-t)(-aJ1.-ncount1(-1sizeI-FJt-iTT1.t-vTOSJ(-ricount-三count(C-Jbost-1.istI(-JcItost-Iist1.J1-wtieout1target-11ane)ptions:-tPingthespecif1.edhostunti1.stoppedTosecstatisticsand
3、continue-typeContro1.-Break;Tostop-typeContro1.Y.-aReso1.veaddressestohostnanes-ncountNunberofechorequeststo8end.-1sizeSendbuffersize.-fSetDon*tFragfwntf1.aginpacket.-iTT1.TineTo1.ive.-vTOSTypeOfService.rcountRecordrouteforcounthops.三countTinestanpforcountbops.-jho三t-1.i三t1.oosesourceroutea1.onghost
4、*1.ist.-khost-1.istStrictsourceroutea1.onghost-1.ist.wtimeoutTineoutinni1.1.isecondstowaitForeachrep1.y.k:Documentsping127.A.A.1Pinging127.0.1with32bytesofdata:RCP1.yfron127.0.0.1:bytes-32ti11c1.n5TT1.-64ReP1.yfron127.0.0.1:bytes=32tine1.nsTT1.=64Hcp1.yfron127.0.0.1:bytes-32timc1.nsTT1.-64Rep1.yfron
5、127.0.0.1:bytes=32titne*127.0.0.1:Packets:Sent=4,Received=4,1.ost=0,Approximateroundtriptimesin11i1.1.i-seconds:Mininun=0ms,Maxinum=0ns,Auerage=0ns说明本机协议的安奘和运行没有问时e(2)、ping本机IPC:DocufentsandSettingsAdninist*ato*pIn959.71.179.132ringing59.71.179.132with32bytesofdata:Reep1.yfron59.71.179.132:bytes32ti
6、me1.msTT1.-64Rep1.yfron59.71.179.132:bytes=32time1.msTT1.=64Rrp1.yfron59.71.179.132:bytes-32time1.msTT1.-64Rep1.yfifcon59.71.179.132:bytes=32time1.msTT1.=64Fingstatisticsfor59.71.179.132:Packets:Sent.4“Received三4.1.ost0rRpproxifwateFoundtFiptifesinri1.1.i-seconds:Minimun,0r113.Maxiinun,0ms,Average0n
7、s(3)、ping网关ipC:DocumentsandSettingsAdfinistratorpi11sF59.71.191.254ri11f1.i11Q59.71.191.254with32bytesofdat:Wcp1.yfron59.71.191.254:bytes-32time-1msTT1.-64Rep1.yft*or59.71.191.254:bytes=32tIme=2nsTT1.=64KCP1.yFron59.71.191.254:bytcsw32timc-4InSIT1.N64杵P1.yfrora59.71.191.254:bytes32time2rsTT1.三64ring
8、statisticsfor59.71.191.254:Packets:Sent三4,Received=、4,1.ost=0Hpproimateroundtriptimesinni1.1.i-scconds:Mininun=Ins,Haxinum=4nsIftuerae=2ns(4)、ping-IC:DocunentsandSettingsXAdninistratorpin9-110800uww.sina.coraPingingcer(121.194.0.208with10006bytesofdata:Rep1.yFron121.194.0.2R8:bytes-IHRWtine-4f5TT1.-
9、56RePIyfroti121.194.0.208:bytes-!HMMtineo53nsTT1.-56Rep1.yfro.121.194.2:bytes4-10000tine-S4ns111.-56Rep1.yfron121.194.0.208:bytes-1000tine=64RSTT1.=56Pingstatisticsfor121.194.0.208:Packets:Sent4.Received-41.ost-0(0z1.oss,Rpproxinateroundtriptiesinni1.1.i*seconds:Hiniraun53ns,NAXinUn-64fsAverage58三C:
10、Docuiwent3andSettingsMdninistratorpi11g-140000wuw.sina.conP(121.194.0.210)uith-10000bytesofdata:Requesttimedout.Requesttinedout.Requesttimedout.Requesttimedout.Pingstatisticsfor121.194.0.210:Packets:Sent4.Received-8,1.ost4100Z1.oss可以看到,发送包的长度太大后,是Ping不通的,有可能是效劳器出于平安考虑做了相应的设祝。2、IPCOnf命令功能:,ipconfig命令
11、扶窗主机配置信息,包括IP地址、子网掩码和默认网关,相关)数:iconfi?I/a1.1./re1.easeadapterI/renewadapterI/fIushdnsZregisterdnsIZshour1.assidadapterIZsetc1.assidadapterc1.assidtoset、ipconfig/?X1.ocurwn1.B*conf1.jr?ApconfIgfcApC*rtZ7t11IZrnw(adapter1Ir1.(adapterIZf1.uht(tIZdip1.ArdnIxretfimiOption*:Z?za1.1.rZrnw1.uhdnr修itWnZd1.sp
12、ImdnZahowc】ideteidwirctrCstI?1Iowvd0vaaa*np1.wsDisp1.aythisheIpDip1.Ayfu1.1.conf1.yura1.Avninfo*wtktion.Re1caCmIP41tw*cv*CImpoIF1.edpCaRnMth11*addriBBforthospecifidAdaptar.Puryeam11DWCP1aoandr-r9terDHSc*eD1.ap1.AVthcontentsofthDHSIUibo1.vrCacImb.D1.ap1.AyB11the三a1.1.owedforadapter.Nut1.ifiethedHcpo1
13、aoid.IKdefau1.tistodisp1.ayonIythe1Paubnatm*k11dIIOfQU1.QforchadapterboundCuTCPzIP.rMw1mbmAndIUinaw4.ifnodt*ravmi!specifid,tMnth*114r1.easedorreneuvdKCc1a*1.dAnoC1b*I11epcti*dth*nt1.wC1sbItirf*ovd.(2)、ipconfig/a1.1Ethernetadapter无线网络连接:MediaState.DescriptionPhysica1.Address:Mediadisconnected:Intc1.Wire1.essWiFi1.ink510A:0A-22