LearnViz CompSci
Home / Learn / Computer Networks / MAC Addresses

Beginner Topic 9 of 50 Computer Networks

MAC Addresses

Hardware identifiers burned into network interfaces.

How it works

A MAC address is a 48-bit hardware identifier for a network interface, usually written as six hex pairs like 3C:22:FB:12:AB:90. The first half is the organizationally unique identifier assigned to the manufacturer, and the second part is assigned by the vendor. MAC addresses operate at the data link layer and are used for delivering frames within a local network, whereas IP addresses are used for routing between networks.

Step-by-step walkthrough

  1. A manufacturer burns a unique 48-bit MAC into each network card.
  2. The first half identifies the vendor.
  3. Frames carry the source and destination MAC.
  4. The switch forwards by destination MAC within the LAN.
  5. MACs are used on one hop only, IP addresses are end to end.

Where it is used

Switches learn MAC addresses to forward frames, DHCP servers and Wi-Fi access controls identify devices by them, and ARP maps IPs to MACs.

Common pitfall

MAC addresses can be changed or spoofed, so they are not safe for authentication. Phones randomize them for privacy, which breaks tracking-based features. Duplicates on a LAN cause confusing faults. They only matter within one broadcast domain, as routers replace them at each hop.

Where it fits in the course

MAC Addresses is topic 9 of 50 in Computer Networks, rated Beginner. It follows Subnetting. The next topic is Ethernet.

Practice and explore

How to study this topic

  1. Read the explanation above and restate the definition in your own words.
  2. Open the interactive lesson and answer its mini quiz.
  3. Read the common pitfall, then write a short example that avoids it.
  4. Check your understanding in the Computer Networks quiz, and revisit the topic if you miss a question.

Frequently asked questions

What is MAC Addresses?
Hardware identifiers burned into network interfaces. It belongs to Computer Networks and is a beginner-level topic.
Where do people use MAC Addresses?
Switches learn MAC addresses to forward frames, DHCP servers and Wi-Fi access controls identify devices by them, and ARP maps IPs to MACs.
What is the most common mistake with MAC Addresses?
MAC addresses can be changed or spoofed, so they are not safe for authentication.
What should I learn before this topic?
Start with Subnetting, the topic just before it in Computer Networks.
How can I practice it?
Answer the mini quiz in the interactive lesson, then take the Computer Networks quiz.
Is MAC Addresses hard to learn?
It is a Beginner topic, so it works as an entry point. If the terms are new, read the explanation twice and try the visualizer before the quiz.
How long does it take to learn MAC Addresses?
Most learners can read the explanation and finish the interactive lesson in under an hour. Fluency comes from applying the idea, so plan a few short practice sessions with the quiz.
Which topics are related to MAC Addresses?
Subnetting, Ethernet, IPv4 vs IPv6 are closely connected. The full list is in the related topics section of this page.
What should I study after MAC Addresses?
Continue with Ethernet, the next topic in Computer Networks.

Related topics