网络技术实验报告1_第1页
网络技术实验报告1_第2页
网络技术实验报告1_第3页
网络技术实验报告1_第4页
网络技术实验报告1_第5页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

昆明理工大学信息工程与自动化学院学生实验报告(2013—2014学年第二学期)课程名称:计算机网络技术开课实验室:自动化系2014年5月14日年级、专业、班测控121学号201210402121姓名黄祖任成绩实验项目名称实验一网络初步指导教师黄国勇教师评语教师签名:年月日一、实验目的:掌握常用网络命令的使用方法;掌握win2000网络配置的基本步骤;熟悉和掌握网络管理、网络维护的基本内容和方法实验报告内容:MicrosoftWindowsXP[版本5.1.2600](C)版权所有1985-2001MicrosoftCorp.C:\DocumentsandSettings\user>ARPDisplaysandmodifiestheIP-to-Physicaladdresstranslationtablesusedbyaddressresolutionprotocol(ARP).ARP-sinet_addreth_addr[if_addr]ARP-dinet_addr[if_addr]ARP-a[inet_addr][-Nif_addr]-aDisplayscurrentARPentriesbyinterrogatingthecurrentprotocoldata.Ifinet_addrisspecified,theIPandPhysicaladdressesforonlythespecifiedcomputeraredisplayed.IfmorethanonenetworkinterfaceusesARP,entriesforeachARPtablearedisplayed.-gSameas-a.inet_addrSpecifiesaninternetaddress.-Nif_addrDisplaystheARPentriesforthenetworkinterfacespecifiedbyif_addr.-dDeletesthehostspecifiedbyinet_addr.inet_addrmaybewildcardedwith*todeleteallhosts.-sAddsthehostandassociatestheInternetaddressinet_addrwiththePhysicaladdresseth_addr.ThePhysicaladdressisgivenas6hexadecimalbytesseparatedbyhyphens.Theentryispermanent.eth_addrSpecifiesaphysicaladdress.if_addrIfpresent,thisspecifiestheInternetaddressoftheinterfacewhoseaddresstranslationtableshouldbemodified.Ifnotpresent,thefirstapplicableinterfacewillbeused.Example:>arp-s157.55.85.21200-aa-00-62-c6-09Addsastaticentry.>arp-aDisplaysthearptable.C:\DocumentsandSettings\user>PingUsage:ping[-t][-a][-ncount][-lsize][-f][-iTTL][-vTOS][-rcount][-scount][[-jhost-list]|[-khost-list]][-wtimeout]target_nameOptions:-tPingthespecifiedhostuntilstopped.Toseestatisticsandcontinue-typeControl-Break;Tostop-typeControl-C.-aResolveaddressestohostnames.-ncountNumberofechorequeststosend.-lsizeSendbuffersize.-fSetDon'tFragmentflaginpacket.-iTTLTimeToLive.-vTOSTypeOfService.-rcountRecordrouteforcounthops.-scountTimestampforcounthops.-jhost-listLoosesourceroutealonghost-list.-khost-listStrictsourceroutealonghost-list.-wtimeoutTimeoutinmillisecondstowaitforeachreply.C:\DocumentsandSettings\user>IpconfigWindowsIPConfigurationEthernetadapter本地连接:MediaState...........:MediadisconnectedC:\DocumentsandSettings\user>NbtstatDisplaysprotocolstatisticsandcurrentTCP/IPconnectionsusingNBT(NetBIOSoverTCP/IP).NBTSTAT[[-aRemoteName][-AIPaddress][-c][-n][-r][-R][-RR][-s][-S][interval]]-a(adapterstatus)Liststheremotemachine'snametablegivenitsname-A(Adapterstatus)Liststheremotemachine'snametablegivenitsIPaddress.-c(cache)ListsNBT'scacheofremote[machine]namesandtheirIPaddresses-n(names)ListslocalNetBIOSnames.-r(resolved)ListsnamesresolvedbybroadcastandviaWINS-R(Reload)Purgesandreloadstheremotecachenametable-S(Sessions)ListssessionstablewiththedestinationIPaddresses-s(sessions)ListssessionstableconvertingdestinationIPaddressestocomputerNETBIOSnames.-RR(ReleaseRefresh)SendsNameReleasepacketstoWINSandthen,startsRefreshRemoteNameRemotehostmachinename.IPaddressDotteddecimalrepresentationoftheIPaddress.intervalRedisplaysselectedstatistics,pausingintervalsecondsbetweeneachdisplay.PressCtrl+Ctostopredisplayingstatistics.C:\DocumentsandSettings\user>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\user>NetstatActiveConnectionsProtoLocalAddressForeignAddressStateC:\DocumentsandSettings\user>hostnameZDH-20C:\DocumentsandSettings\user>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,itdefaultsto255.255.255.255.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>routeADD157.0.0.0MASK155.0.0.0157.55.80.1IF1Therouteadditionfailed:Thespecifiedmaskparameterisinvalid.(Destination&Mask)!=Destination.Examples:>routePRINT>routeADD157.0.0.0MASK255.0.0.0157.55.80.1METRIC3IF2destination^^mask^gatewaymetric^^

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论