100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Computer Networking A Top-Down Approach, 8th Edition by James Kurose-stamped

Rating
-
Sold
-
Pages
157
Grade
A+
Uploaded on
01-10-2024
Written in
2024/2025

© 2020 Pearson Education, Hoboken, NJ. All rights reserved. Computer Networking A Top-Down Approach, 8th Edition by James Kurose © 2020 Pearson Education, Hoboken, NJ. All rights reserved. Computer Networking: A Top-Down Approach, 8 th Edition Solutions to Review Questions and Problems Version Date: August 2020 This document contains the solutions to review questions and problems for the 8th edition of Computer Networking: A Top-Down Approach by Jim Kurose 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). Please do not post any solutions on a publicly-available Web site. We’ll be happy to provide a copy (up-to-date) of this solution manual ourselves to anyone who asks. Acknowledgments: Over the years, several students and colleagues have helped us prepare this solutions manual. Special thanks goes to Honggang Zhang, Rakesh Kumar, Prithula Dhungel, Vijay Annapureddy, Yifan Zhou. Also thanks to all the readers who have made suggestions and corrected errors. All material © copyright by J.F. Kurose and K.W. Ross. All rights reserved © 2020 Pearson Education, Hoboken, NJ. All rights reserved. Chapter 1 Review Questions 1. There is no difference. Throughout this text, the words “host” and “end system” are used interchangeably. End systems include PCs, workstations, Web servers, mail servers, PDAs, Internet-connected game consoles, etc. 2. From Wikipedia: Diplomatic protocol is commonly described as a set of international courtesy rules. These well-established and time-honored rules have made it easier for nations and people to live and work together. Part of protocol has always been the acknowledgment of the hierarchical standing of all present. Protocol rules are based on the principles of civility. 3. Standards are important for protocols so that people can create networking systems and products that interoperate. 4. 1. Dial-up modem over telephone line: home; 2. DSL over telephone line: home or small office; 3. Cable to HFC: home; 4. 100 Mbps switched Ethernet: enterprise. 5. HFC bandwidth is shared among the users. On the downstream channel, all packets emanate from a single source, namely, the head end. Thus, there are no collisions in the downstream channel. 6. In most American cities, the 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. 8. Today, Ethernet most commonly runs over twisted-pair copper wire. It also can run over fibers optic links. 9. ADSL: up to 24 Mbps downstream and 2.5 Mbps upstream, bandwidth is dedicated; HFC, rates up to 42.8 Mbps and upstream rates of up to 30.7 Mbps, bandwidth is shared. FTTH: 2-10Mbps upload; 10-20 Mbps download; bandwidth is not shared. 10. There are two popular wireless Internet access technologies today: a. Wifi (802.11) In a wireless LAN, wireless users transmit/receive packets to/from an base station (i.e., wireless access point) within a radius of few tens of meters. The base station is typically connected to the wired Internet and thus serves to connect wireless users to the wired network. b. 3G and 4G wide-area wireless access networks. In these systems, packets are transmitted over the same wireless infrastructure used for cellular telephony, with the base station thus being managed by a telecommunications provider. This provides wireless access to users within a radius of tens of kilometers of the base station. 11. At time t0 the sending host begins to transmit. At time t1 = L/R1, the sending host completes transmission and the entire packet is received at the router (no propagation delay). Because the router has the entire packet at time t1, it can begin to transmit the © 2020 Pearson Education, Hoboken, NJ. All rights reserved. packet to the receiving host at time t1. At time t2 = t1 + L/R2, the router completes transmission and the entire packet is received at the receiving host (again, no propagation delay). Thus, the end-to-end delay is L/R1 + L/R2. 12. A circuit-switched network can guarantee a certain amount of end-to-end bandwidth for the duration of a call. Most packet-switched networks today (including the Internet) cannot make any end-to-end guarantees for bandwidth. FDM requires sophisticated analog hardware to shift signal into appropriate frequency bands. 13. a) 2 users can be supported because each user requires half of the link bandwidth. b) Since each user requires 1Mbps when transmitting, if two or fewer users transmit simultaneously, a maximum of 2Mbps will be required. Since the available bandwidth of the shared link is 2Mbps, there will be no queuing delay before the link. Whereas, if three users transmit simultaneously, the bandwidth required will be 3Mbps which is more than the available bandwidth of the shared link. In this case, there will be queuing delay before the link. c) Probability that a given user is transmitting = 0.2 d) Probability that all three users are transmitting simultaneously = = (0.2)3 = 0.008. Since the queue grows when all the users are transmitting, the fraction of time during which the queue grows (which is equal to the probability that all three users are transmitting simultaneously) is 0.008. 14. If the two ISPs do not peer with each other, then when they send traffic to each other they have to send the traffic through a provider ISP (intermediary), to which they have to pay for carrying the traffic. By peering with each other directly, the two ISPs can reduce their payments to their provider ISPs. An Internet Exchange Points (IXP) (typically in a standalone building with its own switches) is a meeting point where multiple ISPs can connect and/or peer together. An ISP earns its money by charging each of the the ISPs that connect to the IXP a relatively small fee, which may depend on the amount of traffic sent to or received from the IXP. 15. Google's private network connects together all its data centers, big and small. Traffic between the Google data centers passes over its private network rather than over the public Internet. Many of these data centers are located in, or close to, lower tier ISPs. Therefore, when Google delivers content to a user, it often can bypass higher tier ISPs. What motivates content providers to create these networks? First, the content provider has more control over the user experience, since it has to use few intermediary ISPs. Second, it can save money by sending less traffic into provider networks. Third, if ISPs decide to charge more money to highly profitable content providers (in countries where net neutrality doesn't apply), the content providers can avoid these extra payments. 16. The delay components are processing delays, transmission delays, propagation delays, and queuing delays. All of these delays are fixed, except for the queuing delays, which are variable. © 2020 Pearson Education, Hoboken, NJ. All rights reserved. 17. a) 1000 km, 1 Mbps, 100 bytes b) 100 km, 1 Mbps, 100 bytes 18. 10msec; d/s; no; no 19. a) 500 kbps b) 64 seconds c) 100kbps; 320 seconds 20. End system A breaks the large file into chunks. It adds header to each chunk, thereby generating multiple packets from the file. The header in each packet includes the IP address of the destination (end system B). The packet switch uses the destination IP address in the packet to determine the outgoing link. Asking which road to take is analogous to a packet asking which outgoing link it should be forwarded on, given the packet’s destination address. 21. The maximum emission rate is 500 packets/sec and the maximum transmission rate is 350 packets/sec. The corresponding traffic intensity is 500/350 =1.43 > 1. Loss will eventually occur for each experiment; but the time when loss first occurs will be different from one experiment to the next due to the randomness in the emission process. 22. Five generic tasks are error control, flow control, segmentation and reassembly, multiplexing, and connection setup. Yes, these tasks can be duplicated at different layers. For example, error control is often provided at more than one layer. 23. The five layers in the Internet protocol stack are – from top to bottom – the application layer, the transport layer, the network layer, the link layer, and the physical layer. The principal responsibilities are outlined in Section 1.5.1. 24. Application-layer message: data which an application wants to send and passed onto the transport layer; transport-layer segment: generated by the transport layer and encapsulates application-layer message with transport layer header; network-layer datagram: encapsulates transport-layer segment with a network-layer header; link-layer frame: encapsulates network-layer datagram with a link-layer header. 25. Routers process network, link and physical layers (layers 1 through 3). (This is a little bit of a white lie, as modern routers sometimes act as firewalls or caching components, and process Transport layer as well.) Link layer switches process link and physical layers (layers 1 through2). Hosts process all five layers. 26. A self-replicating malware is a piece of code that cab enter and infect our devices, and once it infects the host, from that host it seeks entry into other hosts over the Internet. 27. Creation of a botnet requires an attacker to find vulnerability in some application or system (e.g. exploiting the buffer overflow vulnerability that might exist in an application). After finding the vulnerability, the attacker needs to scan for hosts that are vulnerable. The target is basically to compromise a series of systems by exploiting © 2020 Pearson Education, Hoboken, NJ. All rights reserved. that particular vulnerability. Any system that is part of the botnet can automatically scan its environment and propagate by exploiting the vulnerability. An important property of such botnets is that the originator of the botnet can remotely control and issue commands to all the nodes in the botnet. Hence, it becomes possible for the attacker to issue a command to all the nodes, that target a single node (for example, all nodes in the botnet might be commanded by the attacker to send a TCP SYN message to the target, which might result in a TCP SYN flood attack at the target). 28. Trudy can pretend to be Bob to Alice (and vice-versa) and partially or completely modify the message(s) being sent from Bob to Alice. For example, she can easily change the phrase “Alice, I owe you $1000” to “Alice, I owe you $10,000”. Furthermore, Trudy can even drop the packets that are being sent by Bob to Alice (and vise-versa), even if the packets from Bob to Alice are encrypted. © 2020 Pearson Education, Hoboken, NJ. All rights reserved. Chapter 1 Problems Problem 1 There is no single right answer to this question. Many protocols would do the trick. Here's a simple answer below: Messages from ATM machine to Server Msg name purpose -------- ------- HELO <userid> Let server know that there is a card in the ATM machine ATM card transmits user ID to Server PASSWD <passwd> User enters PIN, which is sent to server BALANCE User requests balance WITHDRAWL <amount> User asks to withdraw money BYE user all done Messages from Server to ATM machine (display) Msg name purpose -------- ------- PASSWD Ask user for PIN (password) OK last requested operation (PASSWD, WITHDRAWL) OK ERR last requested operation (PASSWD, WITHDRAWL) in ERROR AMOUNT <amt> sent in response to BALANCE request BYE user done, display welcome screen at ATM Correct operation: client server HELO (userid) --------------> (check if valid userid) < PASSWD PASSWD <passwd> --------------> (check password) <------------- OK (password is OK) BALANCE -----------------------> <------------- AMOUNT <amt> WITHDRAWL <amt> --------------> check if enough $ to cover withdrawl < OK ATM dispenses $ BYE ---------------------------> < BYE In situation when there's not enough money: HELO (userid) --------------> (check if valid userid) © 2020 Pearson Education, Hoboken, NJ. All rights reserved. < PASSWD PASSWD <passwd> --------------> (check password) <------------- OK (password is OK) BALANCE --------------> <------------- AMOUNT <amt> WITHDRAWL <amt> --------------> check if enough $ to cover withdrawl <------------- ERR (not enough funds) error msg displayed no $ given out BYE ---------------------------> < BYE Problem 2 At time N*(L/R) the first packet has reached the destination, the second packet is stored in the last router, the third packet is stored in the next-to-last router, etc. At time N*(L/R) + L/R, the second packet has reached the destination, the third packet is stored in the last router, etc. Continuing with this logic, we see that at time N*(L/R) + (P-1)*(L/R) = (N+P1)*(L/R) all packets have reached the destination. Problem 3 a) A circuit-switched network would be well suited to the application, because the application involves long sessions with predictable smooth bandwidth requirements. Since the transmission rate is known and not bursty, bandwidth can be reserved for each application session without significant waste. In addition, the overhead costs of setting up and tearing down connections are amortized over the lengthy duration of a typical application session. b) In the worst case, all the applications simultaneously transmit over one or more network links. However, since each link has sufficient bandwidth to handle the sum of all of the applications' data rates, no congestion (very little queuing) will occur. Given such generous link capacities, the network does not need congestion control mechanisms. Problem 4 a) Between the switch in the upper left and the switch in the upper right we can have 4 connections. Similarly we can have four connections between each of the 3 other pairs of adjacent switches. Thus, this network can support up to 16 connections. b) We can 4 connections passing through the switch in the upper-right-hand corner and another 4 connections passing through the switch in the lower-left-hand corner, giving a total of 8 connections. c) Yes. For the connections between A and C, we route two connections through B and two connections through D. For the connections between B and D, we route two connections through A and two connections through C. In this manner, there are at most 4 connections passing through any link. © 2020 Pearson Education, Hoboken, NJ. All rights reserved. seconds. seconds. Problem 5 Tollbooths are 75 km apart, and the cars propagate at 175km/hr. A tollbooth services a car at a rate of one car every 12 seconds. a) There are ten cars. It takes 120 seconds, or 2 minutes, for the first tollbooth to service the 10 cars. Each of these cars has a propagation delay of 25.7 minutes (travel 75 km) before arriving at the second tollbooth. Thus, all the cars are lined up before the second tollbooth after 27.7 minutes. The whole process repeats itself for traveling between the second and third tollbooths. It also takes 2 minutes for the third tollbooth to service the 10 cars. Thus the total delay is 57.4 minutes. b) Delay between tollbooths is 8*12 seconds plus 25.7 minutes. The total delay is twice this amount plus 8*12 seconds, i.e., 53 minutes. Problem 6 a) b) c) seconds. d) The bit is just leaving Host A. e) The first bit is in the link and has not reached Host B. f) The first bit has reached Host B. g) We want

Show more Read less
Institution
Computer Networking A Top-Down Approach
Course
Computer Networking A Top-Down Approach











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Computer Networking A Top-Down Approach
Course
Computer Networking A Top-Down Approach

Document information

Uploaded on
October 1, 2024
Number of pages
157
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • computer networking

Content preview

Computer fNetworking fA fTop-Down fApproach, f8th fEdition fby fJames fKuros




© f2020 fPearson fEducation, fHoboken, fNJ. fAll frights
freserved.

,Computer fNetworking: fA fTop-Down fApproach,
th f
f8 Edition

Solutions fto fReview fQuestions fand fProblems



Version fDate: fAugust f2020



This fdocument fcontains fthe fsolutions fto freview fquestions fand fproblems ffor fthe f8th
fedition fof fComputer fNetworking: fA fTop-Down fApproach fby fJim fKurose fand fKeith
fRoss. fThese fsolutions fare fbeing fmade favailable fto finstructors fONLY. f Please fdo
fNOT fcopy for fdistribute fthis fdocument fto fothers f(even fother finstructors). fPlease fdo
fnot fpost fany fsolutions fon fa fpublicly-available fWeb fsite. fWe’ll fbe fhappy fto fprovide
fa fcopy f(up-to-date) fof fthis fsolutionfmanual fourselves fto fanyone fwho fasks.



Acknowledgments: fOver fthe fyears, fseveral fstudents fand fcolleagues fhave fhelped fus
fprepare fthis fsolutions fmanual. fSpecial fthanks fgoes fto fHonggang fZhang, fRakesh
fKumar, fPrithula fDhungel, fVijay fAnnapureddy, fYifan fZhou. fAlso fthanks fto fall fthe
freaders fwho fhave fmade fsuggestions fand fcorrected ferrors.




All fmaterial f© fcopyright f1996-2020 fby fJ.F. fKurose fand fK.W. fRoss. fAll frights freserved




© f2020 fPearson fEducation, fHoboken, fNJ. fAll frights
freserved.

,Chapter f1 fReview fQuestions
1. There fis fno fdifference. fThroughout fthis ftext, fthe fwords f“host” fand f“end fsystem”
fare fused finterchangeably. fEnd fsystems finclude fPCs, fworkstations, fWeb fservers,
fmail fservers, fPDAs, fInternet-connected fgame fconsoles, fetc.

2. From fWikipedia: fDiplomatic fprotocol fis fcommonly fdescribed fas fa fset fof
finternational fcourtesy frules. fThese fwell-established fand ftime-honored frules fhave
fmade fit feasier ffor fnations fand fpeople fto flive fand fwork ftogether. fPart fof
fprotocol fhas falways fbeen fthe facknowledgment fof fthe fhierarchical fstanding fof fall
fpresent. fProtocol frules fare fbased fonfthe fprinciples fof fcivility.

3. Standards fare fimportant ffor fprotocols fso fthat fpeople fcan fcreate fnetworking fsystems
fandfproducts fthat finteroperate.

4. 1. fDial-up fmodem fover ftelephone fline: fhome; f2. fDSL fover ftelephone fline: fhome
for fsmall foffice; f3. fCable fto fHFC: fhome; f4. f100 fMbps fswitched fEthernet:
fenterprise.

5. HFC fbandwidth fis fshared famong fthe fusers. fOn fthe fdownstream fchannel, fall
fpackets femanate ffrom fa fsingle fsource, fnamely, fthe fhead fend. fThus, fthere fare fno
fcollisions fin fthe fdownstream fchannel.

6. In fmost fAmerican fcities, fthe fcurrent fpossibilities finclude: fdial-up; fDSL; fcable
fmodem;ffiber-to-the-home.

7. Ethernet fLANs fhave ftransmission frates fof f10 fMbps, f100 fMbps, f1 fGbps fand f10 fGbps.

8. Today, fEthernet fmost fcommonly fruns fover ftwisted-pair fcopper fwire. fIt falso fcan frun
foverffibers foptic flinks.

9. ADSL: fup fto f24 fMbps fdownstream fand f2.5 fMbps fupstream, fbandwidth fis
fdedicated; fHFC, frates fup fto f42.8 fMbps fand fupstream frates fof fup fto f30.7 fMbps,
fbandwidth fis fshared. fFTTH: f2-10Mbps fupload; f10-20 fMbps fdownload;
fbandwidth fis fnot fshared.

10. There fare ftwo fpopular fwireless fInternet faccess ftechnologies ftoday:
a. Wifi f(802.11) fIn fa fwireless fLAN, fwireless fusers ftransmit/receive fpackets
fto/from fan fbase fstation f(i.e., fwireless faccess fpoint) fwithin fa fradius fof ffew
ftens fof fmeters. fThe fbase fstation fis ftypically fconnected fto fthe fwired
fInternet fand fthusfserves fto fconnect fwireless fusers fto fthe fwired fnetwork.
b. 3G fand f4G fwide-area fwireless faccess fnetworks. fIn fthese fsystems, fpackets
fare ftransmitted fover fthe fsame fwireless finfrastructure fused ffor fcellular
ftelephony, fwith fthe fbase fstation fthus fbeing fmanaged fby fa
ftelecommunications fprovider. fThis fprovides fwireless faccess fto fusers
fwithin fa fradius fof ftens fof fkilometers fof fthe fbase fstation.

11. At ftime ft0 fthe fsending fhost fbegins fto ftransmit. fAt ftime ft1 f= fL/R1, fthe fsending
fhost fcompletes ftransmission fand fthe fentire fpacket fis freceived fat fthe frouter f(no
fpropagation fdelay). f Because f the f router f has f the f entire fpacket f at f time f t1, fit f can
f begin f to f transmit f the
© f2020 fPearson fEducation, fHoboken, fNJ. fAll frights
freserved.

, packet fto fthe freceiving fhost fat ftime ft1. fAt ftime ft2 f= ft1 f+ fL/R2, fthe frouter
fcompletes ftransmission fand fthe fentire fpacket fis freceived fat fthe freceiving fhost
f(again, fno fpropagation fdelay). fThus, fthe fend-to-end fdelay fis fL/R1 f + fL/R2.

12. A fcircuit-switched fnetwork fcan fguarantee fa fcertain famount fof fend-to-end
fbandwidth ffor fthe fduration fof fa fcall. fMost fpacket-switched fnetworks ftoday
f(including fthe fInternet) fcannot fmake fany fend-to-end fguarantees ffor fbandwidth.
fFDM frequires fsophisticated fanalog fhardware fto fshift fsignal finto fappropriate
ffrequency fbands.

13. a) f 2 fusers fcan fbe fsupported fbecause feach fuser frequires fhalf fof fthe flink fbandwidth.
b) Since feach fuser frequires f1Mbps fwhen ftransmitting, fif ftwo for ffewer fusers
ftransmit fsimultaneously, fa fmaximum fof f2Mbps fwill fbe frequired. fSince fthe
favailable fbandwidth fof fthe fshared flink fis f2Mbps, fthere fwill fbe fno fqueuing
fdelay fbefore fthe flink. fWhereas, fif fthree fusers ftransmit f simultaneously, f the
fbandwidth f required fwill fbe f3Mbps fwhich fis fmore fthan fthe favailable
fbandwidth fof fthe fshared flink. fIn fthis fcase, fthere fwill fbe fqueuing fdelay
fbefore fthe flink.
c) Probability fthat fa fgiven fuser fis ftransmitting f= f0.2


d) Probability fthat fall fthree fusers fare ftransmitting fsimultaneously f= f
3
= f (0.2) f= f 0.008. f Since f the f queue f grows f when f all f the f users f are
f transmitting, f theffraction f of f time f during f which f the f queue f grows f (which f is
f equal f to f the f probability
that fall fthree fusers fare ftransmitting fsimultaneously) fis f0.008.

14. If fthe ftwo fISPs fdo fnot fpeer fwith feach fother, fthen fwhen fthey fsend ftraffic fto
feach fother fthey fhave fto fsend fthe ftraffic fthrough fa fprovider fISP f(intermediary),
fto fwhich fthey fhave fto fpay ffor fcarrying fthe ftraffic. fBy fpeering fwith feach fother
fdirectly, fthe ftwo fISPs fcan freduce ftheir fpayments fto ftheir fprovider fISPs. fAn
fInternet fExchange fPoints f(IXP) f(typically fin fa fstandalone fbuilding fwith fits fown
fswitches) fis fa fmeeting fpoint fwhere fmultiple fISPs fcan fconnect fand/or fpeer
ftogether. fAn fISP fearns fits fmoney fby fcharging feach fof fthe fthe fISPs fthat fconnect
fto fthe fIXP fa frelatively fsmall ffee, fwhich fmay fdepend fon f the f amount f of f traffic
f sent f to f or f received f from f the f IXP.

15. Google's fprivate fnetwork fconnects ftogether fall fits fdata fcenters, fbig fand fsmall.
fTraffic fbetween fthe fGoogle fdata fcenters fpasses fover fits fprivate fnetwork frather
fthan fover fthe fpublic fInternet. fMany fof fthese fdata fcenters fare flocated fin, for
fclose fto, flower ftier fISPs. fTherefore, fwhen fGoogle fdelivers fcontent fto fa fuser, fit
foften fcan fbypass fhigher ftier fISPs. fWhat fmotivates fcontent fproviders fto fcreate
fthese fnetworks? fFirst, fthe fcontent fprovider fhas fmore fcontrol fover fthe fuser
fexperience, fsince fit fhas fto fuse ffew fintermediary fISPs. fSecond, fit fcan fsave
fmoney fby fsending fless ftraffic finto fprovider fnetworks. fThird, fif fISPs fdecide fto
fcharge fmore fmoney fto fhighly fprofitable fcontent fproviders f (in fcountries fwhere fnet
fneutrality fdoesn't fapply), fthe fcontent fproviders fcan favoid fthese fextra fpayments.

16. The fdelay fcomponents fare fprocessing fdelays, ftransmission fdelays, fpropagation
fdelays, fand fqueuing fdelays. fAll fof fthese fdelays fare ffixed, fexcept ffor fthe fqueuing

© f2020 fPearson fEducation, fHoboken, fNJ. fAll frights
freserved.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Edufiles Howard County Community College
View profile
Follow You need to be logged in order to follow users or courses
Sold
102
Member since
1 year
Number of followers
11
Documents
7451
Last sold
5 days ago
EDUFILES STORES

Unlock success with our trusted collection of high-quality exam documents, study guides, and past papers from top universities. Whether you're preparing for midterms, finals, certifications, or professional exams, our expertly curated materials help you study smarter, score higher, and achieve your academic goals faster. Updated regularly and available instantly, our resources are designed to give you the edge you need.

4.9

208 reviews

5
199
4
2
3
1
2
1
1
5

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions