浙江大学2004–2005学年夏季学期《网络系统设计与工程》课程期末考试试卷开课学院:计算机学院,考试形式:闭,允许带___________入场考试时间:_2005_年_7月_9_日,所需时间:120分钟考生姓名:_____学号:专业:________题序一二三四五六七八总分得分评卷人注意事项:1.请把答案写在答题纸对应的题号内;2.有关IP地址表达方式,如果没有特别的掩码标明,则均按标准地址分类表示。一、Pleaseselectthebestchoiceforfollowingquestion(60points)1.WhichofthefollowingwouldbeusedtoconnectaroutertoanEthernetswitch?A.straight-throughRJ45cableB.cross-overRJ45cableC.RS232cableD.aV.35cable2.HowdoyouconnecttoarouterusingHyperTerminal?A.ConnecttheEthernetportofyourhosttotheEthernetinterfaceoftherouterusingarolledcable.B.ConnecttheCOMportofyourhosttotheEthernetportofyourrouterusingastraight-throughcable.C.ConnecttheCOMportofyourhosttotheconsoleportoftherouterusingacrossovercable.D.ConnecttheCOMportofyourhosttotheconsoleportoftherouterusingarolledcable.3.WhichoffollowingcommandisusedtoprintroutingtableofaQuidwayrouter?A.displayiprouteB.displayippathC.showiprouteD.displaycurrent-config4.Whichlayer-2deviceenableshigh-speeddataexchange?A.RepeaterB.HubC.SwitchD.Router5.Whichofthefollowingisacorrectpingtoahost?A.Router>ping172.16.0.0B.Router#ping172.16.25.255C.Router>ping172.16.10.2D.Router#ping172.16.2.2566.Howmanysubnetsandhostscanyougetfromthenetwork192.168.254.0/26?A.4networkswith64hostsB.2networkswith62hostsC.254networkswith254hostsD.1networkwith254hostsAnswerB.Ibetyoustruggledwiththisone,althoughitisn’tdifficult.Buttheanswerswillmakeyouthink.First,the254-hostanswersarenotevenclose,soyouhavea50/50chancebetweenthefour-networkandtwo-networkoptions.ThepartyouprobablythoughtaboutthemostiswhetherCiscoisusingsubnet-zero.Thiswouldprovidefournetworksinsteadoftwo.Makessense.However,Ciscodoesnotconsidersubnet-zerovalidonanyoftheirexams.Inaddition,youcannotget64hostswiththismask,only62hostspersubnet,regardlessofwhetheryouareusingsubnet-zeroornot,whichmakesthefournetworkanswerscompletelywrong.7.IfacompanygetsaclassBIPaddressesandplanstoassignto12departmentsequably,themostefficientsubnetmaskis?A.255.255.128.0B.255.255.192.0C.255.255.240.0D.255.255.252.08.Whichisthemostefficientsubnetmasktouseonpoint-to-pointlinks?A.255.255.255.0B.255.255.255.224C.255.255.255.252D.255.255.255.2489.YouarethenetworkadministratorforRouterSim.com,andausercannotreachthecorporateserverfromtheirremoteoffice.TheIPaddressofthehostis192.168.254.10/24,thedefaultgatewayofthehostis192.168.254.1,andtheserveris192.168.10.10/24.YouhavetheusertypethefollowingfromaDOSprompt:ping192.168.254.1;thisisunsuccessful.Youthenhavetheusertype:ping127.0.0.1;thisisalsounsuccessful.Whatcouldtheproblembe?A.Therouterisdown.B.Theserverisdown.C.TCP/IPisnotinitializedonthehost.D.TheEthernetcableisunpluggedfromthehost.AnswerC.127.0.0.1iscalledtheloopbackaddressandisusedfordiagnosticsonahost.Ifyoucannotpingthisaddress,thenyouhaveaproblemwiththeIPstackonthehost.10.WhichofthefollowingpromptsindicatesthatyouareinprivilegedEXECmode?A.>B.(config)#C.#D.!11.Ifyoutypeacommandandreceivetheerror“%incompletecommand”fromaswitchCLI,whatwouldyoudotogethelp?A.TypehistorytoreviewtheerrorB.Re-enterthecommandfollowedbyaquestionmarktoviewthekeywordsC.TypehelpD.Enteraquestionmarktoseealltheconsolecommands12.WhichoffollowingcommandisusedtoprintroutingtableofaQuidwayrouter?A.displayiprouteB.displa...