答案Word文档下载推荐.docx

上传人:b****1 文档编号:395024 上传时间:2023-04-28 格式:DOCX 页数:15 大小:33.81KB
下载 相关 举报
答案Word文档下载推荐.docx_第1页
第1页 / 共15页
答案Word文档下载推荐.docx_第2页
第2页 / 共15页
答案Word文档下载推荐.docx_第3页
第3页 / 共15页
答案Word文档下载推荐.docx_第4页
第4页 / 共15页
答案Word文档下载推荐.docx_第5页
第5页 / 共15页
答案Word文档下载推荐.docx_第6页
第6页 / 共15页
答案Word文档下载推荐.docx_第7页
第7页 / 共15页
答案Word文档下载推荐.docx_第8页
第8页 / 共15页
答案Word文档下载推荐.docx_第9页
第9页 / 共15页
答案Word文档下载推荐.docx_第10页
第10页 / 共15页
答案Word文档下载推荐.docx_第11页
第11页 / 共15页
答案Word文档下载推荐.docx_第12页
第12页 / 共15页
答案Word文档下载推荐.docx_第13页
第13页 / 共15页
答案Word文档下载推荐.docx_第14页
第14页 / 共15页
答案Word文档下载推荐.docx_第15页
第15页 / 共15页
亲,该文档总共15页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

答案Word文档下载推荐.docx

《答案Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《答案Word文档下载推荐.docx(15页珍藏版)》请在冰点文库上搜索。

答案Word文档下载推荐.docx

copyright1996-2005byJ.F.KuroseandK.W.Ross.Allrightsreserved

Chapter1ReviewQuestions

1.Thereisnodifference.Throughoutthistext,thewords“host”and“endsystem”areusedinterchangeably.EndsystemsincludePCs,workstations,Webservers,mailservers,Internet-connectedPDAs,WebTVs,etc.

2.SupposeAlice,anambassadorofcountryAwantstoinviteBob,anambassadorofcountryB,overfordinner.Alicedoesn’tsimplyjustcallBobonthephoneandsay,“cometoourdinnertablenow”.Instead,shecallsBobandsuggestsadateandtime.Bobmayrespondbysayinghe’snotavailablethatparticulardate,butheisavailableanotherdate.AliceandBobcontinuetosend“messages”backandforthuntiltheyagreeonadateandtime.Bobthenshowsupattheembassyontheagreeddate,hopefullynotmorethan15minutesbeforeoraftertheagreedtime.DiplomaticprotocolsalsoallowforeitherAliceorBobtopolitelycanceltheengagementiftheyhavereasonableexcuses.

3.Anetworkingprogramusuallyhastwoprograms,eachrunningonadifferenthost,communicatingwitheachother.Theprogramthatinitiatesthecommunicationistheclient.Typically,theclientprogramrequestsandreceivesservicesfromtheserverprogram.

4.TheInternetprovidesitsapplicationsaconnection-orientedservice(TCP)andaconnectionlessservice(UDP).EachInternetapplicationmakesuseofonethesetwoservices.ThetwoserviceswillbediscussedindetailinChapter3.Someoftheprinciplecharacteristicsoftheconnection-orientedserviceare:

∙Twoend-systemsfirst“handshake”beforeeitherstartstosendapplicationdatatotheother.

∙Providesreliabledatatransfer,i.e.,allapplicationdatasentbyonesideoftheconnectionarrivesattheothersideoftheconnectioninorderandwithoutany

gaps.

∙Providesflowcontrol,i.e.,itmakessurethatneitherendofaconnectionoverwhelmsthebuffersintheotherendoftheconnectionbysendingtomanypacketstofast.

∙Providescongestioncontrol,i.e.,regulatestheamountofdatathatanapplicationcansendintothenetwork,helpingtopreventtheInternetfromenteringastateofgridlock.

Theprinciplecharacteristicsofconnectionlessserviceare:

∙Nohandshaking

∙Noguaranteesofreliabledatatransfer

∙Noflowcontrolorcongestioncontrol

5.Flowcontrolandcongestioncontrolaretwodistinctcontrolmechanismswithdistinctobjectives.Flowcontrolmakessurethatneitherendofaconnectionoverwhelmsthebuffersintheotherendoftheconnectionbysendingtomanypacketstofast.Congestioncontrolregulatestheamountofdatathatanapplicationcansendintothenetwork,helpingtopreventcongestioninthenetworkcore(i.e.,inthebuffersinthenetworkrouters).

6.TheInternet’sconnection-orientedserviceprovidesreliabledatatransferbyusingacknowledgementsandretransmissions.Whenonesideoftheconnectiondoesn’treceiveanacknowledgement(fromtheothersideoftheconnection)forapacketittransmitted,itretransmitsthepacket.

7.Acircuit-switchednetworkcanguaranteeacertainamountofend-to-endbandwidth

forthedurationofacall.Mostpacket-switchednetworkstoday(includingthe

Internet)cannotmakeanyend-to-endguaranteesforbandwidth.

8.Inapacketswitchednetwork,thepacketsfromdifferentsourcesflowingonalinkdonotfollowanyfixed,pre-definedpattern.InTDMcircuitswitching,eachhostgetsthesameslotinarevolvingTDMframe.

9.Attimet0thesendinghostbeginstotransmit.Attimet1=L/R1,thesendinghostcompletestransmissionandtheentirepacketisreceivedattherouter(nopropagationdelay).Becausetherouterhastheentirepacketattimet1,itcanbegintotransmitthepackettothereceivinghostattimet1.Attimet2=t1+L/R2,theroutercompletestransmissionandtheentirepacketisreceivedatthereceivinghost(again,nopropagationdelay).Thus,theend-to-enddelayisL/R1+L/R2.

10.InaVCnetwork,eachpacketswitchinthenetworkcoremaintainsconnectionstateinformationforeachVCpassingthroughit.SomeofthisconnectionstateinformationismaintainedtoaVC-numbertranslationtable.(Seepage25)

11.TheconsofVCsinclude(i)theneedtohaveasignalingprotocoltoset-upandtear-downtheVCs;

(ii)theneedtomaintainconnectionstateinthepacketswitches.Forthepros,someresearchersandengineersarguethatitiseasiertoprovideQoSservices-suchasservicesthatguaranteeaminimumtransmissionrateorservices

thatguaranteemaximumend-to-endpacketdelay–whenVCsareused.

12.1.Dial-upmodemovertelephoneline:

residential;

2.DSLovertelephoneline:

residentialorsmalloffice;

3.CabletoHFC:

4.100MbpsswitchedEtherent:

company;

5.WirelessLAN:

mobile;

6.Cellularmobileaccess(forexample,WAP):

mobile

13.Atier-1ISPconnectstoallothertier-1ISPs;

atier-2ISPconnectstoonlyafewofthetier-1ISPs.Also,atier-2ISPisacustomerofoneormoretier-1

14.APOPisagroupofoneormoreroutersinanISPsnetworkatwhichroutersinotherISPscanconnect.NAPsarelocalizednetworksatwhichmanyISPs(tier-1,tier-2andlower-tierISPs)caninterconnect.

15.HFCbandwidthissharedamongtheusers.Onthedownstreamchannel,allpacketsemanatefromasinglesource,namely,theheadend.Thus,therearenocollisionsinthedownstreamchannel.

16.EthernetLANshavetransmissionratesof10Mbps,100Mbps,1Gbpsand10Gbps.

ForanXMbpsEthernet(whereX=10,100,1,000or10,000),ausercancontinuouslytransmitattherateXMbpsifthatuseristheonlypersonsendingdata.

Iftherearemorethanoneactiveuser,theneachusercannotcontinuouslytransmitat

XMbps.

17.Ethernetmostcommonlyrunsovertwisted-paircopperwireand“thin”coaxialcable.

Italsocanrunoverfibersopticlinksandthickcoaxialcable.

18.Dialupmodems:

upto56Kbps,bandwidthisdedicated;

ISDN:

upto128kbps,bandwidthisdedicated;

ADSL:

downstreamchannelis.5-8Mbps,upstreamchannel

isupto1Mbps,bandwidthisdedicated;

HFC,downstreamchannelis10-30MbpsandupstreamchannelisusuallylessthanafewMbps,bandwidthisshared.

19.Thedelaycomponentsareprocessingdelays,transmissiondelays,propagationdelays,andqueuingdelays.Allofthesedelaysarefixed,exceptforthequeuingdelays,whicharevariable.

20.Fivegenerictasksareerrorcontrol,flowcontrol,segmentationandreassembly,multiplexing,andconnectionsetup.Yes,thesetaskscanbeduplicatedatdifferentlayers.Forexample,errorcontrolisoftenprovidedatmorethanonelayer.

21.ThefivelayersintheInternetprotocolstackare–fromtoptobottom–theapplicationlayer,thetransportlayer,thenetworklayer,thelinklayer,andthephysicallayer.TheprincipalresponsibilitiesareoutlinedinSection1.7.1.

22.application-layermessage:

datawhichanapplicationwantstosendandpassedontothetransportlayer;

transport-layersegment:

generatedbythetransportlayerandencapsulatesapplication-layermessagewithtransportlayerheader;

network-layerdatagram:

encapsulatestransport-layersegmentwithanetwork-layerheader;

link-

layerframe:

encapsulatesnetwork-layerdatagramwithalink-layerheader.

23.Routersprocesslayers1through3.(Thisisalittlebitofawhitelie,asmodernrouterssometimesactasfirewallsorcachingcomponents,andprocesslayerfouraswell.)Linklayerswitchesprocesslayers1through2.Hostsprocessallfivelayers.

Chapter1Problems

Problem1.

Thereisnosinglerightanswertothisquestion.Manyprotocolswoulddothetrick.Here'

sasimpleanswerbelow:

MessagesfromATMmachinetoServer

Msgnamepurpose

---------------

HELO<

userid>

Letserverknowthatthereisacardinthe

ATMmachine

ATMcardtransmitsuserIDtoServerPASSWD<

passwd>

UserentersPIN,whichissenttoserverBALANCEUserrequestsbalance

WITHDRAWL<

amount>

Useraskstowithdrawmoney

BYEuseralldone

MessagesfromServertoATMmachine(display)

PASSWDAskuserforPIN(password)

OK

last

requested

operation

(PASSWD,

WITHDRAWL)

ERR

inERROR

AMOUNT<

amt>

sentinresponsetoBALANCErequest

BYEuserdone,displaywelcomescreenatATM

Correctoperation:

clientserver

HELO(userid)-------------->

(checkifvaliduserid)

<

-------------PASSWD

PASSWD<

-------------->

(checkpassword)

-------------OK(passwordisOK)BALANCE-------------->

-------------AMOUNT<

checkifenough$tocover

withdrawl

-------------OK

ATMdispens

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

当前位置:首页 > 自然科学 > 物理

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2