NIC, MAC and IP — getting a device onto a network
Hardware port + hardware address + logical address.
Every networked device has three things that work together.
NIC (Network Interface Card). The hardware that physically connects to the network. Could be a slot card, a USB dongle, or built into the motherboard. Wi-Fi NICs do the same job wirelessly.
MAC address. A unique 48-bit hardware address (12 hex digits, e.g. 00:1A:2B:3C:4D:5E) burned into the NIC at manufacture. Doesn't change. Used to identify the device on the local network — switches forward frames using MAC addresses.
IP address. A LOGICAL address assigned to the device by the network it's on.
- IPv4 = 32 bits (e.g.
192.168.1.5). - IPv6 = 128 bits (much larger address space).
IP addresses CAN change — when you connect to a new Wi-Fi network, you get a new IP. Used to route packets between networks.
Why both? MAC addresses identify the SPECIFIC HARDWARE on the local network; IP addresses identify the device's CURRENT POSITION in the wider internet. Both are needed.
Cambridge tip. Mark scheme often asks for the difference: MAC is FIXED + HARDWARE, IP is LOGICAL + can change. Don't confuse them.
- NIC is the hardware port; MAC is its fixed address.
- IP is the logical / network address; can change.
- Switches use MAC; routers use IP.