SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
James F. Kurose, Keith W. Ross
Chapter:
Computer Networks And The Internet
Exercise:
Review
Question:20 | ISBN:9780132856201 | Edition: 6

Question

Suppose end system A wants to send a large file to end system B. At a very high level, describe how end system A creates packets from the file. When one of these packets arrives to a packet switch, what information in the packet does the switch use to determine the link onto which the packet is forwarded? Why is packet switching in the Internet analogous to driving from one city to another and asking directions along the way?

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

Consider given data:

Suppose end system A wants to send a large file to end system B.

The following steps to end System A creates packets from the file at very high level:

  • Divide file into chunks.
  • Create a packet by attach header to chunk.
  • Each packet maintain an address of the destination.

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

The following information in the packet does the switch use to determine the link onto which the packet is forwarded:

  • Switch uses the destination address.
  • It is easy to find which packet is forward to the header.

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

The following the  packet switching in the Internet analogous to driving from one city to another and asking directions along the way:

  • Each packet maintain an address of the destination.
  • Reaching packet, packet display outgoing link which road to take to forwarded.

 

 

2 0

Discussions

Post the discussion to improve the above solution.