计网实验tcpipconfiguration

计网实验tcpipconfiguration

ID:82604061

大小:208.50 KB

页数:11页

时间:2022-10-28

上传者:胜利的果实
计网实验tcpipconfiguration_第1页
计网实验tcpipconfiguration_第2页
计网实验tcpipconfiguration_第3页
计网实验tcpipconfiguration_第4页
计网实验tcpipconfiguration_第5页
计网实验tcpipconfiguration_第6页
计网实验tcpipconfiguration_第7页
计网实验tcpipconfiguration_第8页
计网实验tcpipconfiguration_第9页
计网实验tcpipconfiguration_第10页
资源描述:

《计网实验tcpipconfiguration》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

Test1.TCP/IPConfiguration1.ClickStartandthenclickRun.TypethecommandorcmdandthenpressEnter.2.AttheDOSprompt,typeNETHELPandpressEnter.Youshouldseesomethinglikethescreenbelow:ThecommandyouareinterestedinistheViewcommand.Toobtaininformationaboutit,typeNETHELPVIEW,andpressEnter.3.WhatisthepurposeofNETVIEW:TheNETVIEWcommandshowsthenamesofthemachinespresentonyournetwork.Noticethatitliststhenamesofmachinesontheleft,incolumnlabelled“Servername”andanothercolumnlabelled“Remark”4.ListthemachinesafteryouhavetypedNETVIEWfromthecommandprompt

1ClosetheDOSwindowbytypingEXITonthecommandlineandthenpressEnter,orbyclickingtheClosebuttonintheupperrightcornerofthewindow.ObtaintheTCP/IPConfigurationInformation

2UsetheStartmenutoopentheCommandPrompt,anMS-DOS-likewindow.PressStart>Programs>Accessories>CommandPromptorStart>Programs>CommandPrompt.ThefollowingfigureshowstheCommandscreen.TypeipconfigandpresstheEnterkey.Thespellingofipconfigiscriticalwhilecaseisnot.ItisshortforIPConfiguration.ThisfirstscreenshowstheIPaddress,subnetmask,anddefaultgateway.TheIPaddressandthedefaultgatewayshouldbeinthesamenetworkorsubnet,otherwisethishostwouldnotbeabletocommunicateoutsidethenetwork.Inthefigurethesubnetmasktellsusthatthefirstthreeoctetsmustbethesametobeinthesamenetwork.

3Note:IfthiscomputerisonaLAN,thedefaultgatewaymightnotbeseenifitisrunningbehindaProxyServer.Recordthefollowinginformationforthiscomputer.RecordthefollowingTCP/IPinformationforthiscomputer6.ComparetheTCP/IPconfigurationofthiscomputertoothersontheLANthiscomputerisonaLAN,comparetheinformationofseveralmachines.RecordacoupleoftheIPAddresses:1)IPsddresses1:IPaddresses2:thereanysimilarities前三个字段相同,WhatissimilarabouttheIPaddresses最后字段存在差异Whatissimilaraboutthedefaultgateways完全相同TheIPaddressesshouldsharethesamenetworkportion.AllmachinesintheLANshouldsharethesamedefaultgateway.CheckadditionalTCP/IPconfigurationinformationToseedetailedinformation,typeipconfig/allandpressEnter.ThefigureshowsthedetailedIPconfigurationscreen.

4Thehostname,includingthecomputernameandNetBIOSnameshouldbedisplayed.Also,theDHCPserveraddress,ifused,andthedatetheIPleasestartsandendsshouldbedisplayed.Lookovertheinformation.EntriesfortheDNS,usedinnameresolutionservers,mayalsobepresent. thePhysicalAddress(MAC)andtheNICmodel(Description).notarequirement,mostLANadministratorstrytostandardizecomponentslikeNICs.Therefore,itwouldnotbesurprisingtofindallmachinessharethefirstthreeHexpairsintheadapteraddress.Thesethreepairsidentifythemanufactureroftheadapter.

5downtheIPaddressesofanyserverslisted(ifany):IPsddresses1:addresses2:downthecomputerHostName:118stu-06WritedowntheHostNamesofacoupleothercomputers:DoalloftheserversandworkstationssharethesamenetworkportionoftheIPaddressasthestudentworkstationNOItwouldnotbeunusualforsomeoralloftheserversandworkstationstobeinanothernetwork.Itmeansthatthecomputerdefaultgatewayisgoingtoforwardrequeststotheothernetwork.

6UsingpingfromaWorkstationAccessthecommandpromptUsetheStartmenutoopentheCommandPromptwindow.PressStart>Programs>Accessories>CommandPromptorStart>Programs>CommandPromptorStart>AllPrograms>CommandPrompt.pingtheIPaddressofanothercomputerInthewindow,typeping,aspace,andtheIPaddressofacomputerlocatedinyourworkingarea.followingfigureshowsthesuccessfulresultsofpingtothisIPaddress.PingusestheICMPechorequestandechoreplyfeaturetotestphysicalconnectivity.Sincepingreportsonfourattempts,itgivesanindicationofthereliabilityoftheconnection.Lookovertheresultsandverifythatthepingwassuccessful.IsthepingsuccessfulIfnot,performappropriatetroubleshooting.成功

7Ifasecondnetworkedcomputerisavailable,trytopingtheIPaddressofthesecondmachine.Notetheresults.pingtheIPaddressofaDHCPorDNSserverstopingtheIPaddressofanyDHCPand/orDNSserverslistedinthelastexercise.Ifthisworksforeitherserver,andtheyarenotinthenetwork,whatdoesthisindicateWasthepingsuccessful成功pingthehostnameofanothercomputer

8Trytopingthehostnameofthecomputerthatwasrecordedpreviously.Thefigureshowsthesuccessfulresultofthepingthehostname.Lookovertheresults.Noticethatthefirstlineofoutputshowsthehostname,DESKTOPintheexample,followedbytheIPaddress.ThismeansthecomputerwasabletoresolvethehostnametoanIPaddress.Withoutnameresolution,thepingwouldhavefailedbecauseTCP/IPonlyunderstandsvalidIPaddresses,notnames.Ifthepingwassuccessful,itmeansthatconnectivityanddiscoveryofIPaddressescanbedonewithonlyahostname.Infact,thisishowmanyearlynetworkscommunicated.Ifsuccessful,thenpingahostnamealsoshowsthatthereisprobablyaWINSserverworkingonthenetwork.WINSserversoralocal“lmhosts”fileresolvecomputerhostnamestoIPaddresses.Ifthepingfails,thenchancesarethereisnoNetBIOSnametoIPaddressesresolutionrunning.pingtheIPaddressofthedefaultgatewayistheIPaddressofyourdefaultgateway

9topingtheIPaddressofthedefaultgateway.Wasitsuccessful成功Ifthepingissuccessful,itmeansthereisphysicalconnectivitytotherouteronthelocalnetworkandprobablytherestoftheworld.Typetracertatthecommandprompt,followedbyahostnameorIPaddressfromyourworkingarea.tracertisTCP/IPabbreviationfortraceroute.TheprecedingfigureshowsthesuccessfulresultwhenrunningtracertfromonaLAN.ThefirstoutputlineshowstheFQDNfollowedbytheIPaddress.Therefore,aDNSserverwasabletoresolvethenametoanIPaddress.Ifyouareconnectedonahugenetwork(liketheInternet)therewillbelistingsofallroutersthetracertrequestshadtopassthroughtogettothedestination.tracertusesthesameechorequestsandrepliesasthepingcommandbutinaslightlydifferentway.Eachrouterrepresentsapointwhereonenetworkconnectstoanothernetworkandthepacketwasforwardedthrough.14.Tracertawebsiteandexplainwhatyouhavefound.

10

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
最近更新
更多
大家都在看
近期热门
关闭