3.4 Network hardware

Network Hardware

1. Network Interface & Connection Devices

NIC
Network Interface Card (NIC)

An internal hardware component that allows a computer to connect to a network. It contains the MAC Address, which is a unique physical identifier for the device.

Hub and Switch
Hub vs. Switch

Hub: Sends data packets to every device on the network. This is inefficient and causes security risks.

Switch: Smarter than a hub. It checks the destination MAC address and sends data only to the specific device intended, reducing network traffic.

Router
Router

The "Traffic Controller." It connects different networks together (e.g., your home LAN to the Internet). It uses IP Addresses to route packets across the most efficient path.

Modem
Modem (Modulator-Demodulator)

Converts Digital signals from a computer into Analogue signals for transmission over telephone lines/cables, and vice versa.

Bridge and WAP
Bridge & Wireless Access Point (WAP)

Bridge: Connects two separate LANs that use the same protocol so they function as a single network.

WAP: Provides a wireless signal (Wi-Fi) so mobile devices can join a wired network.

2. Advanced Networking & Security

Gateway
Gateway

A "node" that connects two networks that use different protocols. It translates the data so it can be understood by the receiving network.

Firewall
Firewall

A security system (can be hardware or software) that monitors incoming and outgoing traffic. It blocks unauthorized access based on a set of security rules.

Proxy Server
Proxy Server

Acts as an intermediary between a user and the internet. It can cache frequently visited pages to speed up access and hide the user's real IP address for privacy/security.

3. Connection Media

Networking hardware is linked together using various media:

  • Ethernet (Copper) Cable: Uses electrical pulses. Good for LANs but limited to 100m.
  • Fiber Optic Cable: Uses pulses of light. High bandwidth and long distance (backbones).
  • Radio Waves: Used by Wi-Fi and Bluetooth for wireless unguided transmission.

MAC and IP Addressing

1. Two Addresses, Two Jobs

Every device on a network carries two different addresses at the same time, and the commonest mistake in this topic is treating them as alternatives. They are not. They exist together and they do different jobs.

  • A MAC address identifies the physical device. It is built into the hardware and normally never changes.
  • An IP address identifies the device's position on a network. It is assigned by the network and changes when the device moves to a different one.
The way to hold on to the difference: your MAC address is like a passport number — it identifies you, permanently, wherever you go. Your IP address is like the address of the building you are currently sitting in — it says where you are, and it changes when you move. Take your laptop to a cafĂ© and its MAC address is identical; its IP address is completely different.

2. MAC Addresses

MAC stands for Media Access Control. The address is assigned by the manufacturer and stored in the Network Interface Card (NIC), which is why it is often called the physical address.

Format

A MAC address is 48 bits long, written as six pairs of hexadecimal digits separated by hyphens or colons.

00-1A-2B-3C-4D-5E manufacturer code  •  device serial number

The two halves mean different things, and the syllabus expects you to know which is which:

  • The first three pairs are the manufacturer code (sometimes called the Organisationally Unique Identifier). Every NIC made by that company begins with the same six digits.
  • The last three pairs are the serial number of that individual device, assigned by the manufacturer.

Together those two halves guarantee that no two network cards in the world share an address. Hexadecimal is used for the same reason it is used everywhere else in this course — it expresses 48 bits in just 12 characters, and each hex digit maps to exactly four bits.

What it is used for

MAC addresses are used to deliver data within a single local network. A switch reads the destination MAC address on each frame and sends it only to that one device, rather than to everything on the network as a hub would.

Is a MAC address really permanent? It is fixed in hardware and does not change as the device moves between networks — which is what the syllabus means by permanent. Software can, however, make a device report a different one; this is called MAC spoofing, and it is one reason a MAC address alone is not treated as proof of identity.

3. IP Addresses

IP stands for Internet Protocol. An IP address identifies a device's location on a network so that data can be routed to it. Routers use IP addresses — not MAC addresses — to move packets between networks.

IPv4

An IPv4 address is 32 bits long, written as four denary numbers between 0 and 255, separated by full stops.

192.168.1.10 32 bits  •  four groups of 8 bits

Each of those four numbers is one byte, which is why the maximum is 255. Thirty-two bits gives $2^{32}$ addresses — about 4.3 billion. That sounded limitless in the 1980s and is not remotely enough now that most people carry several connected devices, which is the entire reason IPv6 exists.

IPv6

An IPv6 address is 128 bits long, written as eight groups of four hexadecimal digits, separated by colons.

2001:0db8:85a3:0000:0000:8a2e:0370:7334 128 bits  •  eight groups of 16 bits

128 bits gives $2^{128}$ addresses — a number large enough that running out is not a practical concern. Consecutive groups of zeros may be shortened to a double colon, so the address above can be written 2001:0db8:85a3::8a2e:0370:7334.

FeatureIPv4IPv6
Length32 bits128 bits
Written asFour denary numbers, 0–255Eight groups of four hex digits
SeparatorFull stopsColons
Example192.168.1.102001:0db8:85a3::8a2e:0370:7334
Number availableAbout 4.3 billion$2^{128}$ — effectively unlimited

4. Public and Private IP Addresses

Not every IP address can be reached from the internet, and the distinction matters.

Public IP addressPrivate IP address
UniqueUnique across the whole internetUnique only within its own network
Assigned byThe Internet Service Provider (ISP)The router on the local network
Reachable fromAnywhere on the internetOnly from inside that local network
Re-used?No — only one device may hold itYes — millions of homes use 192.168.1.1

A home network usually has one public IP address, belonging to the router, and gives every device inside a private one. All the traffic from those devices reaches the internet through that single public address, and the router keeps track of which reply belongs to which device.

Why this arrangement exists: it is one of the main reasons the world has not already run out of IPv4 addresses. A household of ten connected devices consumes one public address, not ten. Private addresses can be re-used endlessly precisely because they are never routed across the internet.

5. Static and Dynamic IP Addresses

This is a separate question from public and private — it is about whether the address changes.

Static IP addressDynamic IP address
Changes?Never — permanently assignedYes — a new one may be issued each time the device connects
Assigned bySet manually by an administratorIssued automatically from a pool by a DHCP server
AdvantagesAlways found at the same address; needed for hosting a website, a mail server or remote accessEfficient — addresses are only used while a device is connected; no manual configuration
DisadvantagesMust be managed manually; ISPs usually charge extra; easier to target repeatedlyThe address may change, so it cannot be relied on to find the device

DHCP stands for Dynamic Host Configuration Protocol. It is what allows a device to join a network and be given a working address automatically, with nobody typing anything in.

Choosing in a scenario question. If the device must be found by others — a web server, a mail server, a CCTV system accessed from outside — it needs a static address, because a changing one could not be located. If the device only needs to reach out — a phone, a laptop, a games console — a dynamic address is fine and is what it will normally be given.

6. MAC and IP Compared

FeatureMAC addressIP address
IdentifiesThe physical deviceThe device's position on a network
Assigned byThe manufacturer, in the NICThe network (router or ISP)
Changes?No — fixed to the hardwareYes — changes with the network
Length48 bits32 bits (IPv4) or 128 bits (IPv6)
Written asSix pairs of hex digitsFour denary numbers, or eight hex groups
Used bySwitches, within one local networkRouters, between networks
⚠️ Exam Tips:
  • A device has both addresses at once. Never write that a device uses one instead of the other.
  • Give the format when asked to describe an address: MAC is 48 bits as six pairs of hex digits; IPv4 is 32 bits as four denary numbers; IPv6 is 128 bits as eight groups of four hex digits.
  • For a MAC address, say what the two halves are — manufacturer code then device serial number.
  • Keep the two questions apart: public/private is about whether it can be reached from the internet; static/dynamic is about whether it changes. An address is one of each.
  • The reason for IPv6 is that IPv4's 4.3 billion addresses have run out. Say the number.