📇 Something we need to address...Unit 2 – The internet | November 14
🎯 Learning Targets
AP I can explain the abstractions in the Internet and how the Internet functions.
AP I can explain characteristics of the Internet and the systems built on it.
I can develop and explain the need for a protocol with origin, destination, and message content.
I can explain the difference between IPv4 and IPv6 with regard to bits and available addresses.
So far, we have communicated messages between two people. Our “internet” looks like this:
But the actual internet looks more like this:
Our “simple” 1:1 protocols will break down. To get a sense of how the inventors of the internet designed a solution, let’s play a game of Battleship.
Battle🛳 Round 1
- The object of Battleship is to try and sink another player’s ship before they sink yours.
- The other player’s ship is somewhere on his/her board
- Each turn, you try to guess your opponent’s ship location by calling out a coordinate on the grid, like
- The other player also tries to hit your ship by calling out coordinates.
You maintain and mark two grids:
- Your Ship Boards - where you record shots fired against you.
- Your Target Boards - where you record the shots you fired against others.
Starting a New Game
- Each player places a ship on their board - one ship for each opponent
- A ship occupies two contiguous squares on the grid - vertically or horizontally. NO Diagonal placement.
- Once the guessing begins, the players may not move the ships.
Battle🛳 Round 10
Now, how could that information be transmitted using bits?
- List all the information that you needed to play Battleship.
- Diagram your protocol.
While developing your protocol here are some questions and suggestions to think about:
- Remember that ultimately you are making a communication protocol for a computer to read, so if it’s hard for a human to decipher, but would be easy to describe for a computer, that’s fine.
- A message you send over the Internet is just a string of 0s and 1s – so your protocol should indicate how the bits work (i.e. what is the binary representation?)
- Think about using numeric addresses rather than people’s names.
- Think about what else you can communicate with binary to reduce the total number of bits.1 How “efficient” can you make your message? How small can you make the size of a message?
A number assigned to any item that is connected to the Internet.
Packets - Small chunks of information that have been carefully formed from larger chunks of information.
Protocol - A set of rules governing the exchange or transmission of data between devices.
👉 How could the internet run out of room?
4,300,000,000 addresses, 5,000,000,000 mobile devices…
Three hundred and forty undecillion, two hundred and eighty-two decillion, three hundred and sixty-six nonillion, nine hundred and twenty octillion, nine hundred and thirty-eight septillion, four hundred and sixty-three sextillion, four hundred and sixty-three quintillion, three hundred and seventy-four quadrillion, six hundred and seven trillion, four hundred and thirty-one billion, seven hundred and sixty-eight million, two hundred and eleven thousand, four hundred and fifty-six.
Every single computer connected to the internet has an IP address.
ipconfig getifaddr en0