Detailed · Deep study
1Network interface card and MAC address
A hardware component that a computer needs in order to connect to a network (wired or wireless).
A unique number given to a NIC at the point of manufacture, used to identify the device on a network.
A MAC address is usually 48 bits, written as 12 hexadecimal digits in six pairs (e.g. 00-1A-C2-7B-00-47). The first half is the manufacturer code and the second half is the serial code of that device. It normally does not change.
See Topic 1 · Data representationHexadecimal is covered in 1.1 Number systems.2IP addresses
An address allocated to a device by the network it connects to, used to identify the device and route data to it.
| Static IP address | Dynamic IP address | |
|---|---|---|
| what | stays the same each time the device connects | allocated each time the device connects, so can change |
| use | servers and websites that must always be found at the same address | most home and mobile devices |
| pros/cons | reliable to find; but more open to hacking and costs more | reuses a limited pool of addresses; free |
| IPv4 | IPv6 | |
|---|---|---|
| size | 32 bits | 128 bits |
| written as | four denary numbers 0–255 separated by dots, e.g. 192.168.0.12 | eight groups of four hex digits separated by colons, e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334 |
| number of addresses | about 4.3 billion – running out | vastly more, enough for every device |
| other | older, still most common | newer; more efficient routing; groups of zeros can be shortened (::) |
MAC vs IP: the MAC address identifies the physical device and is set by the manufacturer; the IP address identifies the device's location on a network and is allocated by the network.
3Routers
- receives data packets and reads the destination IP address;
- sends (forwards) each packet towards its destination, on the local network or to another network;
- can assign (dynamic) IP addresses to devices on the local network;
- connects a local network to the internet (the outside world sees the router's public IP address).
4Exam focus
Key words: NIC; MAC address; manufacturer code; serial code; hexadecimal; IP address; static; dynamic; IPv4; IPv6; router.
Quick self-check
Answer in your head first, then reveal.
To connect to / access a network (1).
48 bits / 12 hex digits (1); first part manufacturer code (1); second part serial code (1).
32-bit vs 128-bit (1); denary with dots vs hex with colons (1).
Static does not change (1); dynamic is allocated each time it connects and may change (1).
Any two: sends data to the correct destination; assigns IP addresses; connects LAN to internet (2).
