您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 质量控制/管理 > 计网实验TCPIP-Configuration
1、Test1.TCP/IPConfiguration1.ClickStartandthenclickRun.TypethecommandorcmdandthenpressEnter.2.AttheDOSprompt,typeNETHELPandpressEnter.Youshouldseesomethinglikethescreenbelow:ThecommandyouareinterestedinistheViewcommand.Toobtaininformationaboutit,typeNETHELPVIEW,andpressEnter.3.WhatisthepurposeofNETVIEW:TheNETVIEWcommandshowsthenamesofthemachinespresentonyournetwork.Noticethatitliststhenamesofmachinesontheleft,incolumnlabelled“Servername”andanothercolumnlabelled“Remark”4.Listthemachinesafteryouhav。
2、etypedNETVIEWfromthecommandpromptClosetheDOSwindowbytypingEXITonthecommandlineandthenpressEnter,orbyclickingtheClosebuttonintheupperrightcornerofthewindow.ObtaintheTCP/IPConfigurationInformationUsetheStartmenutoopentheCommandPrompt,anMS-DOS-likewindow.PressStartProgramsAccessoriesCommandPromptorStartProgramsCommandPrompt.ThefollowingfigureshowstheCommandscreen.TypeipconfigandpresstheEnterkey.Thespellingofipconfigiscriticalwhilecaseisnot.ItisshortforIPConfiguration.ThisfirstscreenshowstheIPaddres。
3、s,subnetmask,anddefaultgateway.TheIPaddressandthedefaultgatewayshouldbeinthesamenetworkorsubnet,otherwisethishostwouldnotbeabletocommunicateoutsidethenetwork.Inthefigurethesubnetmasktellsusthatthefirstthreeoctetsmustbethesametobeinthesamenetwork.Note:IfthiscomputerisonaLAN,thedefaultgatewaymightnotbeseenifitisrunningbehindaProxyServer.Recordthefollowinginformationforthiscomputer.RecordthefollowingTCP/IPinformationforthiscomputer6.ComparetheTCP/IPconfigurationofthiscomputertoothersontheLAN7.Ifthi。
4、scomputerisonaLAN,comparetheinformationofseveralmachines.RecordacoupleoftheIPAddresses:1)IPsddresses1:192.168.156.572)IPaddresses2:192.168.156.66Arethereanysimilarities?前三个字段相同,WhatissimilarabouttheIPaddresses?最后字段存在差异Whatissimilaraboutthedefaultgateways?完全相同TheIPaddressesshouldsharethesamenetworkportion.AllmachinesintheLANshouldsharethesamedefaultgateway.CheckadditionalTCP/IPconfigurationinformationToseedetailedinformation,typeipconfig/allandpressEnter.ThefigureshowsthedetailedIPconfigurationsc。
5、reen.Thehostname,includingthecomputernameandNetBIOSnameshouldbedisplayed.Also,theDHCPserveraddress,ifused,andthedatetheIPleasestartsandendsshouldbedisplayed.Lookovertheinformation.EntriesfortheDNS,usedinnameresolutionservers,mayalsobepresent.8.MarkthePhysicalAddress(MAC)andtheNICmodel(Description).9.Whilenotarequirement,mostLANadministratorstrytostandardizecomponentslikeNICs.Therefore,itwouldnotbesurprisingtofindallmachinessharethefirstthreeHexpairsintheadapteraddress.Thesethreepairsidentifythem。
6、anufactureroftheadapter.10.WritedowntheIPaddressesofanyserverslisted(ifany):IPsddresses1:192.168.156.57IPaddresses2:192.168.156.66WritedownthecomputerHostName:118stu-06WritedowntheHostNamesofacoupleothercomputers:DoalloftheserversandworkstationssharethesamenetworkportionoftheIPaddressasthestudentworkstation?NOItwouldnotbeunusualforsomeoralloftheserversandworkstationstobeinanothernetwork.Itmeansthatthecomputerdefaultgatewayisgoingtoforwardrequeststotheothernetwork.UsingpingfromaWorkstationAccesst。
7、hecommandpromptUsetheStartmenutoopentheCommandPromptwindow.PressStartProgramsAccessoriesCommandPromptorStartProgramsCommandPromptorStartAllProgramsCommandPrompt.pingtheIPaddressofanothercomputerInthewindow,typeping,aspace,andtheIPaddressofacomputerlocatedinyourworkingarea.11.ThefollowingfigureshowsthesuccessfulresultsofpingtothisIPaddress.PingusestheICMPechorequestandechoreplyfeaturetotestphysicalconnectivity.Sincepingreportsonfourattempts,itgivesanindicationofthereliabilityoftheconnection.Looko。
8、vertheresultsandverifythatthepingwassuccessful.Isthepingsuccessful?Ifnot,performappropriatetroubleshooting.成功Ifasecondnetworkedcomputerisavailable,trytopingtheIPaddressofthesecondmachine.Notetheresults.pingtheIPaddressofaDHCPorDNSservers12.TrytopingtheIPaddressofanyDHCPand/orDNSserverslistedinthelastexercise.Ifthisworksforeitherserver,andtheyarenotinthenetwork,whatdoesthisindicate?Wasthepingsuccessful?成功pingthehostnameofanothercomputerTrytopingthehostnameofthecomputerthatwasrecordedpreviously.Th。
9、efigureshowsthesuccessfulresultofthepingthehostname.Lookovertheresults.Noticethatthefirstlineofoutputshowsthehostname,DESKTOPintheexample,followedbytheIPaddress.ThismeansthecomputerwasabletoresolvethehostnametoanIPaddress.Withoutnameresolution,thepingwouldhavefailedbecauseTCP/IPonlyunderstandsvalidIPaddresses,notnames.Ifthepingwassuccessful,itmeansthatconnectivityanddiscoveryofIPaddressescanbedonewithonlyahostname.Infact,thisishowmanyearlynetworkscommunicated.Ifsuccessful,thenpingahostnamealsosh。
10、owsthatthereisprobablyaWINSserverworkingonthenetwork.WINSserversoralocal“lmhosts”fileresolvecomputerhostnamestoIPaddresses.Ifthepingfails,thenchancesarethereisnoNetBIOSnametoIPaddressesresolutionrunning.pingtheIPaddressofthedefaultgateway13.WhatistheIPaddressofyourdefaultgateway?192.168.156.254TrytopingtheIPaddressofthedefaultgateway.Wasitsuccessful?成功Ifthepingissuccessful,itmeansthereisphysicalconnectivitytotherouteronthelocalnetworkandprobablytherestoftheworld.Typetracertatthecomman。
本文标题:计网实验TCPIP-Configuration
链接地址:https://www.777doc.com/doc-4594233 .html