
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Unit 2 Lesson 05 Name(s)_______________________________________________ Period ______ Date ___________________
When you send messages over the Internet there’s always a chance for errors. If you’re sending a huge file, and in the middle of the transmission you have a single error, you’d need to resend the entire file. The solution to this problem is to split the message into smaller chunks called packets. While errors could still occur, now they’ll only affect the single packet, rather than the entire message. This of course introduces new challenges that we’ll explore in this activity.
Write a single sentence that uses 5 - 10 packets. Send all the packets at once to your partner. Then click “Log Browser”. Set the Router logs to “show my traffic” and “show all routers” Question 1: Do all of the packets in your sent messages always follow the same path? If not, describe at least two different paths packets took. No, the packets took different paths. One path was 3 - 2 - 6 and another was 3 - 1 - 6. Question 2: Did every packet arrive in the correct order? Describe what went wrong and whether your partner was able to read the message. If neither you nor your partner had an issue try sending another message. Sometimes the packets did not arrive in the correct order, and switched places. I was able to read the messages, as it was relatively easy to find the actual message by unscrambling it in your head. My partner was also able to read the message.
Create a protocol that will solve the problems you saw with Protocol 1 by doing some error-checking. The sender should be able to construct a single multi-packet message that is sent at once. Afterwards they can keep communicating to fix any errors in the transmission. Things to consider: ● How will the receiver know the order of the packets or if any are missing? ● How will the receiver request missing packets and what will the sender do in response? ● How will both sender and receiver know the full message arrived successfully? Write the details of your protocol in the space below or the back of this sheet. First, the message is split into packets, and each packet is labeled with a number indicating the order in which the pack should be placed in the total message. Then, another number is attached to the packet indicating the total number of bytes in the packet. The sender then sends the message to the receiver. The receiver determines if there is packet loss, if the number of total bytes in the message is different from the number of bytes the receiver receives. If it is different, the receiver asks for the message again, and the sender replies. The process repeats, and if the receiver has the entire message, it will send a smaller message to let the sender know that the message has been fully received. Computer Science Principles