Presentation is loading. Please wait.

Presentation is loading. Please wait.

Routers and Redundancy

Similar presentations


Presentation on theme: "Routers and Redundancy"— Presentation transcript:

1 Routers and Redundancy
Lesson 2-4 AP Computer Science Principles

2 Objectives Students will be able to:
Describe the redundancy of routing between two points on the Internet. Send messages using a numeric addressing protocol with the Internet Simulator. Evaluate the benefits and security concerns associated with the use of a routed system of sending packets.

3 Journal Imagine you were going to send a letter to a friend living in another state. List the steps you imagine your letter would have to take through the different parts of the postal system.

4 Routers When we send messages through a network we don’t actually want everyone on the network to receive them. If we include information about who the message is intended for then we can allow portions of the network to focus on sorting and routing messages, so that they can continue on their way to their intended target.

5 Routers In the mail system, mail facilities, post offices, or a mail carrier fills this role. In a network of computers, certain computers called “routers” do the same thing, directing messages towards the target computer based on the IP addresses included in the message.

6 Activity Guide Download the Activity Guide. Follow the Activity Guide
Go to the Internet Simulator in Code Studio. In your groups connect to a router (at least 3 to a router)

7 Activity Guide Note that the simulator has changed.
You provide a “to” and the “Message” (the “from” field is filled in for you) Look at the left part of the screen and find the address of the others in your group. Start conversations with your group members. Note: Keep is clean and acceptable – this internet is in no way private I will take action if I find unacceptable things in the log.

8 Activity Guide - Pause Check the router log
Answer the questions in the first part of the Activity Guide.

9 Activity Guide Routing messages functions very differently from broadcasting. The messages are only sent to the user they are intended for. This prevents users from having to scan all the traffic in the network to find messages intended for them. This is just like when you write a letter to a friend, where an address on the outside of the letter tells the mail service how to properly route your letter.

10 Activity Guide The view we have in this table of traffic wouldn't normally be available to a user on the network -- this is a simulation after all -- but it WOULD be visible to the router. It needs to read the header of the message to route it correctly, but the contents of the message are right there too, and if it wanted, a router could read all the messages going across it, just like you did. We'll talk more about this later.

11 Continue the Simulation
Find a Classmate on a Different Router: The Internet Simulator can route messages between routers, allowing the entire class to communicate. Find two classmates on a different router and ask for their IP addresses.

12 Continue the Simulation
Have a Conversation: Conduct a short conversation with your two new partners Confirm that your messages are being received.

13 Activity Guide - Pause Check the router log
It is possible to read traffic across the entire network, not merely your router by clicking the “Show all routers” button. Answer the questions in the first part of the Activity Guide.

14 Routing If you trace carefully you'll notice that messages between two people don't always visit the same routers along the way. This is not a mistake; it’s modeled after the way the actual Internet was designed. Why might the Internet have been designed to be flexible about how messages get from one person to another? Why go through the trouble of creating multiple paths between users?

15 Reflection Answer the reflection questions at the bottom of the Activity Guide and turn it in.

16 Unit 2 – Stage 4 Finish the Stage 4 questions.


Download ppt "Routers and Redundancy"

Similar presentations


Ads by Google