AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Addresses on the web

Week 13 · Unit 7.3: Connections are made · 3 lessons
1

Where web pages live

Computing 7: Unit 7.3, pp. 82–111
GoalExplain what a web server is and say whether an IP address is valid.
New words
server · a powerful computer that stores files and sends them to other devices when they askweb server · a server that stores web pagesIP address · a number address, four numbers from 0 to 255 with full stops between them, that identifies a device on a networkunique · only one of its kind: no other device on the network has the same address
Explanation

When you open a web page, you are asking for files that are kept on a server. A server is a powerful computer that stores files and sends them to other devices when they ask. A server that holds web pages is called a web server. Many servers can be stacked in racks and kept together in a server farm. Each device that joins a network is given an IP address, rather like the number on a house door. An IP address has four numbers separated by full stops, and each number is a whole number from 0 to 255. No two devices on one network can share an address, so every address is unique.

internetrouter 192.0.2.1laptop 192.0.2.11phone 192.0.2.12web server 203.0.113.8
Worked examples
FirstSecondThirdFourthFour numbers?All 0 to 255?
1985110024yesyes
A valid address. The address 198.51.100.24 has four numbers, and every number is between 0 and 255, so it is valid.
AddressValid?Reason
203.0.113.256no256 is bigger than 255
192.0.2noonly three numbers
198.51.100.9.4nofive numbers
203.0.113.8yesfour numbers, all from 0 to 255
Some invalid addresses and the reason each one is wrong.
Device nameIP address
tablet192.0.2.21
tablet192.0.2.22
printer192.0.2.30
Why use a number and not a name? Two devices on one network might both be called “tablet”, but their addresses are different, so a message always reaches the right one.
Class activity

Our street (no computer): draw six paper houses and give each one an address from 192.0.2.1 to 192.0.2.6. Put a toy or a family member’s name in each house. Write short notes and “post” them by address only. Then break a rule on purpose: give two houses the same address and post a note. What goes wrong? Finally write one address that breaks a rule (for example 192.0.2.300) and let a partner say why it cannot exist. All the addresses in this lesson are made-up teaching addresses.

Practice
1
Is each address valid or invalid? Give the reason.
AddressValid or invalid?Reason
198.51.100.200??
192.0.2.300??
203.0.113.0??
198.51.100??
192.0.2.17.5??
203.0.113.64??
2
Two devices in the table have the same address. Which two, and why is that a problem?
DeviceIP address
laptop192.0.2.5
phone192.0.2.6
tablet192.0.2.5
television192.0.2.8
3
Change one number in 203.0.113.287 so that the address becomes valid.
4
Why does every server in a server farm need its own IP address?