Skip to content
Computing · JC 2 · Computer Networks and Communication · Semester 2

Network Addressing: IP and MAC Addresses

Students will understand the concepts of IP addresses (IPv4, IPv6) and MAC addresses, and their roles in network communication.

About This Topic

Web Technologies and the Client-Server Model explain how the modern web functions. In the JC 2 syllabus, students explore the interaction between a user's browser (the client) and a remote computer (the server). This includes the role of DNS in translating human-readable URLs into IP addresses and the request-response cycle of the HTTP protocol.

Students also examine the transition from IPv4 to IPv6, a critical move to accommodate the billions of devices now connected to the internet. Understanding the difference between client-side and server-side processing is essential for building efficient web applications. This topic comes alive when students can physically map out the journey of a web request and debate the merits of different network architectures in a student-centered setting.

Key Questions

  1. Differentiate between a MAC address and an IP address in network communication.
  2. Explain the necessity of both logical and physical addresses in a network.
  3. Analyze the implications of the transition from IPv4 to IPv6 for global internet connectivity.

Learning Objectives

  • Compare and contrast the characteristics and functions of MAC addresses and IP addresses in network communication.
  • Explain the necessity of both physical (MAC) and logical (IP) addressing schemes for efficient data transmission.
  • Analyze the technical challenges and benefits associated with the global transition from IPv4 to IPv6.
  • Classify different types of IP addresses (e.g., public, private, loopback) and their typical use cases.

Before You Start

Introduction to Computer Networks

Why: Students need a basic understanding of what a network is and how devices communicate before learning about specific addressing schemes.

Binary and Hexadecimal Number Systems

Why: Understanding binary and hexadecimal is crucial for comprehending the structure and representation of both MAC and IP addresses.

Key Vocabulary

MAC AddressA unique hardware identifier assigned to network interface controllers (NICs) for communication at the data link layer. It is a physical, burned-in address.
IP AddressA numerical label assigned to each device participating in a computer network that uses the Internet Protocol for communication. It is a logical address used for routing.
IPv4The fourth version of the Internet Protocol, using a 32-bit address scheme that supports approximately 4.3 billion unique addresses.
IPv6The latest version of the Internet Protocol, using a 128-bit address scheme to provide a vastly larger number of unique addresses, essential for the growing number of connected devices.
Subnet MaskA number that defines the range of IP addresses available within a network. It separates the network portion from the host portion of an IP address.

Watch Out for These Misconceptions

Common MisconceptionThe browser does all the work in displaying a website.

What to Teach Instead

The browser only handles the presentation; the server does the heavy lifting of data retrieval and business logic. A 'role-play' of a search query helps students see the back-and-forth interaction between the two.

Common MisconceptionDNS is only needed once when you first buy a computer.

What to Teach Instead

DNS is used every single time you type a new URL into your browser. Tracing a web request in real-time shows students that DNS is a constant, invisible part of web browsing.

Active Learning Ideas

See all activities

Real-World Connections

  • Network administrators at companies like Google use their understanding of IP addressing to manage vast networks, ensuring efficient data flow and troubleshooting connectivity issues for millions of users.
  • Cybersecurity analysts investigate network intrusions by examining packet captures, analyzing the source and destination IP and MAC addresses to trace the origin of malicious activity.
  • Internet Service Providers (ISPs) like Singtel and StarHub manage the allocation of IP addresses to their customers, a process that has become increasingly complex with the depletion of IPv4 addresses and the ongoing adoption of IPv6.

Assessment Ideas

Exit Ticket

Provide students with a scenario: 'A device with MAC address AA:BB:CC:11:22:33 sends a data packet to an IP address 192.168.1.10.' Ask them to write one sentence explaining the role of the MAC address and one sentence explaining the role of the IP address in this scenario.

Quick Check

Present students with a list of IP addresses (e.g., 10.0.0.1, 172.16.0.5, 203.0.113.45, ::1). Ask them to identify which are likely private, public, or loopback addresses and briefly explain their reasoning for one example.

Discussion Prompt

Facilitate a class discussion using the prompt: 'Imagine a future where every object, from your toothbrush to a traffic light, has an IP address. What are the biggest challenges and benefits of such a hyper-connected world, considering both IPv4 limitations and IPv6 potential?'

Frequently Asked Questions

What is the main difference between HTTP and HTTPS?
HTTP sends data in plain text, which can be intercepted and read by others. HTTPS (Hypertext Transfer Protocol Secure) uses encryption to protect the data, ensuring privacy and integrity during transmission.
Why did we need to move from IPv4 to IPv6?
IPv4 uses 32-bit addresses, which only allows for about 4.3 billion unique addresses. With the explosion of smartphones and IoT devices, we ran out of addresses. IPv6 uses 128-bit addresses, providing a virtually unlimited supply.
How can active learning help students understand the client-server model?
The client-server model is a conversation. Active learning strategies like simulations allow students to 'play out' this conversation. By acting as the client or the server, they understand the dependency each has on the other and the specific steps required to fulfill a web request.
What is the role of a 'cookie' in web technology?
A cookie is a small piece of data sent from a server and stored on the client's computer. It allows the server to 'remember' the user's state (like a shopping cart or login status) across different requests, as HTTP itself is a stateless protocol.