Network hardware and the internet

Computer Science AS · Communication. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Computer Science AS topics

The idea

A LAN needs hardware: a network interface card (NIC) in each device, a switch to pass data to the right device, wireless access points for WiFi devices, and a router to join the LAN to other networks such as the internet. Ethernet is the usual set of rules for a wired LAN, and CSMA/CD is its way of dealing with collisions.

The internet is the worldwide collection of connected networks. The World Wide Web is only one service that runs on it: web pages reached with URLs.

Every device on the internet needs an IP address. People use domain names instead, and the Domain Name Service (DNS) finds the IP address that matches a domain name.

In simpler words

A LAN needs some hardware. Each device has a network card. A switch sends data to the right device. A router joins your network to other networks, like the internet. The internet is all the connected networks in the world. The web is just the web pages on it. Every device has an IP address. DNS turns a name like a website name into that address.

An everyday comparison

The internet is like a country's road network; the World Wide Web is like the delivery service that uses those roads. DNS works like a phone book that turns a person's name into their number. The comparison stops working because the internet carries many other services besides web pages, such as email, and a DNS lookup is done automatically by servers, not by a person searching through pages.

Rules to remember

Common mistake

Students use "internet" and "World Wide Web" as if they mean the same thing. The internet is the hardware and connections; the WWW is the collection of web pages that is reached over it.

In the exam

Name each device and give its job in one line: a switch sends data only to the device it is addressed to inside a LAN; a router forwards packets between networks using IP addresses. For CSMA/CD, list the steps in order: listen, send, detect collision, send jam signal, wait a random time, resend. For IPv4 and IPv6, state the bits and format. For a URL, explain that DNS returns the IP address for the domain name. Keep internet and WWW separate.

Worked example

A laptop on a home LAN has the IP address 192.168.1.20. The home router has the address 82.10.4.7 from the internet service provider. Which address does a web server on the internet see?

  1. 192.168.1.20 is a private address, so it is used only inside the LAN and is not routed over the internet.
  2. All traffic leaving the LAN goes through the router.
  3. The router sends the request using its own public address, so replies come back to the router, which passes them to the laptop.

Answer: The web server sees the router's public address, 82.10.4.7.

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Keep going

← Networks and network modelsComputers and their components →Take a Computer Science AS test