计网实验TCPIPConfiguration.docx

上传人:b****6 文档编号:7440339 上传时间:2023-01-24 格式:DOCX 页数:9 大小:168.61KB
下载 相关 举报
计网实验TCPIPConfiguration.docx_第1页
第1页 / 共9页
计网实验TCPIPConfiguration.docx_第2页
第2页 / 共9页
计网实验TCPIPConfiguration.docx_第3页
第3页 / 共9页
计网实验TCPIPConfiguration.docx_第4页
第4页 / 共9页
计网实验TCPIPConfiguration.docx_第5页
第5页 / 共9页
点击查看更多>>
下载资源
资源描述

计网实验TCPIPConfiguration.docx

《计网实验TCPIPConfiguration.docx》由会员分享,可在线阅读,更多相关《计网实验TCPIPConfiguration.docx(9页珍藏版)》请在冰豆网上搜索。

计网实验TCPIPConfiguration.docx

计网实验TCPIPConfiguration

Test1.TCP/IPConfiguration

1.ClickStartandthenclickRun.TypethecommandorcmdandthenpressEnter.

2.AttheDOSprompt,typeNETHELPandpressEnter.Youshouldseesomethinglikethescreenbelow:

ThecommandyouareinterestedinistheViewcommand.Toobtaininformationaboutit,typeNETHELPVIEW,andpressEnter.

3.WhatisthepurposeofNETVIEW:

TheNETVIEWcommandshowsthenamesofthemachinespresentonyournetwork.Noticethatitliststhenamesofmachinesontheleft,incolumnlabelled“Servername”andanothercolumnlabelled“Remark”

4.ListthemachinesafteryouhavetypedNETVIEWfromthecommandprompt

ClosetheDOSwindowbytypingEXITonthecommandlineandthenpressEnter,orbyclickingtheClosebuttonintheupperrightcornerofthewindow.

ObtaintheTCP/IPConfigurationInformation

UsetheStartmenutoopentheCommandPrompt,anMS-DOS-likewindow.PressStart>Programs>Accessories>CommandPromptorStart>Programs>CommandPrompt.

ThefollowingfigureshowstheCommandscreen.TypeipconfigandpresstheEnterkey.Thespellingofipconfigiscriticalwhilecaseisnot.ItisshortforIPConfiguration.

 

ThisfirstscreenshowstheIPaddress,subnetmask,anddefaultgateway.TheIPaddressandthedefaultgatewayshouldbeinthesamenetworkorsubnet,otherwisethishostwouldnotbeabletocommunicateoutsidethenetwork.Inthefigurethesubnetmasktellsusthatthefirstthreeoctetsmustbethesametobeinthesamenetwork.

Note:

IfthiscomputerisonaLAN,thedefaultgatewaymightnotbeseenifitisrunningbehindaProxyServer.Recordthefollowinginformationforthiscomputer.

RecordthefollowingTCP/IPinformationforthiscomputer

6.

ComparetheTCP/IPconfigurationofthiscomputertoothersontheLAN

7.IfthiscomputerisonaLAN,comparetheinformationofseveralmachines.

RecordacoupleoftheIPAddresses:

1)IPsddresses1:

192.168.156.57

2)IPaddresses2:

192.168.156.66

Arethereanysimilarities?

前三个字段相同,

WhatissimilarabouttheIPaddresses?

最后字段存在差异

Whatissimilaraboutthedefaultgateways?

完全相同

TheIPaddressesshouldsharethesamenetworkportion.AllmachinesintheLANshouldsharethesamedefaultgateway.

CheckadditionalTCP/IPconfigurationinformation

Toseedetailedinformation,typeipconfig/allandpressEnter.ThefigureshowsthedetailedIPconfigurationscreen.

Thehostname,includingthecomputernameandNetBIOSnameshouldbedisplayed.Also,theDHCPserveraddress,ifused,andthedatetheIPleasestartsandendsshouldbedisplayed.Lookovertheinformation.EntriesfortheDNS,usedinnameresolutionservers,mayalsobepresent.

8.MarkthePhysicalAddress(MAC)andtheNICmodel(Description).

9.Whilenotarequirement,mostLANadministratorstrytostandardizecomponentslikeNICs.Therefore,itwouldnotbesurprisingtofindallmachinessharethefirstthreeHexpairsintheadapteraddress.Thesethreepairsidentifythemanufactureroftheadapter.

10.WritedowntheIPaddressesofanyserverslisted(ifany):

IPsddresses1:

192.168.156.57

IPaddresses2:

192.168.156.66

WritedownthecomputerHostName:

118stu-06

WritedowntheHostNamesofacoupleothercomputers:

DoalloftheserversandworkstationssharethesamenetworkportionoftheIPaddressasthestudentworkstation?

NO

Itwouldnotbeunusualforsomeoralloftheserversandworkstationstobeinanothernetwork.Itmeansthatthecomputerdefaultgatewayisgoingtoforwardrequeststotheothernetwork.

UsingpingfromaWorkstation

Accessthecommandprompt

UsetheStartmenutoopentheCommandPromptwindow.PressStart>Programs>Accessories>CommandPromptorStart>Programs>CommandPromptorStart>AllPrograms>CommandPrompt.

pingtheIPaddressofanothercomputer

Inthewindow,typeping,aspace,andtheIPaddressofacomputerlocatedinyourworkingarea.

11.ThefollowingfigureshowsthesuccessfulresultsofpingtothisIPaddress.

PingusestheICMPechorequestandechoreplyfeaturetotestphysicalconnectivity.Sincepingreportsonfourattempts,itgivesanindicationofthereliabilityoftheconnection.Lookovertheresultsandverifythatthepingwassuccessful.Isthepingsuccessful?

Ifnot,performappropriatetroubleshooting.成功

Ifasecondnetworkedcomputerisavailable,trytopingtheIPaddressofthesecondmachine.

Notetheresults.

pingtheIPaddressofaDHCPorDNSservers

12.TrytopingtheIPaddressofanyDHCPand/orDNSserverslistedinthelastexercise.Ifthisworksforeitherserver,andtheyarenotinthenetwork,whatdoesthisindicate?

Wasthepingsuccessful?

成功

pingthehostnameofanothercomputer

Trytopingthehostnameofthecomputerthatwasrecordedpreviously.Thefigureshowsthesuccessfulresultofthepingthehostname.

Lookovertheresults.Noticethatthefirstlineofoutputshowsthehostname,DESKTOPintheexample,followedbytheIPaddress.ThismeansthecomputerwasabletoresolvethehostnametoanIPaddress.Withoutnameresolution,thepingwouldhavefailedbecauseTCP/IPonlyunderstandsvalidIPaddresses,notnames.

Ifthepingwassuccessful,itmeansthatconnectivityanddiscoveryofIPaddressescanbedonewithonlyahostname.Infact,thisishowmanyearlynetworkscommunicated.Ifsuccessful,thenpingahostnamealsoshowsthatthereisprobablyaWINSserverworkingonthenetwork.WINSserversoralocal“lmhosts”fileresolvecomputerhostnamestoIPaddresses.Ifthepingfails,thenchancesarethereisnoNetBIOSnametoIPaddressesresolutionrunning.

pingtheIPaddressofthedefaultgateway

13.WhatistheIPaddressofyourdefaultgateway?

192.168.156.254

TrytopingtheIPaddressofthedefaultgateway.Wasitsuccessful?

成功

Ifthepingissuccessful,itmeansthereisphysicalconnectivitytotherouteronthelocalnetworkandprobablytherestoftheworld.

Typetracertatthecommandprompt,followedbyahostnameorIPaddressfromyourworkingarea.

tracertisTCP/IPabbreviationfortraceroute.TheprecedingfigureshowsthesuccessfulresultwhenrunningtracertfromonaLAN.ThefirstoutputlineshowstheFQDNfollowedbytheIPaddress.Therefore,aDNSserverwasabletoresolvethenametoanIPaddress.Ifyouareconnectedonahugenetwork(liketheInternet)therewillbelistingsofallroutersthetracertrequestshadtopassthroughtogettothedestination.

tracertusesthesameechorequestsandrepliesasthepingcommandbutinaslightlydifferentway.

Eachrouterrepresentsapointwhereonenetworkconnectstoanothernetworkandthepacketwasforwardedthrough.

14.Tracertawebsiteandexplainwhatyouhavefound.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 语文

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1