Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 4 (40 points): In modern packet-switched networks, including the Internet, the source host segments long, application-layer messages (for example, an image or a music
Question 4 (40 points): In modern packet-switched networks, including the Internet, the source host segments long, application-layer messages (for example, an image or a music file) into smaller packets and sends the packets into the network. The receiver then reassembles the packets back into the original message. We refer to this process as message segmentation. Figure 2 illustrates the end-to-end transport of a message with and without message segmentation. In Figure 2, the source and the destination are connected by a path with three links. Now, consider two hosts connected with a path with N links. Note, these N links are connected by N-1 packet switches. A message of 5 * 106 byte long is sent from source to destination. Suppose each link of the path is 2 Mbps. Ignore propagation, queuing, and processing delays. > Message a. Source Packet switch Packet switch Destination Packet b. Source Packet switch Packet switch Destination Figure 2. End-to-end message transport: (a) without message segmentation; (b) with message segmentation a. Consider sending the message from source to destination without message segmentation. How long does it take to move the message from the source host to the first packet switch? Keeping in mind that each switch uses store-and-forward packet switching, what is the total time to move the message from source host to destination host? b. Now suppose that the message is segmented into 100 packets, with each packet being 5,000 byte long. How long does it take to move the first packet from source host to the first switch? When the first packet is being sent from the first switch to the second switch, the second packet is being sent from the source host to the first switch. At what time will the second packet be fully received at the first switch? c. How long does it take to move the file from source host to destination host when message segmentation is used? Compare this result with your answer in part (a) and comment. Question 4 (40 points): In modern packet-switched networks, including the Internet, the source host segments long, application-layer messages (for example, an image or a music file) into smaller packets and sends the packets into the network. The receiver then reassembles the packets back into the original message. We refer to this process as message segmentation. Figure 2 illustrates the end-to-end transport of a message with and without message segmentation. In Figure 2, the source and the destination are connected by a path with three links. Now, consider two hosts connected with a path with N links. Note, these N links are connected by N-1 packet switches. A message of 5 * 106 byte long is sent from source to destination. Suppose each link of the path is 2 Mbps. Ignore propagation, queuing, and processing delays. > Message a. Source Packet switch Packet switch Destination Packet b. Source Packet switch Packet switch Destination Figure 2. End-to-end message transport: (a) without message segmentation; (b) with message segmentation a. Consider sending the message from source to destination without message segmentation. How long does it take to move the message from the source host to the first packet switch? Keeping in mind that each switch uses store-and-forward packet switching, what is the total time to move the message from source host to destination host? b. Now suppose that the message is segmented into 100 packets, with each packet being 5,000 byte long. How long does it take to move the first packet from source host to the first switch? When the first packet is being sent from the first switch to the second switch, the second packet is being sent from the source host to the first switch. At what time will the second packet be fully received at the first switch? c. How long does it take to move the file from source host to destination host when message segmentation is used? Compare this result with your answer in part (a) and comment
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started