Skip to content

1.3.1 Networks and topologies

GCSE · Paper 1 · Computer systems · Section 1.3 · 20 flashcards · 12 practice questions

Questions

1.3.1 Networks and topologies

A network is two or more computers and devices joined together so they can share data and resources. Networks let people share files, printers and an Internet connection, and let them send messages and work together.

Types of network

LAN

Definition
A LAN (Local Area Network) covers a small geographical area, such as one building or one site. The organisation that uses it owns the hardware and cables.

Examples: a school network, an office, a home network.

WAN

Definition
A WAN (Wide Area Network) covers a large geographical area, such as a city, a country or the world. A WAN is usually made by joining many LANs together. The organisation often hires the connections from a telecoms company, so it does not own all the infrastructure.

Examples: the Internet, a bank linking its branches across the country.

LANWAN
Area coveredSmall (one site)Large (towns, countries)
Who owns itThe organisationOften hired from other companies
SpeedUsually fasterUsually slower
Cost to set upLowerHigher
ExampleSchool networkThe Internet

Factors that affect network performance

Performance means how fast and how smoothly data moves on the network. Five common factors are:

  • •
    Number of devices. Every device uses some of the network. More devices connected at the same time means more data trying to move, so the network gets slower.
  • •
    Bandwidth. Bandwidth is the amount of data that can be sent across a connection each second. A higher bandwidth lets more data move at once, so the network is faster. Low bandwidth causes slow downloads and buffering.
  • •
    Transmission media. Different cables and wireless links carry data at different speeds. Fibre optic cable is faster than copper cable. Wireless links can be slowed by walls and other signals.
  • •
    Network traffic. When many users stream, download or send large files at the same time, the network gets busy and slows down.
  • •
    Number and quality of switches and servers. If a server is old or a switch is overloaded, data waits in a queue.
Exam Tip
Do not just say "it goes slower". Explain the link: "More devices are connected, so there is more data on the network sharing the same bandwidth, so each user gets a slower connection."

Client-server and peer-to-peer

Client-server

In a client-server network, one or more powerful computers called servers provide services. Other computers, called clients, send requests to the server.

A server might store files, share printers, manage logins and user accounts, or send out web pages. The server controls who can use what.

Pros & Cons
AdvantagesDisadvantages
Files are stored in one place, so they are easy to back upThe server is expensive to buy and set up
Security is managed centrally (logins and access rights)If the server fails, clients cannot get what it provides
Software and updates can be managed from one placeA skilled person is needed to run and maintain it
Can cope with many clientsMany requests at once can slow the server down

Peer-to-peer

In a peer-to-peer (P2P) network, every computer has the same role. There is no central server. Each computer, called a peer, stores its own files and can share them directly with the other peers.

Pros & Cons
AdvantagesDisadvantages
Cheap: no server is neededNo central place for backup, so each computer must be backed up
Easy to set upSecurity is weaker because each user manages their own
If one computer fails, the others still workGets slow and hard to manage as more computers join
Key Point
Client-server: a server controls the network and clients ask it for things. Peer-to-peer: no server, all computers are equal. Client-server suits large organisations. Peer-to-peer suits a few computers, such as a small home network.

Hardware needed for a LAN

Network interface card (NIC)

A NIC is the part inside a device that lets it connect to a network. Without one, a computer cannot join a network. A NIC can be wired (a socket for a cable) or wireless (an aerial). Most laptops and phones have a wireless NIC built in. Each NIC has its own MAC address (see topic 1.3.2).

Transmission media

Transmission media are what carry the data between devices.
MediumWhat it isNotes
Copper cableWires made of copper carry data as electrical signalsCheaper, slower, signal weakens over long distances
Fibre optic cableGlass or plastic strands carry data as pulses of lightFaster, carries data further, more expensive
WirelessData travels through the air as radio wavesNo cables, but slower and can be interrupted by walls or other signals

Switch

A switch connects the devices on a LAN. It receives data and sends it only to the device it is meant for, not to every device. This keeps the network fast and uses less bandwidth than sending everything everywhere.

Wireless access point (WAP)

A wireless access point lets wireless devices join the network. It connects to the wired network with a cable and sends and receives data through the air. Large buildings often have several access points so the signal reaches everywhere.

Router

A router joins different networks together and sends data between them. In a home, the router joins the LAN to the Internet. It directs data towards the right network. Many home routers also contain a switch and a wireless access point in one box.

Key Point
Switch: connects devices inside a network. Router: connects one network to another (for example, a LAN to the Internet). Wireless access point: lets wireless devices join. NIC: lets one device connect.

The Internet

Definition
The Internet is a worldwide collection of connected networks. It is not owned by anyone. The World Wide Web is a different thing: it is the collection of web pages that is shared over the Internet.

The Internet carries many services, not only web pages. Email, online games and video calls all use it.

Web servers and clients

A web server is a computer that stores web pages and sends them out when asked. A web client is a device that asks for a page, usually using a web browser. When you type an address, your browser (the client) sends a request to the web server. The server sends the page back, and the browser displays it.

Hosting

Hosting means storing a website or other files on a server that is connected to the Internet, so that other people can reach them at any time. A company that owns the servers and rents space on them is a hosting company. The person with the website pays to use that space.

Domain names, URLs and DNS

Computers find each other using IP addresses, which are numbers. People find it hard to remember numbers, so websites also have a domain name that is easy to read. A URL (web address) contains the domain name, for example www.example.com.

Definition
The Domain Name Service (DNS) converts a URL (domain name) into the IP address of the web server. It is made up of many domain name servers spread across the Internet.
Worked Example
What happens when you type a web address into a browser?

1. You type the URL into the browser.
2. The browser asks a domain name server for the IP address that matches the URL.
3. The domain name server replies with the IP address. If it does not know it, it asks another domain name server.
4. The browser uses the IP address to send a request to the web server.
5. The web server sends the web page back to the browser, which displays it.

No single server holds every address. The work is shared across many domain name servers, which makes the system faster and means it does not stop if one server fails.

The Cloud

Definition
The Cloud means storing data, running software or doing processing on servers on the Internet, instead of on your own device. You get to them using an Internet connection.

The Cloud can provide:

  • •
    Remote storage, such as saving photos and documents online.
  • •
    Software, such as word processors you use in a browser.
  • •
    Processing, such as using a powerful remote computer to do a big calculation.
Pros & Cons
AdvantagesDisadvantages
Access your files from any device with an Internet connectionYou need an Internet connection to get to your data
Files are shared easily with other peopleYou depend on the company running the servers
No need to buy as much storage or a powerful computerOngoing fees may be needed for more storage
The company usually backs up your data for youData may be at risk if the company is hacked

Network topologies

A topology is the way the devices on a network are arranged and connected. Only two topologies are needed: star and mesh.

Star topology

In a star network, every device connects to one central device, usually a switch (or a server). Data from one device goes to the centre, and then on to the device it is meant for.

Pros & Cons
AdvantagesDisadvantages
If one cable or device fails, the others carry on workingIf the central switch fails, the whole network stops
Easy to add a new device without stopping the networkNeeds a lot of cable, because every device has its own cable to the centre
Fewer data collisions, because each device has its own cableThe central switch can be expensive
Performance is good, because the switch sends data only to the right device

Mesh topology

In a mesh network, devices connect directly to many of the other devices. In a full mesh, every device connects to every other device. In a partial mesh, only some devices connect to several others. Data can take many different routes.

Pros & Cons
AdvantagesDisadvantages
Very reliable: if one connection fails, data can use another routeNeeds a lot of cable or many connections, so it is expensive
No single point of failureHard and slow to set up and maintain
Can carry a lot of data at once, because there are many routesNeeds more hardware, such as extra NICs

The more connections there are, the more reliable the network is, and the more it costs. A full mesh with 4 devices needs 6 links (A to B, A to C, A to D, B to C, B to D, C to D). A star with 4 devices needs only 4 links to the centre.

Warning
Do not write that a star network "has no problems if a device fails". If the central switch fails, every device is cut off. The advantage is only for a failure of an outer device or its cable.
Worked Example
A hospital wants a network for its life-support monitors. Which topology?

A mesh topology. If one connection fails, data can be sent by another route, so the monitors stay connected. This matters because a failure could be dangerous. The drawback is the higher cost, because many more connections are needed.

A school computer room, where a short failure is not dangerous and cost matters, would suit a star topology.

Exam technique

  • •
    State and give: one short fact per mark. For example, "State one job of a router."
  • •
    Describe: say what something is or does. For DNS, describe the steps in order.
  • •
    Explain: give a reason as well as a fact. "The network is slower because more devices share the same bandwidth."
  • •
    Compare: talk about both. For client-server and peer-to-peer, give a point for each type, not two points about one.
  • •
    Discuss (8 marks): give points for and against, apply them to the scenario given, and finish with a conclusion that chooses an option and says why. Use the names of the hardware and topologies, and link each point to the scenario.
  • •
    For a topology question, give the advantage or disadvantage and the reason ("reliable because data can use another route").
  • •
    Say which device does which job. A switch connects devices within a network. A router connects different networks.