KS4J277 1.3.1 30 min read 10 question quiz 22 exam marks

Networks and Topologies

LANs and WANs, the hardware that makes a network work, client server against peer to peer, star against mesh, and the factors that decide how fast it all runs.

LAN and WAN

A network is two or more computers connected together so they can share data and resources.

LAN, local area network

  • Covers a small geographical area, such as one building or one site
  • The hardware is owned by the organisation that uses it
  • Examples: a school, an office, a home

WAN, local area network becomes wide area network

  • Covers a large geographical area, potentially the whole world
  • The organisation does not own all the infrastructure, it leases connections from telecommunications companies
  • Examples: the internet, a bank connecting branches in different cities
The distinguishing point

The real difference is ownership as well as size. In a LAN the organisation owns the cabling and hardware. In a WAN it uses third party infrastructure that it does not own.

Advantages and disadvantages of networking

Advantages

  • Share files and data easily
  • Share hardware such as printers, saving money
  • Share an internet connection
  • Central backup of all data
  • Central management of user accounts and software updates

Disadvantages

  • Expensive to set up: cabling, servers and hardware
  • Malware can spread quickly across the network
  • If the server fails, everyone is affected
  • Requires a network manager, which is a staffing cost
  • Increased security risk, since data is accessible from many machines
A LAN in each building, joined across a WANThe difference between a local area network and a wide area network. A LAN covers a single geographical site, one building or one campus, and the organisation owns and maintains all of it: the switches, the cabling and the wireless access points. That is why a LAN is fast and cheap to run once it is installed. The picture shows a school with its own LAN and an office with its own LAN, each a switch with computers cabled to it. Joining the two sites makes a wide area network, drawn as a cloud between them, which runs over telephone lines, fibre or satellite that belong to a telecoms provider rather than to either site. The real difference is not size but who owns the connection.SCHOOLOFFICEWANwide area networktelephone lines and fibrenot owned by either sitenot my cables!a LAN: one site, your own cablesanother LAN, its own cables1234
  1. A LAN covers one site: one building, one campus, cabling you own.
  2. A second site has its own LAN, with its own switch and its own cabling.
  3. Joining them makes a WAN, over lines nobody at either end owns.
  4. That is the real difference: not size, but who owns the connection.
‘A WAN is bigger’ gets you nothing. ‘A WAN uses infrastructure the organisation does not own’ is the mark.

Network hardware

DeviceWhat it does
NICNetwork Interface Card. Allows a device to connect to a network, wired or wireless. Each has a unique MAC address.
SwitchConnects devices on a LAN. It reads the destination MAC address of each frame and sends it only to the correct device, which reduces unnecessary traffic.
RouterConnects different networks together and directs data between them using IP addresses. Your home router joins your LAN to the internet.
WAPWireless Access Point. Allows devices to connect to the network wirelessly using radio waves.
Transmission mediaThe cabling or radio waves that carry the data: copper twisted pair, fibre optic, or wireless.
Switch versus router

A switch works inside one network using MAC addresses. A router works between networks using IP addresses. Confusing these two is one of the most common lost marks in this topic.

Servers and clients

A server is a computer that provides services or resources to other computers. Common types include file servers, print servers, web servers and mail servers.

A rack mounted network switchA rack mounted network switch, a flat metal box with two rows of numbered Ethernet ports along the front, each with a small status light.PWRSYS24Ethernet portsone cable, one deviceport lightsgreen means linkedpower and statusmounting holesit bolts into a rackin a star network, every device has its own port
One port per device. That is a star topology, and this is the thing in the middle of it.Drawn illustration
A home broadband routerA domestic broadband router with external aerials, Ethernet ports on the back and status lights on the front.aerialssend and receive wireless signalsstatus lightspower, internet, wirelessEthernet portsplug in wired devicesinternet portto the broadband line
A home router is several devices in one box: a router, a switch, a wireless access point and usually a modem and firewall.Drawn illustration

Client server and peer to peer

Client server

One or more powerful central servers provide resources, and clients request them.

Advantages

  • Central backup, so data is protected in one place
  • Central management of security, updates and user accounts
  • Easier to add new clients
  • Files are stored centrally, so any user can access their work from any machine

Disadvantages

  • Expensive: servers and specialist staff cost money
  • If the server fails, the whole network loses access
  • The server can become a bottleneck if demand is high

Peer to peer

Every computer is equal. Each acts as both client and server, sharing files directly with the others.

Advantages

  • Cheap, no server to buy
  • Easy to set up, needs no specialist knowledge
  • No single point of failure, if one machine goes down the rest continue

Disadvantages

  • No central backup, so files must be backed up individually
  • Files are spread across machines, so a computer must be switched on for its files to be available
  • Difficult to manage security and updates across many machines
  • Performance drops as more peers join
Choosing between them

A home with three computers sharing a printer suits peer to peer, because it is cheap and simple. A school with 500 machines needs client server, because central backup, central account management and central security are essential at that scale.

Client server networks compared with peer to peer networksTwo network models side by side. In a client server network three client machines each connect to one central server which holds the files, runs the backups and controls the accounts. Management and security are centralised, which is easier to administer, but the server is a single point of failure and can become a bottleneck when many clients ask for data at once. In a peer to peer network four machines are joined directly to one another and every machine acts as both a client and a server, sharing its own files. There is no central point to fail and it is cheap to set up, but backups, security and finding files are all harder because nothing is centralised.CLIENT SERVERPEER TO PEERServerholds the filesClient1Client2Client3one machine serves them all, and is a single point of failurePeerPeerPeerPeerevery machine is both client and server, so nothing is central
Schools and businesses use client server for control. File sharing and blockchain use peer to peer because there is no central point to attack.
Client–server compared with peer to peerTwo ways of organising a network. In a client server network, four client machines all connect to one central server, which stores the files, checks logins and runs the backups. That makes everything central: one place to back up, one place to set security, one place to update. It also makes the server a single point of failure, so when it goes down nobody can work. In a peer to peer network there is no server: every machine is both a client and a server and is joined directly to the others, so it is simple and cheap, there is no central security or backup, and losing one machine leaves the rest working.Client–serverPeer to peerstores the fileschecks loginsruns the backupsevery client asks the servereach is client and serverServer down: nobody can workOne down: the rest carry on1234
  1. Client server: every device asks one central machine for what it needs.
  2. The server holds the files, does the work and checks who you are.
  3. Peer to peer: no server, and every machine is both client and server.
  4. Lose the server and a client server network stops. A peer network does not.
A school uses client server because somebody has to control logins and back work up. Sharing music between phones is peer to peer.
A rack of servers in a data centreA rack of servers in a data centre, with rows of identical units stacked in a cabinet and cabling running down the side.one servera flat computerstatus lightsthe rackmany servers, one cabinetcables carry network and power
When a website is described as being in the cloud, this is the cloud.Drawn illustration

Star and mesh topologies

A topology is the layout of a network: how the devices are physically or logically arranged.

Star topology

Every device connects to a central switch or hub.

Advantages

  • If one cable fails, only that one device is affected
  • Easy to add or remove devices without disrupting anyone else
  • Very few data collisions, because the switch directs traffic
  • Good performance, since each device has its own dedicated connection

Disadvantages

  • Requires a lot of cable, so it is expensive to install
  • If the central switch fails, the entire network fails

Mesh topology

Every device connects to many other devices, so there are multiple routes for data.

In a full mesh every device connects to every other. In a partial mesh only some connections exist.

Advantages

  • Extremely reliable: if one connection fails, data is rerouted another way
  • No single point of failure
  • Data can take the fastest available route
  • Adding devices does not slow the network as much as other topologies

Disadvantages

  • Very expensive in cabling for a wired mesh
  • Complex to set up and maintain

Wireless mesh networks avoid the cabling cost, which is why mesh is now common in smart home and large scale Wi-Fi systems.

The comparison sentence

A star topology fails completely if the central switch fails, whereas a mesh has no single point of failure because data can be rerouted through alternative paths.

Star topology compared with mesh topologyTwo topologies side by side. In a star, four devices each have a single cable running to a central switch, and no device connects directly to another, so traffic always passes through the switch. If one cable fails only that one device is cut off, but if the switch fails the whole network stops. In a full mesh, five devices labelled A to E are each joined directly to all four of the others, giving ten links in total. Because there are many possible routes between any two devices, a broken link does not stop traffic, but the amount of cable needed grows very quickly.STARMESHSwitchDevice 1Device 2Device 3Device 4every device has one link to the switchone cable fails, one device is cut offABCDEevery device links to every other devicemany routes, so one broken link is survivable
In a full mesh of n devices there are n times n minus one, all divided by two links. Five devices need ten. Ten devices would need forty five.
Three network topologies: star, mesh and busThree network topologies side by side. In a star, every device has its own cable running to a central switch, so performance stays high because no device shares its cable, and a single cable failure takes out only the one device attached to it; the costs are that it needs a lot of cable and that the switch is a single point of failure for the whole network. In a mesh, every device is connected directly to every other, so any one link can fail and the data simply goes a different way, which is why the internet is built as a mesh; the cost is a great deal of cable. In a bus, every device taps into one shared backbone cable with a terminator at each end: it is cheap and needs little cable, but a break in the backbone stops everyone and all the devices share its capacity.StarMeshBusIts own cable eachOne failure drops one PCSwitch is a weak pointMany routes to takeSurvives failuresNeeds lots of cableCheap, little cableOne break stops allEveryone shares it12345
  1. Star: every device has its own cable to a central switch.
  2. If one cable fails, only that one device drops off.
  3. Mesh: every device connects to every other, with no centre at all.
  4. Any one link can fail and the data simply goes a different way.
  5. Bus: one shared backbone, and every device taps into it.
Star for a school or an office, mesh for anything that has to survive a failure. The internet is a mesh.

Factors affecting network performance

Five factors, and you need to be able to explain each.

  1. Bandwidth. The amount of data that can be carried per second. Higher bandwidth means more data flows at once. Bandwidth on a network is shared, so more users each get less.
  1. Number of users. More devices using the network at once means the available bandwidth is divided further, so each device gets less and everything slows.
  1. Transmission media. Fibre optic carries far more data over far greater distances than copper, and is immune to electrical interference. Copper is cheaper but slower and degrades over distance.
  1. Error rate and interference. Wireless signals weaken with distance and are blocked by walls, and can be interfered with by other devices. Errors mean data has to be resent, which reduces effective speed.
  1. Latency. The delay between sending data and it arriving. Even on a fast connection, high latency makes interactive applications such as video calls and online gaming feel unresponsive.
Bandwidth is not speed

Bandwidth is capacity, like the number of lanes on a motorway. Latency is delay, like how long the journey takes. A satellite link can have huge bandwidth and terrible latency.

Six ideas about network performance: bandwidth, users, media, interference, latency and why bandwidth is not speedSix cards about what affects network performance. Bandwidth is the capacity of a connection, how much data it can carry each second, drawn as a wide pipe carrying many packets and a narrow pipe carrying few. The connection is shared, so with one user the whole bar is theirs, with three users each gets a third and with six users each gets a sixth. Fibre optic cable carries more data further than copper, whose signal fades over distance. Wireless signals are weakened by walls and distance, and a lost packet must be sent again. Latency is the delay before data arrives, around 20 milliseconds on a cable but around 600 on a satellite link. Bandwidth is like the number of lanes on a road and latency is like the length of the road, so a connection can have a lot of one and little of the other.Bandwidth1high bandwidthlow bandwidthcapacity: data per secondNumber of users21 user3 users6 usersthe connection is sharedTransmission media3copper: fades over distancefibre: light stays strongfibre carries more, furtherInterference4123lost packets are sent againLatency5cable: 20 mssatellite: 600 ms(not to scale)the delay before data arrivesNot the same thing6lanes = bandwidthlong road = latency
  1. Bandwidth is the capacity of a connection: how much data it can carry each second.
  2. Bandwidth is shared, so the more users there are, the less each one gets.
  3. Fibre carries more data further than copper, and copper fades over distance.
  4. Walls, distance and other devices weaken wireless signals, and lost packets are sent again.
  5. Latency is the delay before data arrives. A satellite link has a long delay even if its bandwidth is large.
  6. Bandwidth is like the number of lanes. Latency is like the length of the journey.
Bandwidth is capacity and latency is delay. A fast connection needs both to be good.

Key terms you must be able to define

LAN
Local area network. Covers a small geographical area with hardware owned by the organisation.
WAN
Wide area network. Covers a large geographical area using infrastructure the organisation does not own.
NIC
Network interface card. The hardware that allows a device to connect to a network.
Switch
A device that connects computers on a LAN and sends data only to the intended recipient using MAC addresses.
Router
A device that connects different networks together and directs data between them using IP addresses.
WAP
Wireless access point. Allows devices to join a network wirelessly.
Client server
A network model where central servers provide resources to client computers.
Peer to peer
A network model where all computers are equal and share resources directly with each other.
Topology
The layout or arrangement of devices in a network, such as star or mesh.
Bandwidth
The amount of data that can be transmitted over a connection in a given time.
Latency
The delay between data being sent and it arriving at its destination.

Flashcards

Say the definition out loud before you flip the card. Retrieving it from memory is what builds recall, reading it again is not.

DefineLAN
AnswerLocal area network. Covers a small geographical area with hardware owned by the organisation.
DefineWAN
AnswerWide area network. Covers a large geographical area using infrastructure the organisation does not own.
DefineNIC
AnswerNetwork interface card. The hardware that allows a device to connect to a network.
DefineSwitch
AnswerA device that connects computers on a LAN and sends data only to the intended recipient using MAC addresses.
DefineRouter
AnswerA device that connects different networks together and directs data between them using IP addresses.
DefineWAP
AnswerWireless access point. Allows devices to join a network wirelessly.
DefineClient server
AnswerA network model where central servers provide resources to client computers.
DefinePeer to peer
AnswerA network model where all computers are equal and share resources directly with each other.

Reach the top grade on this topic

Three habits separate top answers here.

Say what fails and what still works. Reliability questions want specifics. "In a star topology, if one cable fails only the device on that cable is affected, but if the central switch fails the entire network goes down."

Attach the reason to the recommendation. Choosing client server for a school is not enough. Say that central backup protects student work, central account management lets any student log in at any machine, and central updates keep 500 machines secure without visiting each one.

Separate bandwidth from latency and from number of users. Many students blur all three into "the internet is slow". Bandwidth is capacity, latency is delay, and number of users is what divides the capacity up.

  • Explain the difference between a switch and a router without hesitating
  • Give three advantages and three disadvantages each for client server and peer to peer
  • Compare star and mesh on reliability, cost and expandability
  • Explain all five performance factors with a cause and an effect

Mistakes that cost marks here

Avoid these
  • Saying a WAN is 'just a bigger LAN'. The ownership of the infrastructure is the key distinction.
  • Confusing switches and routers. Switches work within a network using MAC addresses, routers work between networks using IP addresses.
  • Saying peer to peer has 'no server'. Every peer acts as both client and server, which is the point.
  • Claiming a star topology is more reliable than mesh. Mesh has no single point of failure, a star has one at the central switch.
  • Using bandwidth and speed interchangeably. Bandwidth is capacity, latency is delay.
Fun fact

The first message ever sent over ARPANET, the ancestor of the internet, was meant to be the word LOGIN. The system crashed after two letters, so the first thing ever transmitted across the internet was LO.

Knowledge check

0 of 10 answered
1Which statement best describes a LAN?
2What does a switch use to decide where to send data?
3Which device connects two different networks together?
4What is the main disadvantage of a star topology?
5Which network model is best for a school with 600 computers?
6Why is a mesh topology very reliable?
7Which factor describes the delay between sending data and it arriving?
8Why does network performance drop when more users connect?
9What is one advantage of fibre optic cable over copper?
10In a peer to peer network, what happens if one computer is switched off?
Score 0 / 10

Exam-style questions

Five written questions in the style of the real paper. Write a full answer, then let the marker check it against the mark scheme.

22 marks
1State two differences between a LAN and a WAN.2 marks
State

Mark scheme0 / 2
  • LA LAN covers a small geographical area, a WAN covers a large one
  • LLAN hardware is owned by the organisation, WAN infrastructure is often leased from third parties
Model answer

A LAN covers a small geographical area such as a single building or site, whereas a WAN covers a large geographical area and may span cities or countries. In addition, the organisation using a LAN owns all of the hardware and cabling itself, whereas a WAN relies on infrastructure leased from telecommunications companies that the organisation does not own.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
2Explain the difference between the role of a switch and the role of a router.4 marks
Explain

Mark scheme0 / 4
  • LA switch connects devices within a single network or LAN
  • LA switch uses MAC addresses to send data only to the intended device
  • LA router connects different networks together
  • LA router uses IP addresses to direct data between networks
Model answer

A switch operates inside a single network such as a LAN, connecting the devices on that network to one another. It reads the MAC address in each frame and forwards it only to the port where the intended recipient is connected, which avoids sending unnecessary traffic to every device. A router works at a higher level, connecting entirely different networks together, such as joining a home LAN to the internet. It uses IP addresses to decide which network a packet must be sent towards, and selects the appropriate route to get it there.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
3A small business with six computers is deciding between a peer to peer network and a client server network. Recommend which they should use and justify your answer.6 marks
Justify

Mark scheme0 / 6
  • LRecommends peer to peer
  • LCheaper because no dedicated server hardware needs to be bought
  • LSimple to set up without specialist network staff
  • LWith only six computers the management overhead of client server is not justified
  • LNotes the drawback that there is no central backup
  • LNotes that files are unavailable if a computer is switched off, and suggests a mitigation
Model answer

The business should use a peer to peer network. With only six computers, the main advantage is cost: a peer to peer network needs no dedicated server hardware and no server software licences, so the setup cost is far lower than a client server arrangement. It is also simple enough to configure and maintain without employing a network technician, which matters for a business of this size where there is unlikely to be dedicated IT staff. A client server network would bring central backup, central security and central account management, but with six machines the administrative burden those features remove is small, so the extra expense is difficult to justify. The business should be aware of the drawbacks. There is no central backup, so each computer's files must be backed up separately and it would be easy for this to be neglected until data is lost. Files are also only available while the computer holding them is switched on, which can be inconvenient. Both problems can be reduced cheaply by adding a shared network attached storage drive or a cloud storage subscription for important files, which keeps the simplicity of peer to peer while covering its weakest point.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
4Compare a star topology and a mesh topology in terms of reliability and cost.4 marks
Compare

Mark scheme0 / 4
  • LStar has a single point of failure at the central switch
  • LMesh has multiple paths so data can be rerouted if a connection fails
  • LStar uses less cable and is cheaper to install than a full mesh
  • LA wired mesh requires many connections making it expensive and complex
Model answer

In terms of reliability, a mesh topology is stronger. Every device in a mesh is connected to several others, so if one link fails the data is simply rerouted along an alternative path and the network continues to function, meaning there is no single point of failure. A star topology is reliable against individual cable faults, because a broken cable only disconnects the one device attached to it, but it depends entirely on the central switch, and if that switch fails then every device loses connectivity. In terms of cost, the star topology wins clearly. It needs only one cable per device running back to the switch, whereas a full wired mesh requires a connection between every pair of devices, so the amount of cabling and the complexity of installation rise very steeply as more devices are added.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
5Explain three factors that can affect the performance of a network.6 marks
Explain

Mark scheme0 / 6
  • LBandwidth is the amount of data that can be carried per second
  • LHigher bandwidth allows more data to be transferred, but it is shared between users
  • LThe number of users affects performance because bandwidth is divided between them
  • LTransmission media matters, with fibre optic faster and less prone to interference than copper
  • LInterference and errors cause data to be resent, reducing effective speed
  • LLatency is the delay before data arrives and affects interactive applications
Model answer

The first factor is bandwidth, which is the amount of data the connection can carry each second. A higher bandwidth connection can move more data in the same time, but bandwidth is a shared resource, so the capacity available to any one device depends on what everyone else is doing. That leads directly to the second factor, the number of users. As more devices connect and transmit at the same time, the same total bandwidth is divided between more of them, so each device receives a smaller share and everything slows down, which is why school networks feel slowest at the start of a lesson when every student logs on at once. The third factor is the transmission media. Fibre optic cable carries far more data over much greater distances than copper and is immune to electromagnetic interference because it transmits light rather than electricity, whereas copper signals degrade over distance and can be disrupted by nearby electrical equipment. Wireless is more convenient but weakens with distance and is blocked by walls, and when signal quality is poor data has to be retransmitted, which reduces the effective throughput even though the nominal bandwidth has not changed.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
Machine mark 0 / 22