GoalReview network devices, IP addresses and the journey of a web page, and say what each device or service does.
New words
switch · a device that joins wired devices and sends each message to the right onerouter · a device that joins a network to the internet and sends data between networksIP address · four numbers from 0 to 255 that identify a device on a networkDNS · a service that changes a URL into an IP address
Explanation
A network is a group of devices that are joined together to share data. A switch joins wired devices and sends each message only along the right cable. A Wi-Fi access point lets devices join without cables. A router joins the network to the internet, and it gives each device an IP address. The address changes when the device joins a different network. A website is stored on a server that is always joined to the internet. When we type a URL, DNS finds the IP address, the request reaches the server, and a copy of the page comes back to the browser.
Worked examples
Name
Job
switch
shares the wired connections inside one network
access point
lets devices join the network by radio, without cables
router
joins the network to the internet and sends data between networks
server
stores a website and sends copies of its pages
DNS
changes a URL into an IP address
Each device or service has its own job.
Address
Valid?
Why
172.16.0.9
yes
four numbers, all from 0 to 255
10.2.5
no
only three numbers
24.300.1.7
no
300 is more than 255
203.0.113.44
yes
four numbers, all from 0 to 255
An IP address has four numbers, and each number is from 0 to 255. Check each address.
Step
What happens
1
You type the URL into the browser.
2
The browser makes a request, and it goes out through your router.
3
DNS looks up the IP address for the URL.
4
The request travels to the server with that address.
5
The server sends a copy of the web page back.
6
Your browser shows the page on the screen.
This is what happens after we type a URL and press Enter.
Class activity
Be the internet (groups of six). One child is the browser, one is the router, one is DNS with a list of three made-up website names and numbers, one is the server with a page drawn on paper, and two watch with timers. The browser writes a made-up URL on a note and hands it to the router. The router passes it to DNS, who writes the number on it and sends it on to the server. The server sends back a copy of the page. Time how long it takes. Then break it: DNS loses the list. What happens to the request?
Practice
1
Which of these are valid IP addresses? (a) 192.168.4.20 (b) 172.16.0.256 (c) 10.8.3 (d) 14.200.7.99
(a) is valid. (b) is not valid, because 256 is more than 255. (c) is not valid, because it has only three numbers. (d) is valid.
2
Put these steps in the right order. A The server sends a copy of the page. B DNS finds the IP address. C You type the URL. D The browser shows the page. E The request reaches the server.
C, B, E, A, D.
3
Which item in the chain stores the web page? What does the router do with a request?
The web server stores the page. The router sends the request on towards the internet.
4
What is the hidden device? What does it do when the laptop sends a file to the printer?
It is a switch. It reads the destination and sends the file along the printer’s cable only.