版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
计算机网络原理实验报告实验二熟悉常用的网络命令实验报告姓名:陈津生班级:12级数字媒体技术2班学号:2012329700056指导教师:张芳1.实验目的:学会使用常用ping,ipconfig,nslookup,arp,tracert等常用网络测试命令检测网络连通、了解网络的配置状态,跟踪路由诊断域名系统等相关网络问题。2实验环境:(1)运行windows2000/2003/xp操作系统的PC一台(2)每台PC机具有一块网卡,通过双绞线与局域网网相连。(3)局域网能连接Internet3.实验步骤:用户名:1234567891234密码:01234561、ARP:显示和修改IP地址与物理地址之间的转换表C:\DocumentsandSettings\ligong>ARP-aInterface:8---0x10003InternetAddressPhysicalAddressType00-00-00-00-00-00invalidC:\DocumentsandSettings\ligong>ARP-gInterface:8---0x10003InternetAddressPhysicalAddressType00-00-00-00-00-00invalidC:\DocumentsandSettings\ligong>ARP-dC:\DocumentsandSettings\ligong>ARP-sDisplaysandmodifiestheIP-to-Physicaladdresstranslationtablesusedbyaddressresolutionprotocol(ARP).ARP-sinet_addreth_addr[if_addr]ARP-dinet_addr[if_addr]ARP-a[inet_addr][-Nif_addr]-aDisplayscurrentARPentriesbyinterrogatingthecurrentprotocoldata.Ifinet_addrisspecified,theIPandPhysicaladdressesforonlythespecifiedcomputeraredisplayed.If-R(Reload)Purgesandreloadstheremotecachen-S(Sessions)Listssessionstablewiththedestina-s(sessions)ListssessionstableconvertingdestiaddressestocomputerNETBIOSnames.-RR(ReleaseRefresh)SendsNameReleasepacketstoWINSaneshRemoteNameRemotehostmachinename.IPaddressDotteddecimalrepresentationoftheIPaddresintervalRedisplaysselectedstatistics,pausingintervbetweeneachdisplay.PressCtrl+Ctostopredstatistics.C:\DocumentsandSettings\ligong>nbtstat-n本地连接2:NodeIpAddress:[19]ScopeId:[]NetBIOSLocalNameTableNameTypeStatus---------------------------------------------H16<00>UNIQUERegisteredH16<20>UNIQUERegistered2HJF<00>GROUPRegistered2HJF<1E>GROUPRegisteredC:\DocumentsandSettings\ligong>nbtstat-s本地连接2:NodeIpAddress:[19]ScopeId:[]NoConnections5、net:C:\DocumentsandSettings\ligong>net此命令的语法是:NET[ACCOUNTS|COMPUTER|CONFIG|CONTINUE|FILE|GROUP|HELP|HELPMSG|LOCALGROUP|NAME|PAUSE|PRINT|SEND|SESSION|SHARE|START|STATISTICS|STOP|TIME|USE|USER|VIEW]C:\DocumentsandSettings\ligong>C:\DocumentsandSettings\ligong>net此命令的语法是:NET[ACCOUNTS|COMPUTER|CONFIG|CONTINUE|FILEHELPMSG|LOCALGROUP|NAME|PAUSE|PRINT|SHARE|START|STATISTICS|STOP|TIME|USEC:\DocumentsandSettings\ligong>netstat.exeActiveConnectionsProtoLocalAddressForeignAddressTCPH16:1455localhost:ftpTCPH16:20780:8000TCPH16:2085localhost:4809TCPH16:2086localhost:netbios-ssTCPH16:2088localhost:netbios-ssTCPH16:2090localhost:netbios-ssTCPH16:2091localhost:microsoft-C:\DocumentsandSettings\ligong>netstat-asIPv4StatisticsPacketsReceived=188648ReceivedHeaderErrors=0ReceivedAddressErrors=41385DatagramsForwarded=0UnknownProtocolsReceived=0ReceivedPacketsDiscarded=1636ReceivedPacketsDelivered=158463OutputRequests=11606RoutingDiscards=0DiscardedOutputPackets=0OutputPacketNoRoute=0ReassemblyRequired=0ReassemblySuccessful=0ReassemblyFailures=0DatagramsSuccessfullyFragmented=0DatagramsFailingFragmentation=0FragmentsCreated=0ICMPv4StatisticsReceivedSentMessages3637Errors00DestinationUnreachable34TimeExceeded00ParameterProblems00SourceQuenches00Redirects00Echos312EchoReplies231Timestamps00TimestampReplies00AddressMasks00AddressMaskReplies00TCPStatisticsforIPv4ActiveOpens=415PassiveOpens=57FailedConnectionAttempts=145ResetConnections=29CurrentConnections=3SegmentsReceived=1888SegmentsSent=2228SegmentsRetransmitted=276UDPStatisticsforIPv4DatagramsReceived=213179NoPorts=4718ReceiveErrors=95DatagramsSent=90466、Netstat.exeC:\DocumentsandSettings\ligong>netstat.exeActiveConnectionsProtoLocalAddressForeignAddressStateTCPH16:1455localhost:ftpCLOSE_WAITTCPH16:2166localhost:4809SYN_SENTTCPH16:21670:8000ESTABLISHED7、Ping.exeC:\DocumentsandSettings\ligong>ping.exeUsage:ping[-t][-a][-ncount][-lsize][-f][-iTTL][-vTOS][-rcount][-scount][[-jhost-list]|[-khost-list]][-wtimeout]target_nameOptions:-tPingthespecifiedhostuntilstopped.Toseestatisticsandcontinue-typeControl-BreakTostop-typeControl-C.-aResolveaddressestohostnames.-ncountNumberofechorequeststosend.-lsizeSendbuffersize.-fSetDon'tFragmentflaginpacket.-iTTLTimeToLive.-vTOSTypeOfService.-rcountRecordrouteforcounthops.-scountTimestampforcounthops.-jhost-listLoosesourceroutealonghost-list.-khost-listStrictsourceroutealonghost-list.-wtimeoutTimeoutinmillisecondstowaitforeachreply.8、Route.exeC:\DocumentsandSettings\ligong>route.exeManipulatesnetworkroutingtables.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\ligong>9、Telnet.exe欢迎使用MicrosoftTelnetClientEscape字符是'CTRL+]'MicrosoftTelnet>displayEscape字符是'CTRL+]'将验证身份(NTLMAuthentication)关闭本地回显新行模式-return键发送CR和LF当前模式:控制台Will终端类型优选的终端类型为ANSIMicrosoftTelnet>status没有连接MicrosoftTelnet>?/help命令可以缩写。支持的命令为:c-close关闭当前连接d-display显示操作参数o-openhostname[port]连接到主机名称(默认端口23).q-quit退出telnetset-set
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 双减政策下小学语文作业设计方案
- 2024至2030年中国脚踏机构总成行业投资前景及策略咨询研究报告
- 营运部年度工作总结
- 2024至2030年中国智能型电子密码保险箱数据监测研究报告
- 学校复课复工检查制度
- 2024至2030年貂尾加革圆顶帽项目投资价值分析报告
- 2024至2030年水晶电话护目灯项目投资价值分析报告
- 2024至2030年板网矩鞍填料项目投资价值分析报告
- 2024至2030年咀嚼片项目投资价值分析报告
- 【教育培训机构活动方案】 会销方案
- 消防设施设备及器材
- 二年级上册数学试题判断题专项训练苏教版
- 《月历中的数学问题》教学设计
- 小学语文语段修改专项训练(含答案)
- 沪教版七年级上英语练习题
- 腾讯公司绩效管理制度-腾讯公司绩效管理制度
- 课堂纪律不好的原因
- 课题初中数学作业优化设计的研究研究报告
- 5s推进计划(绝对经典)
- 小学数学答题卡模板(共3页)
- 简易呼吸气囊操作评分标准
评论
0/150
提交评论