Packets and Making a Reliable Internet

Slides:



Advertisements
Similar presentations
The Internet.
Advertisements

Answers of Exercise 7 1. Explain what are the connection-oriented communication and the connectionless communication. Give some examples for each of the.
Data Exchange Packet switching  Packet switching breaks data in to packets before sending it through a network, then reassembles it at the other end –
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
INTRANETS MR ROSS UNIT 3 IT APPLICATIONS. DEFINITION An intranet is an internal, secured environment that has a similar look and feel to the Internet,
UNIT 2 LESSON 5 CS PRINCIPLES. OBJECTIVES Students will be able to: Explain why protocols are necessary to overcome the underlying unreliability of the.
UNIT 2 LESSON 4 CS PRINCIPLES. OBJECTIVES Students will be able to: Describe the redundancy of routing between two points on the Internet. Send messages.
Day 13 Intro to MANs and WANs. MANs Cover a larger distance than LANs –Typically multiple buildings, office park Usually in the shape of a ring –Typically.
AP CSP: Sending Binary Messages
Encryption with Keys and Passwords
LAN, WAN, and Network Topologies
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Routers and Redundancy
Day 8- The Need for Addressing
AP CSP: The Need for Addressing
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Sending Binary Messages
Please take out the homework - viewing sheet fro the movie
Sending Binary Messages
Lesson 1-10 AP Computer Science Principles
AP CSP: Sending Binary Messages with the Internet Simulator
Vocabulary byte - The technical term for 8 bits of data.
Lesson 2-3 AP Computer Science Principles
Class Notes Overview of Internet Session B
THE NEED FOR DNS DOMAIN NAME SYSTEM
Lesson 2-2 AP Computer Science Principles
HTTP and Abstraction on the Internet
Code.org Lessons 11 & 12 Lesson 11- Packets and Making a Reliable Internet Lesson 12- The Need for DNS.
ROUTERS AND REDUNDANCY
Day 10- The Need for Addressing
Routers and Redundancy
THE NEED FOR ADDRESSING
THE NEED FOR DNS DOMAIN NAME SYSTEM
Lesson 2-9 AP Computer Science Principles
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Functions and Top-Down Design
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
CMPT 371 Data Communications and Networking
CS Principles U2L3 Encoding B&W Images.
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
Lesson 2-9 AP Computer Science Principles
AP CSP: Bytes, File Sizes, and Text Compression
The Need for Addressing
Sending Bits on the Internet
AP CSP: Making a reliable Internet & DNS
Unit 1.4 Wired and Wireless Networks Lesson 2
TASK 4 Guideline.
Packet Sniffing.
Packetizing Error Detection
Packetizing Error Detection
Computer networking In this section of notes you will learn the rudiments of networking, the components of a network and how to secure a network.
Congestion Control (from Chapter 05)
Protocols and combining networks
Congestion Control (from Chapter 05)
Packetizing Error Detection
Net 323 D: Networks Protocols
Data Communication & Networking
Data Communication.
Code.org Lessons 11 & 12 Lesson 11- Packets and Making a Reliable Internet Lesson 12- The Need for DNS.
Congestion Control (from Chapter 05)
Protocols & Packet Switching
Introduction and Overview
How Our Customers Communicate With Us
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Code.org Lessons 11 & 12 Lesson 11- Packets and Making a Reliable Internet Lesson 12- The Need for DNS.
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
NET 323D: Networks Protocols
Presentation transcript:

Packets and Making a Reliable Internet Lesson 1-11 AP Computer Science Principals

Objectives Students will be able to: Explain why protocols are necessary to overcome the underlying unreliability of the Internet. Develop a protocol for reliable communication on the Internet. Justify the need for acknowledgements and packet numbering in TCP.

Journal Your friend sent you a message on the Internet, but you never received it. Based on what you already know about routers and the physical Internet, list what reasons might explain this fact.

Packets When we communicate on the Internet, we are not just sending short text messages. We also use the Internet to exchange documents, videos, music, and scientific data, and these files can easily grow to enormous size. This would not be a problem if the Internet were perfectly reliable, but in reality, errors sometimes occur. Lines can be cut, routers can be overwhelmed with traffic, and interference with electric or radio signals can cause messages to become corrupted. The response to this problem is to split large messages into smaller pieces of information called “packets.”

Packets Splitting up a message into packets provides many benefits. If a faster route opens up halfway through transmitting a large file, it is easy to reroute later packets in the transmission through that route. Having smaller messages to balance also makes it easy to rebalance the entire network of routers, providing more efficient usage of the entire Internet

Packets Splitting up a message into smaller chunks doesn’t solve all the problems of unreliability on the Internet, and it may even add some. Packets can still be dropped or arrive out of order. Today’s challenge is to develop a protocol to make a reliable Internet, in spite of the challenges this new system poses.

Activity Guide The version of the Internet Simulator we will be using today has been structured to simulate the unreliability of the Internet. You’ll notice a few changes: You will only be allowed to send packets containing 8 characters of text; anything larger will be dropped (to simulate the fact that large messages are much more likely to have errors). Every message has a small chance of being dropped on each “hop” it makes between routers. You may construct a message with multiple packets prior to sending it.

Activity Guide In your groups: Group members need to connect to different routers! Start a conversation with your group members. It is easy to follow the conversation? What issues do you see with this version of the simulator.

Try Sending This Sentence The transformation of a caterpillar into a butterfly is one of the great wonders of nature.

Activity Guide – Develop Your Protocol You will turn in just one activity guide per group this time. Develop a protocol that will allow you to overcome the unreliability of the network so that a message can be sent and both sender and receiver can be confident the full message was received. Guidelines for Protocol: All communication can only be done through the Internet Simulator. The message sent will be at least 60 characters long and might be entirely random (i.e. there’s no way to use human intuition to reconstruct the message). The message is not known beforehand. Each of you needs to create your own message and send it someone else. The sender and receiver must be confident the full message was successfully transmitted and reconstructed.

Test is Out Pick a person to go across the room and login. I will give one person a message. Send the message to the person across the room and have the person write it down on the back of their activity guide.

Test is Out Look at the original message and the received message. Don’t correct it. I am not grading you on correctness! Answer these questions on the back of the paper (add a sheet if you need to): Did your protocol work? If not, where did it go wrong? If you were going to improve it what would you do?

Videos The Internet: Packets, Routing, and Reliability There and Back Again- A Packet's Tale. How Does the Internet Work-

Stage 11 Complete Stage 11