Why Do Devices Need Addresses?

Think about the postal system. Every house has a unique address so that letters and parcels can be delivered to the correct location. Without addresses, the postal service would have no way of knowing where to send your mail. Computer networks face exactly the same problem — when one device wants to send data to another, it needs a way to identify the destination. This is where IP addresses and MAC addresses come in.

Every device connected to a network — your phone, laptop, smart TV, games console, even your smart fridge — needs at least one unique identifier so that data can be routed to it correctly. In fact, most devices have two types of address: an IP address for communication across networks (like the internet), and a MAC address for communication within a local network.

In this topic you will learn:

Key Concept: Network Addresses An IP address is a unique identifier assigned to a device on a network, used to route data across networks (including the internet). A MAC address is a unique hardware identifier burned into a device’s network interface card, used to deliver data within a local network. Together, they ensure data reaches the correct device.

IPv4 — Internet Protocol Version 4

The most widely used version of IP addresses is IPv4 (Internet Protocol version 4). IPv4 has been the backbone of internet addressing since the 1980s, and the vast majority of internet traffic still uses it today.

How IPv4 Addresses Work

An IPv4 address is a 32-bit number. This means it is made up of 32 binary digits (ones and zeros). However, writing out 32 bits every time would be impractical for humans, so IPv4 addresses are displayed in a more readable format called dotted decimal notation.

In dotted decimal notation, the 32 bits are divided into four groups of 8 bits. Each group of 8 bits is called an octet. Each octet is converted from binary to a decimal number between 0 and 255, and the four octets are separated by dots (full stops).

IPv4 Address Structure

  Binary:    11000000 . 10101000 . 00000001 . 00000001
  Decimal:      192   .   168    .    1     .    1

  Format:    [octet1] . [octet2] . [octet3] . [octet4]
  Range:      0-255   .  0-255   .  0-255   .  0-255

  Examples:  192.168.1.1    (common home router address)
             10.0.0.5       (private network address)
             8.8.8.8        (Google's public DNS server)
             172.16.0.1     (private network address)
        

The IPv4 Exhaustion Problem

Because IPv4 uses 32 bits, the total number of possible unique addresses is 232 = approximately 4.3 billion addresses. When IPv4 was designed in the early 1980s, 4.3 billion seemed more than enough — the internet was a small research network with only a few hundred computers. Nobody imagined that billions of smartphones, tablets, laptops, servers, smart devices, and IoT sensors would all need unique addresses.

Today, with over 15 billion internet-connected devices worldwide, we have essentially run out of IPv4 addresses. The last blocks of IPv4 addresses were allocated in 2011. This shortage is known as IPv4 address exhaustion, and it is the primary reason IPv6 was developed.

Common Mistake: Students sometimes write that each octet in an IPv4 address can range from 0 to 256. This is incorrect — the range is 0 to 255 (which is 256 possible values: 0, 1, 2, … 255). The maximum value of an 8-bit binary number is 11111111, which equals 255 in decimal.
Key Concept: IPv4 IPv4 addresses are 32-bit numbers written as four octets in dotted decimal notation (e.g., 192.168.1.1). Each octet ranges from 0 to 255. IPv4 provides approximately 4.3 billion unique addresses, but these have been exhausted due to the massive growth of internet-connected devices.

IPv6 — Internet Protocol Version 6

IPv6 was created specifically to solve the IPv4 address exhaustion problem. It uses a vastly larger address space that can accommodate the growth of the internet for the foreseeable future.

How IPv6 Addresses Work

An IPv6 address is a 128-bit number — four times the length of an IPv4 address. It is written as eight groups of four hexadecimal digits, separated by colons.

IPv6 Address Structure

  Format:   [group1]:[group2]:[group3]:[group4]:[group5]:[group6]:[group7]:[group8]

  Example:  2001:0db8:85a3:0000:0000:8a2e:0370:7334

  Each group: 4 hexadecimal digits (0000 to ffff)
  Total:      8 groups x 4 hex digits = 32 hex digits = 128 bits

  Simplified: 2001:db8:85a3::8a2e:370:7334
  (Leading zeros in each group can be omitted.
   Consecutive groups of all zeros can be replaced with ::)
        

The Scale of IPv6

With 128 bits, IPv6 provides 2128 possible addresses. That is approximately 340 undecillion (340,282,366,920,938,463,463,374,607,431,768,211,456) unique addresses. To put this in perspective, there are enough IPv6 addresses to assign billions of addresses to every grain of sand on Earth. For all practical purposes, IPv6 provides an effectively unlimited supply of addresses.

Why Is IPv6 Adoption Slow?

Despite its advantages, IPv6 adoption has been gradual. Many existing systems and devices only support IPv4, and transitioning an entire network to IPv6 requires significant investment. Technologies like NAT (Network Address Translation) have helped extend the life of IPv4 by allowing many devices to share a single public IPv4 address. However, IPv6 adoption continues to grow steadily, and major companies like Google, Facebook, and Amazon fully support it.

Key Concept: IPv6 IPv6 addresses are 128-bit numbers written as eight groups of four hexadecimal digits separated by colons (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334). IPv6 provides approximately 340 undecillion addresses — effectively unlimited — and was created to solve the problem of IPv4 address exhaustion.

IPv4 vs IPv6 Comparison

This table summarises the key differences between IPv4 and IPv6. You should be able to describe these differences clearly in the exam.

FeatureIPv4IPv6
Address length 32 bits 128 bits
Format 4 octets in dotted decimal (e.g., 192.168.1.1) 8 groups of 4 hex digits separated by colons (e.g., 2001:0db8:85a3::8a2e:0370:7334)
Address space ~4.3 billion (232) addresses ~340 undecillion (2128) addresses
Status Addresses exhausted; still widely used Adoption growing; effectively unlimited supply
Example 192.168.1.1 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Notation Decimal numbers separated by dots Hexadecimal numbers separated by colons
NAT required? Often needed to conserve addresses Not needed — enough addresses for every device
Exam Tip A common exam question asks you to “compare IPv4 and IPv6.” Make sure you cover: the number of bits (32 vs 128), the format (dotted decimal vs hexadecimal with colons), the size of the address space (4.3 billion vs effectively unlimited), and why IPv6 was created (IPv4 exhaustion). Giving a specific example of each format will earn extra clarity marks.

Static vs Dynamic IP Addresses

IP addresses can be assigned to devices in two different ways: statically (permanently) or dynamically (temporarily). The method used depends on the purpose of the device and the needs of the network.

Static IP Addresses

A static IP address is one that is permanently assigned to a device. It never changes, regardless of how many times the device connects or disconnects from the network. Static IPs are manually configured by a network administrator.

Devices that typically use static IP addresses:

Dynamic IP Addresses

A dynamic IP address is one that is automatically assigned to a device each time it connects to the network. The address may change each time the device reconnects. Dynamic IPs are assigned by a DHCP server (Dynamic Host Configuration Protocol).

How DHCP works: When a device connects to a network, it sends a request to the DHCP server. The DHCP server selects an available IP address from its pool of addresses and “leases” it to the device for a set period of time. When the lease expires (or the device disconnects), the address is returned to the pool and can be assigned to a different device.

Devices that typically use dynamic IP addresses:

Advantages and Disadvantages

TypeAdvantagesDisadvantages
Static IP
  • Address never changes — always reachable
  • Easier to set up remote access and port forwarding
  • Essential for hosting services (websites, email, etc.)
  • Must be configured manually — time-consuming
  • Wastes addresses — reserved even when device is off
  • Less secure — a fixed target is easier to attack
Dynamic IP
  • Assigned automatically — no manual configuration
  • Efficient use of addresses — only active devices use an address
  • More secure — changing address is harder to target
  • Address may change — harder to host services
  • Requires a DHCP server on the network
  • Brief interruption possible when a lease expires and renews
Exam Tip If an exam question asks when you would use a static IP address, always relate it to devices that need to be found reliably — servers, printers, routers. For dynamic IPs, emphasise DHCP (the protocol that assigns them) and the fact that addresses are reused efficiently from a shared pool.

Public vs Private IP Addresses

Not all IP addresses are the same. There is an important distinction between public and private IP addresses, and understanding this difference is essential for GCSE Computer Science.

Public IP Addresses

A public IP address is an address that is unique across the entire internet. It is assigned to your network by your ISP (Internet Service Provider) and is used to identify your network on the global internet. No two devices on the internet can have the same public IP address at the same time.

When you visit a website, the web server sees your public IP address as the “return address” for sending the web page data back to you. Your home router typically has one public IP address that represents your entire household on the internet.

Private IP Addresses

A private IP address is an address used within a local area network (LAN) only. Private addresses are not routable on the internet — they cannot be used to communicate directly with devices outside the local network. Multiple different local networks around the world can use the same private address ranges without conflict, because these addresses are never exposed to the public internet.

The following address ranges are reserved for private use:

RangeFromToCommon Use
10.x.x.x10.0.0.010.255.255.255Large organisations and corporate networks
172.16.x.x – 172.31.x.x172.16.0.0172.31.255.255Medium-sized networks
192.168.x.x192.168.0.0192.168.255.255Home and small office networks

NAT — Network Address Translation

If private IP addresses cannot be used on the internet, how do devices on a home network access websites and online services? The answer is NAT (Network Address Translation).

NAT is performed by the router. When a device on the local network (e.g., 192.168.1.5) sends data to the internet, the router replaces the private source IP address with its own public IP address before forwarding the data. When the response comes back, the router translates the public address back to the correct private address and delivers the data to the right device. This allows many devices to share a single public IP address.

How NAT Works

  Your Phone (192.168.1.5)  ---+
                               |
  Your Laptop (192.168.1.10) --+---> Router ---> Internet ---> Web Server
                               |   (NAT)        (203.0.113.50)
  Smart TV (192.168.1.15)   ---+   Public IP:
                                   86.42.7.201

  Outgoing: Router replaces 192.168.1.5 with 86.42.7.201
  Incoming: Router replaces 86.42.7.201 with 192.168.1.5

  The web server only sees 86.42.7.201 -- it never sees the
  private addresses. All three devices share one public IP.
        
Common Mistake: Students sometimes say that every device has its own public IP address. In most home networks, all devices share a single public IP address assigned to the router. Each device has a unique private IP address within the LAN, and the router uses NAT to translate between private and public addresses.
Key Concept: Public vs Private IP Public IP addresses are globally unique, assigned by your ISP, and used on the internet. Private IP addresses (10.x.x.x, 172.16-31.x.x, 192.168.x.x) are used within a LAN and are not routable on the internet. NAT (performed by the router) translates between private and public addresses, allowing many devices to share one public IP.

MAC Addresses

While IP addresses identify devices at the network layer (for routing across networks), MAC addresses identify devices at the data link layer (also called the Network Access layer in the TCP/IP model). A MAC address is used to deliver data to the correct device within a local network.

What Is a MAC Address?

A MAC address (Media Access Control address) is a 48-bit unique identifier that is permanently burned into the hardware of a device’s NIC (Network Interface Card) by the manufacturer during production. Every NIC in the world — whether it is a Wi-Fi adapter, an Ethernet port, or a Bluetooth chip — has a unique MAC address assigned at the factory.

MAC Address Format

A MAC address is written as six pairs of hexadecimal digits, separated by colons (or sometimes hyphens). Each pair represents one byte (8 bits), giving a total of 48 bits.

MAC Address Structure

  Format:    XX:XX:XX:YY:YY:YY
             |       | |       |
             +---+---+ +---+---+
                 |         |
                OUI     Device
           (manufacturer) (serial)

  Example:   A1:B2:C3:D4:E5:F6

  First 3 pairs (A1:B2:C3) = OUI (Organisationally Unique Identifier)
    - Identifies the MANUFACTURER (e.g., Apple, Intel, Samsung)
    - Assigned by the IEEE (Institute of Electrical and Electronics Engineers)

  Last 3 pairs (D4:E5:F6) = Device Identifier
    - A unique serial number for that specific device
    - Assigned by the manufacturer

  Total combinations: 2^48 = 281,474,976,710,656 (over 281 trillion)
        

Key Properties of MAC Addresses

How MAC Addresses Are Used

When data arrives at a local network, it needs to be delivered to the correct device on that network. The router knows the destination IP address, but to physically deliver the data to the right NIC on the local network, it needs the MAC address. The ARP (Address Resolution Protocol) is used to map IP addresses to MAC addresses within a LAN. The router broadcasts an ARP request asking “Who has IP address 192.168.1.5?” and the device with that IP responds with its MAC address.

Key Concept: MAC Addresses A MAC address is a 48-bit hardware identifier burned into a device’s NIC by the manufacturer. It is written as six pairs of hex digits (e.g., A1:B2:C3:D4:E5:F6). The first three pairs identify the manufacturer (OUI) and the last three pairs are a unique device serial. MAC addresses are permanent, globally unique, and used at the Data Link layer to deliver data within a local network.
Exam Tip Students often confuse IP and MAC addresses. Remember: an IP address is like a postal address (it tells the network which building to deliver to and can change if you move), while a MAC address is like a name (it is permanently assigned to you and identifies you specifically). IP addresses route data across the internet; MAC addresses deliver data to the correct device within a local network.

IP Address vs MAC Address Comparison

Understanding the differences between IP and MAC addresses is a frequently tested topic. This table provides a clear comparison.

FeatureIP AddressMAC Address
OSI / TCP/IP layer Network layer (Layer 3) / Internet layer Data Link layer (Layer 2) / Network Access layer
Scope Global — used to route data across networks and the internet Local — used to deliver data within a single LAN
Format IPv4: 4 octets in decimal (e.g., 192.168.1.1)
IPv6: 8 groups of 4 hex digits (e.g., 2001:0db8::1)
6 pairs of hex digits (e.g., A1:B2:C3:D4:E5:F6)
Length 32 bits (IPv4) or 128 bits (IPv6) 48 bits
Assignment Assigned by software — configured manually (static) or by DHCP (dynamic) Assigned by hardware — burned into the NIC at manufacture
Changeable? Yes — can change when connecting to different networks or by reconfiguration No — permanently set in hardware (though can be temporarily spoofed)
Used by Routers (to forward packets across networks) Switches (to forward frames within a local network)
Analogy A postal address (where you live, can change if you move) A person’s name (permanently identifies you)
Common Mistake: Some students say MAC addresses are used “on the internet.” This is incorrect. MAC addresses operate only within a local network. When a packet leaves your local network and travels across the internet, routers use IP addresses to forward it. The MAC address in the packet’s frame header changes at every hop (each router replaces it with the MAC address of the next router), but the IP address remains constant from source to destination.

Test Your Knowledge

Try these interactive exercises to check your understanding of IP and MAC addresses. Read each question carefully and think about your answer before clicking.

Exercise 1: IP or MAC? Address Identifier

Look at the address shown below and identify whether it is an IPv4, IPv6, or MAC address.

Score: 0 / 0

Exercise 2: IP Address Concepts Quiz

Test your knowledge of IP addressing concepts including static/dynamic, public/private, IPv4/IPv6, and MAC addresses.

Score: 0 / 0

Exercise 3: True or False

Read each statement about IP and MAC addresses and decide whether it is True or False.

Score: 0 / 0

Practice Questions

Click on each question to reveal the answer. Try to answer in your head or on paper first before checking!

Q1: Define the term “IP address” and explain its purpose.

Answer: An IP address (Internet Protocol address) is a unique numerical identifier assigned to every device connected to a network. Its purpose is to identify the device on the network so that data can be routed to the correct destination. It functions like a postal address for computers — just as a letter needs a delivery address and a return address, every data packet needs a source IP and destination IP address so that routers know where to forward it and the recipient knows where to send a reply. IP addresses work at the Network layer (Internet layer in the TCP/IP model).

Q2: Compare IPv4 and IPv6. Give two differences between them.

Answer: Difference 1 — Address length: IPv4 addresses are 32 bits long, providing approximately 4.3 billion unique addresses. IPv6 addresses are 128 bits long, providing approximately 340 undecillion unique addresses (effectively unlimited). Difference 2 — Format: IPv4 addresses are written as four decimal numbers (octets) separated by dots, e.g., 192.168.1.1. IPv6 addresses are written as eight groups of four hexadecimal digits separated by colons, e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334. IPv6 was developed because IPv4’s address space has been exhausted.

Q3: Explain the difference between a static and a dynamic IP address. Give one example of a device that would use each type.

Answer: A static IP address is permanently assigned to a device and never changes. It is configured manually by a network administrator. Example: a web server needs a static IP so that it can always be found at the same address. A dynamic IP address is automatically assigned by a DHCP server each time a device connects to the network. The address may change between connections. Example: a smartphone connecting to Wi-Fi receives a dynamic IP because it does not need to be at a fixed address. Dynamic addressing is more efficient because addresses from the pool are only used while a device is connected.

Q4: What is the difference between a public and a private IP address? Name one private IP address range.

Answer: A public IP address is globally unique and is used to identify a device (or network) on the internet. It is assigned by the ISP. A private IP address is used within a local area network (LAN) only and is not routable on the internet. Multiple networks around the world can reuse the same private address ranges without conflict. One reserved private range is 192.168.0.0 to 192.168.255.255 (commonly written as 192.168.x.x). Other ranges include 10.x.x.x and 172.16.x.x to 172.31.x.x. NAT (Network Address Translation) is used by the router to translate between private and public addresses.

Q5: Define the term “MAC address” and explain how it differs from an IP address.

Answer: A MAC address (Media Access Control address) is a 48-bit unique identifier that is permanently burned into the hardware of a device’s Network Interface Card (NIC) by the manufacturer. It is written as six pairs of hexadecimal digits separated by colons (e.g., A1:B2:C3:D4:E5:F6). The first three pairs identify the manufacturer (OUI) and the last three are a unique device serial. It differs from an IP address in several ways: (1) a MAC address is permanent (set in hardware) while an IP address can change; (2) a MAC address operates at the Data Link layer for local delivery, while an IP address operates at the Network layer for routing across networks; (3) MAC addresses are used within a LAN, while IP addresses are used across the internet.

Q6: Explain what NAT is and why it is needed.

Answer: NAT (Network Address Translation) is a technique performed by a router that translates between private IP addresses (used within a LAN) and the public IP address (used on the internet). When a device on a local network (e.g., 192.168.1.5) sends data to the internet, the router replaces the private source IP with its own public IP address. When the response returns, the router translates the public address back to the correct private address. NAT is needed because: (1) private IP addresses are not routable on the internet, so they must be translated to a public address; (2) it allows many devices to share a single public IP address, which helps conserve the limited supply of IPv4 addresses; (3) it provides a degree of security by hiding internal network addresses from the internet.

Q7: A company has 50 desktop computers and 3 servers. Explain which devices should use static IP addresses and which should use dynamic, giving reasons.

Answer: The 3 servers should use static IP addresses because they need to be reliably reachable at the same address at all times. Other devices and users on the network need to know the server’s address to connect to shared files, printers, databases, or web services. If a server’s IP changed, clients would lose their connection. The 50 desktop computers should use dynamic IP addresses assigned by a DHCP server because: (1) it would be impractical and time-consuming to manually configure 50 static addresses; (2) dynamic addressing is more efficient — if some desktops are not in use, their addresses can be reassigned; (3) DHCP makes it easy to add new computers or change network settings centrally without touching each machine individually.

Q8: The MAC address 3C:22:FB:91:A0:77 is found on a laptop’s Wi-Fi adapter. Identify which part is the OUI and what it represents. Explain one property of MAC addresses.

Answer: The OUI is the first three pairs: 3C:22:FB. OUI stands for Organisationally Unique Identifier and it identifies the manufacturer of the network interface card. It is assigned by the IEEE (Institute of Electrical and Electronics Engineers). The remaining three pairs (91:A0:77) are a unique serial number assigned by that manufacturer to this specific device. One key property of MAC addresses is that they are permanent — the address is burned into the NIC hardware during manufacture and does not change when the device connects to different networks. Unlike IP addresses, which can be reassigned, a MAC address stays the same throughout the device’s lifetime.

Key Vocabulary

This table summarises the essential terms for this topic. Use it for revision and to check your understanding.

TermDefinition
IP addressA unique numerical identifier assigned to a device on a network, used to route data to the correct destination across networks and the internet
IPv4Internet Protocol version 4 — uses 32-bit addresses written as four decimal octets separated by dots (e.g., 192.168.1.1), providing approximately 4.3 billion addresses
IPv6Internet Protocol version 6 — uses 128-bit addresses written as eight groups of four hex digits separated by colons, providing an effectively unlimited address space
OctetA group of 8 bits. In IPv4, the 32-bit address is divided into four octets, each representing a decimal value from 0 to 255
Static IP addressAn IP address that is permanently and manually assigned to a device; it does not change between connections
Dynamic IP addressAn IP address that is automatically assigned by a DHCP server each time a device connects; it may change between connections
DHCPDynamic Host Configuration Protocol — a protocol that automatically assigns IP addresses to devices from a pool of available addresses
Public IP addressA globally unique IP address assigned by an ISP, used to identify a device or network on the internet
Private IP addressAn IP address used within a LAN only, not routable on the internet (ranges: 10.x.x.x, 172.16-31.x.x, 192.168.x.x)
NATNetwork Address Translation — a technique used by routers to translate between private IP addresses on a LAN and the public IP used on the internet
MAC addressMedia Access Control address — a 48-bit hardware identifier burned into a device’s NIC by the manufacturer, written as six pairs of hex digits (e.g., A1:B2:C3:D4:E5:F6)
NICNetwork Interface Card — the hardware component in a device that enables it to connect to a network (e.g., Wi-Fi adapter, Ethernet port)
OUIOrganisationally Unique Identifier — the first three pairs of a MAC address, identifying the manufacturer of the NIC
ARPAddress Resolution Protocol — used to map IP addresses to MAC addresses within a local network so data can be delivered to the correct device
ISPInternet Service Provider — a company that provides internet access and assigns public IP addresses to customers
IPv4 exhaustionThe depletion of available IPv4 addresses, caused by the massive growth of internet-connected devices beyond the 4.3 billion address limit

How to Succeed in the Exam

Exam Tip: Recognise Address Formats You must be able to identify an address as IPv4, IPv6, or MAC by its format. IPv4: four decimal numbers (0–255) separated by dots. IPv6: eight groups of four hex digits separated by colons. MAC: six pairs of two hex digits separated by colons. If a question shows you an address and asks what type it is, look at the separators (dots vs colons) and the format (decimal octets vs hex groups vs hex pairs).
Exam Tip: Know When Static vs Dynamic Is Appropriate A common scenario question gives you a network setup and asks which devices should have static or dynamic IPs. Servers, printers, and routers need static (they must always be reachable). User devices like laptops and phones use dynamic (assigned by DHCP, more efficient). Always state the reason, not just the type.
Exam Tip: Public/Private and NAT Exam boards love questions about public vs private IPs and NAT. Remember: the router is the boundary — devices inside the LAN have private addresses, the router has a public address facing the internet, and NAT translates between them. Be able to name at least one private range (192.168.x.x is the easiest to remember).
Exam Tip: IP vs MAC — Layer and Scope If asked to compare IP and MAC addresses, always mention: (1) the layer they operate at (Network vs Data Link), (2) their scope (global/internet vs local/LAN), (3) how they are assigned (software/DHCP vs hardware/manufacturer), and (4) whether they are changeable (yes vs no). The postal address vs name analogy is helpful for explaining the difference.
Exam Tip: MAC Address Structure If asked about the structure of a MAC address, state that it is 48 bits written as six pairs of hex digits separated by colons. The first three pairs are the OUI (identifying the manufacturer) and the last three pairs are the device serial number. Mention that it is burned into the NIC at manufacture and is unique worldwide.

Past Paper Questions

Try these exam-style questions, then click to reveal the mark scheme answer.

Explain the difference between an IP address and a MAC address. [4] marks

Mark scheme:

  • IP address is a logical address assigned by the network (1)
  • IP address can change when connecting to different networks (1)
  • MAC address is a physical address permanently assigned to the network interface card (NIC) by the manufacturer (1)
  • MAC address cannot be changed (1)
Explain one difference between IPv4 and IPv6 addressing. [2] marks

Mark scheme:

  • IPv4 uses 32 bits / provides approximately 4.3 billion addresses (1)
  • IPv6 uses 128 bits / provides a vastly larger number of addresses to accommodate the growing number of internet-connected devices (1)

IP and MAC Addresses in Your Daily Life

Now that you understand IP and MAC addresses, you can appreciate the invisible system of identification that makes every online activity possible. Consider these everyday scenarios:

Challenge yourself: On your home computer, try opening the command prompt (Windows) or terminal (Mac/Linux) and typing ipconfig (Windows) or ifconfig (Mac/Linux). Can you find your device’s private IP address and MAC address? Can you identify which private address range your home network uses? Try visiting a website like “whatismyipaddress.com” to see your public IP — notice how it is different from your private IP. This is NAT in action!

Final Thought IP addresses and MAC addresses are the foundation of network communication. Every time you send a message, load a web page, or stream a video, these two types of address work together to ensure your data reaches the right destination. IP addresses handle the big picture — routing data across the globe. MAC addresses handle the last step — delivering data to the exact device on the local network. Understanding how they work, how they differ, and why both are needed is essential for GCSE Computer Science and for making sense of the connected world around you.