Networks: what and why
A network links devices to share data, hardware and internet access. Key types: LAN (Local Area Network, one site, owned by the organisation, eg a school) and WAN (Wide Area Network, spans multiple sites, uses third-party infrastructure like telecoms lines, eg the internet itself).
Network hardware
- A NIC (Network Interface Controller) lets a device connect to a network, wired or wireless, each with a unique MAC address.
- A switch connects devices within a LAN and sends data only to the intended recipient using MAC addresses.
- A router connects different networks together and directs data using IP addresses; it is what connects a LAN to the internet.
- WAPs (Wireless Access Points) let wireless devices join a wired network.
Network topologies
- Star topology: every device connects to a central switch. Fast, reliable, one cable failure does not take down the network, but the switch is a single point of failure and it costs more cabling.
- Mesh topology: devices connect to several others, so no central point of failure; used for the internet's backbone but expensive to set up.
Wired vs wireless
Wired (Ethernet, uses copper or fibre cables) gives faster, more reliable, more secure connections but limits mobility. Wireless (WiFi, radio waves) gives mobility and easy setup but can suffer interference, signal range issues and is inherently less secure.
The internet, DNS and protocols
- The internet is a WAN made of interconnected networks; the World Wide Web (pages and content) is just one service that runs on it, alongside email, VoIP, etc.
- DNS (Domain Name System) translates human-readable domain names into IP addresses.
- A protocol is an agreed set of rules for communication. Know: TCP/IP (breaks data into packets and reassembles them), HTTP/HTTPS (web pages, HTTPS is encrypted), FTP (file transfer), and the layers idea: each protocol has a job.
Network security threats
- Malware: viruses (attach to files, self-replicate), worms (spread without a host file), trojans (disguised as legitimate software), spyware, ransomware (encrypts files for payment).
- Social engineering: phishing (fake emails/sites tricking users into giving data), pretexting, shouldering.
- Brute-force attacks: trying many password combinations automatically.
- Denial of Service (DoS) attacks: flooding a server with requests to take it offline.
- SQL injection: entering malicious SQL code into input boxes to access or damage a database.
Defences
- Firewalls filter incoming and outgoing traffic against rules.
- Encryption scrambles data so it is unreadable without a key.
- User access levels restrict what different users can see or do.
- Strong passwords, biometrics and physical security (locks, ID badges) protect access.
- Anti-malware software scans and removes threats; keep software patched and updated.
Common mistakes
- Muddling LAN and WAN, or switch and router, is the most common slip: switch = within one network by MAC address, router = between networks by IP address.
- Confusing the internet (the infrastructure) with the World Wide Web (a service on it).
- Forgetting HTTPS is HTTP plus encryption, not a separate unrelated protocol.
What is the difference between a LAN and a WAN?
A LAN covers one site (eg a school); a WAN spans multiple sites and uses third-party infrastructure, like the internet.
tap to reveal
What does a switch do?
Connects devices within a LAN and sends data only to the intended device using MAC addresses.
tap to reveal
What does a router do?
Connects different networks together and directs data between them using IP addresses.
tap to reveal
What is a NIC?
Network Interface Controller: hardware that lets a device connect to a network, with a unique MAC address.
tap to reveal
What is a WAP?
Wireless Access Point: lets wireless devices connect to a wired network.
tap to reveal
Describe a star topology.
All devices connect to a central switch; fast and reliable, but the switch is a single point of failure.
tap to reveal
Describe a mesh topology.
Devices connect to several other devices with no central point, giving high reliability but higher cost.
tap to reveal
What does DNS do?
Translates human-readable domain names into IP addresses so devices can find servers.
tap to reveal
What is the role of TCP/IP?
It breaks data into packets for transmission and reassembles them correctly at the destination.
tap to reveal
What is the difference between HTTP and HTTPS?
HTTPS is HTTP with encryption added, making data transfer between browser and server secure.
tap to reveal
What is phishing?
A social engineering attack using fake emails or websites to trick users into revealing personal data.
tap to reveal
What is a Denial of Service (DoS) attack?
Flooding a server with excessive traffic or requests so it cannot serve legitimate users.
tap to reveal
What is SQL injection?
Entering malicious SQL code into an input field to access, change or damage a database.
tap to reveal
What does a firewall do?
Filters incoming and outgoing network traffic according to a set of security rules.
tap to reveal
Name three types of malware.
Viruses (self-replicate by attaching to files), worms (spread without a host file), trojans (disguised as legitimate software).
tap to reveal