Paper 1 · Unit 2. Networks, topologies, Ethernet and IP addressing.

1. Why networks, LAN and WAN

Networking devices lets users share files, printers and an internet connection, communicate, and manage security and backups centrally.

LANWAN
AreaA small geographical area, e.g. one building or siteA large geographical area, e.g. a country or the world
OwnershipUsually owned by one organisationUses communication links owned by others (e.g. telecom companies)
LinksCables and Wi-Fi owned by the organisationLeased lines, PSTN, satellites, the internet

2. Client-server and peer-to-peer

Client-serverPeer-to-peer
RolesServers provide services (files, email, web, print); clients request themEvery computer has equal status and can share its own resources
BenefitsCentral security, backups and management; scales to many usersCheap and simple to set up; no single point of failure
DrawbacksExpensive servers and skilled staff; the server is a single point of failureHard to manage security and backups; performance falls as it grows
SuitsSchools, businesses, websitesSmall homes and offices, file sharing

A thin client relies on a server for most processing and storage (e.g. a terminal or browser-based app). A thick client does most processing and storage itself, and works partly offline.

3. Topologies

TopologyDescriptionBenefitDrawback
BusAll devices share one backbone cable; data is sent along it to all devices and the addressed one accepts itCheap, little cableCollisions; if the backbone fails the whole network fails
StarEach device connects to a central switch, which forwards data only to the destinationA failed cable affects one device; fast and secureThe switch is a single point of failure; more cable
MeshDevices connect to several others; data can take several routesVery reliable: alternative routesExpensive and complex
HybridA combination of two or more topologiesFlexible for large sitesComplex to manage

4. Cloud computing

Cloud computing provides computing services (storage, servers, software) over the internet. A public cloud is shared infrastructure run by a provider for many customers; a private cloud is dedicated to one organisation.

BenefitsDrawbacks
Access from anywhere with an internet connectionNeeds a reliable internet connection
No need to buy or maintain servers; pay for what you useOngoing costs; reliance on the provider
Easy to scale up or downData security and privacy depend on the provider
Provider handles backups and updatesData may be stored in other countries with different laws

5. Wired and wireless media

MediumCharacteristics
Copper cable (twisted pair, coaxial)Cheap and easy to install; affected by interference; lower bandwidth over distance
Fibre-optic cableUses light; very high bandwidth over long distances; immune to electrical interference; more expensive
Radio waves (Wi-Fi)No cables, devices can move; shorter range, lower speeds and less secure than wired
MicrowavesLine-of-sight point-to-point links between towers; high bandwidth; affected by weather and obstacles
SatellitesCover huge areas including remote places; high latency (delay)

6. LAN hardware and routers

DeviceRole
SwitchConnects devices in a star LAN and forwards data only to the device it is addressed to (using MAC addresses)
ServerProvides services such as file storage, printing or email to clients
NIC / WNICNetwork interface card (wired / wireless) that connects a device to the network; has a MAC address
WAPWireless access point: lets wireless devices join a wired network
BridgeConnects two LAN segments using the same protocol
RepeaterRegenerates a weakened signal so it can travel further
RouterConnects different networks (e.g. a LAN to the internet); forwards packets towards their destination using IP addresses; often assigns private IP addresses

7. Ethernet and CSMA/CD

Ethernet is the common protocol for wired LANs. On a shared medium, two devices may transmit at once and their signals collide. CSMA/CD handles this:

  1. Carrier sense: a device listens and only transmits when the channel is idle.
  2. Collision detection: while transmitting it checks for a collision.
  3. If a collision is detected, it stops and sends a jam signal.
  4. Each device waits a random time (back-off) before trying again.

8. Bit streaming

Bit streaming sends audio or video as a continuous stream of bits that plays while it downloads, using a buffer to smooth out gaps.

  • Real-time: a live event is streamed as it happens.
  • On-demand: pre-recorded files are streamed when the user chooses.

The bit rate needed depends on quality; if the broadband speed is lower than the bit rate, the buffer empties and playback pauses.

9. The internet, WWW and IP addresses

The internet is the global network infrastructure; the WWW is the collection of web pages accessed over it. Internet hardware includes modems, the PSTN, dedicated (leased) lines and the cell phone network.

TopicKey points
IPv432 bits, four denary numbers 0–255 separated by dots
IPv6128 bits, eight groups of four hex digits separated by colons; vastly more addresses
SubnettingSplits a network into smaller subnets; part of the address is the network ID, the rest the host ID; improves management and security
Public vs privatePublic addresses are unique on the internet; private addresses (e.g. 192.168.x.x) are used inside a LAN and hidden behind the router, which adds security
Static vs dynamicStatic never changes (good for servers); dynamic is allocated by DHCP each time a device connects

Try it: IPv4 address explorer

10. URLs and DNS

A URL gives the protocol, domain name and path of a resource, e.g. https://revisionhub.online/coding-lab/. The browser asks a DNS server to translate the domain name into an IP address; if that server does not know, it asks other DNS servers in the hierarchy. The browser then requests the resource from the web server at that IP address.

11. Examiner tips

  1. Justify your choice of model or topology for the scenario, not in general.
  2. A switch uses MAC addresses; a router uses IP addresses and connects different networks.
  3. CSMA/CD: listen, transmit, detect collision, jam signal, random wait, retry.
  4. Private IP addresses are not routed on the internet; the router’s public address is used instead.
  5. Bit streaming needs a buffer; explain what happens when broadband speed is below the bit rate.
  6. Fibre: mention light, bandwidth, distance and immunity to interference.

12. Practice questions

Practice: answer and check instantly

Type a short answer, then press Check or Enter.

Show answer

Peer-to-peer.

Show answer

Star.

Show answer

A router.

Show answer

Carrier Sense Multiple Access / Collision Detection.

Show answer

32 bits.

Show answer

DHCP.

Show answer

Private.

Show answer

Fibre-optic cable.

Exam-style questions

9. A school is choosing between a star and a bus topology for a new computer room. Justify which one it should use. [3]

Show mark guide

Star [0 for choice alone] · a failed cable only affects one computer [1] · the switch sends data only to the destination, so fewer collisions and better performance/security [1] · easy to add or remove devices [1].

10. Describe how CSMA/CD detects and avoids collisions. [4]

Show mark guide

The device listens to check the channel is free before transmitting [1] · it monitors for a collision while transmitting [1] · if a collision occurs, transmission stops and a jam signal is sent [1] · each device waits a random time before retransmitting [1].

13. Topic test: predict your grade

Topic test: predict your grade

15 questions, about 10 minutes. Answer them all, then press Mark my test.

1. A LAN covers…
2. In client-server, the server…
3. A thin client…
4. Which topology has a single backbone cable?
5. Which topology is most fault tolerant?
6. A private cloud is…
7. Which medium is immune to electrical interference?
8. A WAP…
9. A repeater…
10. In CSMA/CD, after a collision devices…
11. On-demand streaming…
12. IPv6 addresses are…
13. A static IP address…
14. What does DNS do?
15. Which is a private IP address range?

Frequently asked questions

What is the difference between client-server and peer-to-peer networks?

In client-server networks, servers provide services such as files and email to clients and are managed centrally. In peer-to-peer networks, every computer has equal status and shares its own resources.

How does CSMA/CD work?

A device listens until the channel is free, then transmits while checking for collisions. If a collision happens, it sends a jam signal and waits a random time before trying again.

What is the difference between IPv4 and IPv6?

IPv4 addresses are 32 bits written as four denary numbers. IPv6 addresses are 128 bits written as eight groups of hexadecimal digits, giving far more addresses.

Was this page helpful?