Chapter 2 Problems

Ace your homework & exams now with Quizwiz!

Assume a system uses five protocol layers. If the application program creates a message of 100 bytes and each layer (including the fifth and the first) adds a header of 10 bytes to the data unit, what is the efficiency (the ratio of application layer bytes to the number of bytes transmitted) of the system?

100/150 = 66.667%

Assume that the number of hosts connected to the Internet at year 2010 is five hundred million. If the number of hosts increases only 20 percent per year, what is the number of hosts in year 2020?

A = P(1 + r/100)^n => A = 500mil(1 + .2)^10 = 3100 million

Assume that a private internet requires that the messages at the application layer be encrypted and decrypted for security purposes. If we need to add some information about the encryption/decryption process (such as the algorithms used in the process), does it mean that we are adding one layer to the TCP/IP protocol suite? Redraw the TCP/IP layers (Figure 2.4 part b) if you think so.

Can be put right below the Application layer

Protocol layering can be found in many aspects of our lives such as air travelling. Imagine you make a round-trip to spend some time on vacation at a resort. You need to go through some processes at your city airport before flying. You also need to go through some processes when you arrive at the resort airport. Show the protocol layering for the round trip using some layers such as baggage checking/claiming, boarding/unboarding, takeoff/landing.

In notebook

Using the internet in Figure 1.11 (Chapter 1) in the text, show the layers of the TCP/IP protocol suite and the flow of data when two hosts, one on the west coast and the other on the east coast, exchange messages.

In notebook

Assume we have created a packet-switched internet. Using the TCP/IP protocol suite, we need to transfer a huge file. What are the advantage and disadvantage of sending large packets?

Less overhead but more likely to lose more data if a big packet is dropped

In Figure 2.10, when the IP protocol decapsulates the transport-layer packet, how does it know to which upper-layer protocol (UDP or TCP) the packet should be delivered?

Multiplexing

Assume that an application-layer protocol is written to use the services of UDP. Can the application-layer protocol uses the services of TCP without change?

No

Assume a private internet uses three different protocols at the data-link layer (L1, L2, and L3). Redraw Figure 2.10 with this assumption. Can we say that, in the data-link layer, we have demultiplexing at the source node and multiplexing at the destination node?

No, the physical layer would need multiplexing

In an internet, we change the LAN technology to a new one. Which layers in the TCP/IP protocol suite need to be changed?

Physical, Data link, Network, maybe transport

The presentation of data is becoming more and more important in today's Internet. Some people argue that the TCP/IP protocol suite needs to add a new layer to take care of the presentation of data. If this new layer is added in the future, where should its position be in the suite? Redraw Figure 2.4 to include this layer.

Right under the application layer

Answer the following questions about Figure 2.2 when the communication is from Maria to Ann: a. What is the service provided by layer 2 to layer 3 at Maria's site? b. What is the service provided by layer 2 to layer 3 at Ann's site?

a.) Encrypts plaintext b.) Decrypts plaintext

Match the following to one or more layers of the TCP/IP protocol suite: a. route determination b. connection to transmission media c. providing services for the end user

a.) Network b.) Physical c.) Application

Answer the following questions about Figure 2.2 when the communication is from Maria to Ann: a. What is the service provided by layer 1 to layer 2 at Maria's site? b. What is the service provided by layer 1 to layer 2 at Ann's site?

a.) Puts ciphertext in envelope b.) Takes ciphertext out of envelope

Match the following to one or more layers of the TCP/IP protocol suite: a. creating user datagrams b. responsibility for handling frames between adjacent nodes c. transforming bits to electromagnetic signals

a.) Transport b.) Data-Link c.) Physical


Related study sets

AP Biology Topic 2: A Tour of the Cell

View Set

ENTR Test 1 Customer Development

View Set

ITAO 30120: Data Analysis with Python - Week 12, Part 2

View Set

Combo with "Chapter 11 myitlab Isaac Toivonen" and 5 others

View Set

Med Surge Summative Exam2,3,4,6,24,25

View Set