计算机网络_自顶向下方法_第四版_课后习题答案.pdf
《计算机网络_自顶向下方法_第四版_课后习题答案.pdf》由会员分享,可在线阅读,更多相关《计算机网络_自顶向下方法_第四版_课后习题答案.pdf(118页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Computer Networking:A Top-Down ApproachFeaturing the Internet,4th Edition计算机网络:自顶向下方法(第四版)Solutions to Review Questions and Problems课后习题解答Version Date:October 29,2007This document contains the solutions to review questions and problems fbr the 4thedition of Computer Networking:A Top-Down Approach Fe
2、aturing the Internet by JimKurose and Keith Ross.These solutions are being made available to instructors ONLY.Please do NOT copy or distribute this document to others(even other instructors).Pleasedo not post any solutions on a publicly-available Web site.Well be happy to provide acopy(up-to-date)of
3、 this solution manual ourselves to anyone who asks.Chapter 1 Review Questions1.There is no difference.Throughout this text,the words host and end system”areused interchangeably.End systems include PCs,workstations,Web servers,mailservers,Internet-connected PDAs,WebTVs,etc.2.Suppose Alice,an ambassad
4、or of country A wants to invite Bob,an ambassador ofcountry B,over fbr dinner.Alice doesnt simply just call Bob on the phone and say,“come to our dinner table now”.Instead,she calls Bob and suggests a date and time.Bob may respond by saying hes not available that particular date,but he is availablea
5、nother date.Alice and Bob continue to send messages“back and forth until theyagree on a date and time.Bob then shows up at the embassy on the agreed date,hopefully not more than 15 minutes before or after the agreed time.Diplomaticprotocols also allow for either Alice or Bob to politely cancel the e
6、ngagement if theyhave reasonable excuses.3.A networking program usually has two programs,each running on a different host,communicating with each other.The program that initiates the communication is theclient.Typically,the client program requests and receives services from the serverprogram.4.1.Dia
7、l-up modem over telephone line:residential;2.DSL over telephone line:residential or small office;3.Cable to HFC:residential;4.100 Mbps switchedEtherent:company;5.Wireless LAN:mobile;6.Cellular mobile access(for example,WAP):mobile5.HFC bandwidth is shared among the users.On the downstream channel,al
8、l packetsemanate from a single source,namely,the head end.Thus,there are no collisions inthe downstream channel.6.Current possibilities include:dial-up;DSL;cable modem;fiber-to-the-home.7.Ethernet LANs have transmission rates of 10 Mbps,100 Mbps,1 Gbps and 10 Gbps.For an X Mbps Ethernet(where X=10,1
9、00,1,000 or 10,000),a user cancontinuously transmit at the rate X Mbps if that user is the only person sending data.If there are more than one active user,then each user cannot continuously transmit atX Mbps.8.Ethernet most commonly runs over twisted-pair copper wire and“thirT coaxial cable.It also
10、can run over fibers optic links and thick coaxial cable.9.Dial up modems:up to 56 Kbps,bandwidth is dedicated;ISDN:up to 128 kbps,bandwidth is dedicated;ADSL:downstream channel is.5-8 Mbps,upstream channelis up to 1 Mbps,bandwidth is dedicated;HFC,downstream channel is 10-30 Mbpsand upstream channel
11、 is usually less than a few Mbps,bandwidth is shared.10.There are two most popular wireless Internet access technologies today:a)Wireless LANIn a wireless LAN,wireless users transmit/receive packets to/from a base station(wireless access point)within a radius of few tens of meters.The base station i
12、stypically connected to the wired Internet and thus serves to connect wireless usersto the wired network.b)Wide-area wireless access networkIn these systems,packets are transmitted over the same wireless infrastructureused for cellular telephony,with the base station thus being managed by atelecommu
13、nications provider.This provides wireless access to users within aradius of tens of kilometers of the base station.11.A circuit-switched network can guarantee a certain amount of end-to-end bandwidthfbr the duration of a call.Most packet-switched networks today(including theInternet)cannot make any
14、end-to-end guarantees fbr bandwidth.12.In a packet switched network,the packets from different sources flowing on a link donot follow any fixed,pre-defined pattern.In TDM circuit switching,each host getsthe same slot in a revolving TDM frame.13.At time to the sending host begins to transmit.At time
15、tj=L/Ri,the sending hostcompletes transmission and the entire packet is received at the router(no propagationdelay).Because the router has the entire packet at time tl,it can begin to transmit thepacket to the receiving host at time ti.At time 女 二力+L/Rz,the router completestransmission and the entir
16、e packet is received at the receiving host(again,nopropagation delay).Thus,the end-to-end delay is URi+L/Ri.14.A tier-1 ISP connects to all other tier-1 ISPs;a tier-2 ISP connects to only a few ofthe tier-1 ISPs.Also,a tier-2 ISP is a customer of one or more tier-1.15.a)2 users can be supported beca
17、use each user requires half of the link bandwidth.b)Since each user requires 1Mbps when transmitting,if two or fewer users transmitsimultaneously,a maximum of 2Mbps will be required.Since the availablebandwidth of the shared link is 2Mbps,there will be no queuing delay before thelink.Whereas,if thre
18、e users transmit simultaneously,the bandwidth requiredwill be 3Mbps which is more than the available bandwidth of the shared link.Inthis case,there will be queuing delay before the link.c)Probability that a given user is transmitting=0.2.(3、3/3-3d)Probability that all three users are transmitting si
19、multaneously=I p(1-pj=(0.2)3=0.008.Since the queue grows when all the users are transmitting,thefraction of time during which the queue grows(which is equal to the probabilitythat all three users are transmitting simultaneously)is 0.008.16.The delay components are processing delays,transmission dela
20、ys,propagation delays,and queuing delays.All of these delays are fixed,except for the queuing delays,which are variable.17.Java Applet18.10msec;d/s;no;no19.a)500 kbpsb)64 secondsc)100kbps;320 seconds20.End system A breaks the large file into chunks.To each chunk,it adds headergenerating multiple pac
21、kets from the file.The header in each packet includes theaddress of the destination:end system B.The packet switch uses the destinationaddress to detennine the outgoing link.Asking which road to take is analogous to apacket asking which outgoing link it should be forwarded on,given the packet9saddre
22、ss.21.Java Applet22.Five generic tasks are error control,flow control,segmentation and reassembly,multiplexing,and connection setup.Yes,these tasks can be duplicated at differentlayers.For example,error control is often provided at more than one layer.23.The five layers in the Internet protocol stac
23、k are-from top to bottom-theapplication layer,the transport layer,the network layer,the link layer,and thephysical layer.The principal responsibilities are outlined in Section 1.5.1.24.Application-layer message:data which an application wants to send and passed ontothe transport layer;transport-laye
24、r segment:generated by the transport layer andencapsulates application-layer message with transport layer header;network-layerdatagram:encapsulates transport-layer segment with a network-layer header;linklayer frame:encapsulates network-layer datagram with a link-layer header.25.Routers process laye
25、rs 1 through 3.(This is a little bit of a white lie,as modemrouters sometimes act as firewalls or caching components,and process layer four aswell.)Link layer switches process layers 1 through 2.Hosts process all five layers.26.a)VirusRequires some form of human interaction to spread.Classic example
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机网络 向下 方法 第四 课后 习题 答案
限制150内