Network Hardware · Cambridge syllabus 3.4 · Lesson 1 of 2
Network Interface Cards and MAC Addresses
A computer needs a network interface card (NIC) to connect to a network. Each NIC is given a media access control (MAC) address when it is made. The MAC address identifies that device on a network; it is 48 bits, usually written as six pairs of hexadecimal digits, and is made of a manufacturer code followed by a serial code.
By the end, you can
- Understand that a computer needs a network interface card (NIC) to access a network.
- Understand that a NIC is given a MAC address when it is manufactured.
- Understand what a media access control (MAC) address is and its purpose.
- Describe the structure of a MAC address: a manufacturer code and a serial code.
- Understand why MAC addresses are usually written in hexadecimal.
Network interface cards
To connect to a network, a computer needs a network interface card (NIC). It is the hardware that links the computer to the network, either with a socket for a network cable or with an aerial for a wireless connection. In most modern computers and phones it is built onto the main circuit board rather than being a separate card, but it does the same job.
Every NIC is given a media access control (MAC) address at the point of manufacture. The address is stored in the card itself, so it belongs to that piece of hardware: it stays the same whichever network the device joins, and wherever in the world it is used.
The NIC is what sends and receives data for the computer. When data arrives on the network, the NIC uses the MAC address to recognise which data is meant for this device.
Worth remembering
- A computer needs a network interface card (NIC) to access a network.
- The NIC is given a MAC address when it is manufactured.
- The MAC address belongs to the hardware, so it does not change between networks.
MAC addresses
A MAC address is a unique identifier for a device on a network. Its purpose is to let data be delivered to the right device on a local network: each piece of data is labelled with the MAC address of the device it is for, and each NIC accepts the data with its own address on it.
A MAC address is 48 bits long, which is six bytes. It is made of two parts. The first half is the manufacturer code, which identifies the company that made the NIC; the second half is the serial code, a number the manufacturer gives to that particular card. Together they make the address unique.
MAC addresses are usually written in hexadecimal, as six pairs of hex digits separated by colons or hyphens, such as 00:1B:63:84:45:E6. Here 00:1B:63 is the manufacturer code and 84:45:E6 is the serial code. Hexadecimal is used because 48 bits written in binary would be very long and easy to copy wrongly, while each hex digit stands for exactly four bits, so the address shrinks to twelve digits.
To check an address, count the digits: twelve hex digits of four bits each make 48 bits. A question may also ask you to convert one pair to binary, such as 1B, which is 0001 1011.
Worth remembering
- A MAC address identifies a device so data reaches the right one on a network.
- It is 48 bits: a manufacturer code followed by a serial code.
- Written as six pairs of hex digits, because hex is shorter and easier to read.
Worked example
In the MAC address 00:1B:63:84:45:E6, the first half, 00:1B:63, is the manufacturer code and the second half, 84:45:E6, is the serial code that the manufacturer gave this card.
Practice
Warm-up · not marked
Check your understanding
Answer in your own words, then compare with the worked answer. Nothing here is saved or scored.
Worked answer
Each hex digit is 4 bits, so 12 digits × 4 = 48 bits.
Check your method, units and explanation against it.
Marked practice
Set 1 of 4 · easiest first · Checked as you go, with the worked answer. Sign in or create a free account to save your progress.