Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Solutions to Odd-Numbered Review Questions and Problems in Computer Networks, Lecture notes of Computer Networks

This chapter provides solutions to the odd-numbered review questions and problems in the computer networks text. Topics covered include the role of each layer in communication, data units and addresses at different layers, and routing. Students can use this document as a reference to check their understanding of these concepts.

What you will learn

  • What is the role of the network layer in routing?
  • How does routing differ from communication at the transport and data-link layers?
  • What opposite tasks does each layer need to perform for bidirectional communication?
  • What is the unit of data at each layer (application, network, data-link)?
  • What are the differences between IP addresses and port numbers?

Typology: Lecture notes

2021/2022

Uploaded on 09/27/2022

norris
norris 🇬🇧

4

(5)

212 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
CHAPTER 6
Computer Networks
(Solutions to Odd-Numbered Review Questions and Problems)
Review Questions
Q6-1. To make the communication bidirectional, each layer needs to be able to pro-
vide two opposite tasks, one in each direction.
Q6-3.
a. At the application layer, the unit of data is a message.
b. At the network layer, the unit of data is a datagram.
c. At the data-link layer, the unit of data is a frame.
Q6-5. A user datagram is a transport-layer data unit. It decapsulates a data unit going
to the application layer. In this case, the data unit is a message.
Q6-7.
a. At the application layer, we normally use a name to define the destina-
tion-computer name and the name of the file we need to access. An exam-
ple is something@somewhere.com.
b. At the network layer, we use two logical addresses (source and destina-
tion) to define the source and destination computers. These addresses are
unique universally.
c. At the data-link layer, we use two link-layer addresses (source and desti-
nation) to define the source and destination connections to the link.
Q6-9. A personal computer, such as a desktop or a laptop, is normally used as a cli-
ent. If a business needs to use a computer as a server, it should be more power-
ful to allow several connections from clients at the same time.
Q6-11. Routing cannot be done at the transport layer, because the communication at
the transport layer is one single logical path between the source port and the
destination port. Routing cannot be done at the data-link layer because the
communication at the data-link layer is between two nodes (one single path);
there is no need for routing. On the other hand, there are several possible paths
pf3

Partial preview of the text

Download Solutions to Odd-Numbered Review Questions and Problems in Computer Networks and more Lecture notes Computer Networks in PDF only on Docsity!

1

C H A P T E R 6

Computer Networks

(Solutions to Odd-Numbered Review Questions and Problems)

Review Questions

Q6-1. To make the communication bidirectional, each layer needs to be able to pro- vide two opposite tasks, one in each direction.

Q6-3.

a. At the application layer, the unit of data is a message. b. At the network layer, the unit of data is a datagram. c. At the data-link layer, the unit of data is a frame.

Q6-5. A user datagram is a transport-layer data unit. It decapsulates a data unit going to the application layer. In this case, the data unit is a message.

Q6-7.

a. At the application layer, we normally use a name to define the destina- tion-computer name and the name of the file we need to access. An exam- ple is something@somewhere.com. b. At the network layer, we use two logical addresses (source and destina- tion) to define the source and destination computers. These addresses are unique universally. c. At the data-link layer, we use two link-layer addresses (source and desti- nation) to define the source and destination connections to the link.

Q6-9. A personal computer, such as a desktop or a laptop, is normally used as a cli- ent. If a business needs to use a computer as a server, it should be more power- ful to allow several connections from clients at the same time.

Q6-11. Routing cannot be done at the transport layer, because the communication at the transport layer is one single logical path between the source port and the destination port. Routing cannot be done at the data-link layer because the communication at the data-link layer is between two nodes (one single path); there is no need for routing. On the other hand, there are several possible paths

2

for a packet between the source host and destination host at the network layer. Routing is the job of selecting one of these paths for the packet.

Q6-13. Dial-up modems use part of the bandwidth of the local loop to transfer data. The latest dial-up modems use the V-series standards such as V.90 (56 kbps for downloading and 33.6 kbps for uploading), and V.92 (56 kbps for down- loading and 48 kbps for uploading).

Q6-15. The period of a signal is the inverse of its frequency: T = 1/ f.

Q6-17. Normally, analog transmission refers to the transmission of analog signals using a band-pass channel. Baseband digital or analog signals are converted to a complex analog signal with a range of frequencies suitable for the channel.

Q6-19. The two major categories are guided and unguided media.

Problems P6-1. The services provided in part a and part b are the opposite of each other. a. Layer 1 takes the ciphertext from layer 2, inserts (encapsulates) it in an envelope and sends it. b. Layer 1 receives the mail, removes (decapsulates) the ciphertext from the envelope and delivers it to layer 2. P6-3. In 10 years, the number of hosts becomes about six times (1.20 10 ≈ 6.19) the number in 2010. This means the number of hosts connected to the Internet is more than three billion. P6-5. a. The network layer is responsible for route determination. b. The physical layer is the only layer that is connected to the transmission media. c. The application layer provides services for the end users. P6-7. Figure P6-7 shows the layers. Note that we have not shown the security checking that you need to pass through because it does not have the counter- part when you arrive. It must be included in baggage/checking layer.

Figure P6-7 Protocol layering in air travelling

Baggage checking/claiming

Baggage checking/claiming Boarding/unboarding

Takeoff/Landing

Boarding/unboarding

Takeoff/Landing Flying

Source/destination airport

Source/destination airport