Skip to content
Computer Science · Grade 11

Active learning ideas

IP Addressing and DNS

Active learning turns abstract networking concepts into concrete experiences. Students see IP addresses and DNS in action as they trace, configure, and visualize network behaviors. Hands-on activities build mental models that static explanations cannot create, making this topic more accessible and memorable.

Ontario Curriculum ExpectationsCS.HS.N.2
25–40 minPairs → Whole Class4 activities

Activity 01

Simulation Game30 min · Pairs

Lab Demo: Discover Your IP

Students access command prompt or terminal to run ipconfig or ifconfig and note their IPv4 and IPv6 addresses. They then ping a partner's device and discuss static versus dynamic assignment. Wrap up with a class chart comparing results.

Explain the purpose of IP addresses and how they are assigned.

Facilitation TipDuring Lab Demo: Discover Your IP, have students work in pairs to compare their public and private IP addresses, noting differences and discussing why they exist.

What to look forPresent students with a list of IP addresses (some valid IPv4, some valid IPv6, some invalid). Ask them to classify each as IPv4, IPv6, or invalid, and briefly explain their reasoning for one of each category.

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
Generate Complete Lesson

Activity 02

Timeline Challenge25 min · Pairs

Timeline Challenge: DNS Resolution Trace

Pairs use nslookup or dig to query domains like google.com, recording the step-by-step server responses. They diagram the hierarchy on paper. Extend by testing a non-existent domain to see error handling.

Analyze the process by which DNS translates human-readable domain names into IP addresses.

Facilitation TipFor the DNS Resolution Trace challenge, provide a pre-captured packet capture file for students who need scaffolding while allowing others to use live tools.

What to look forPose the question: 'Imagine the internet without DNS. Describe two major problems users would face and how the current DNS system solves them.' Facilitate a class discussion, encouraging students to reference specific DNS functions.

RememberUnderstandAnalyzeSelf-ManagementRelationship Skills
Generate Complete Lesson

Activity 03

Simulation Game40 min · Small Groups

Simulation Game: IPv4 Address Crunch

In small groups, assign limited IPv4 addresses to 'devices' represented by cards; run out to show exhaustion. Introduce IPv6 cards for relief. Groups present findings on transition needs.

Differentiate between IPv4 and IPv6, and justify the need for the latter.

Facilitation TipIn the IPv4 Address Crunch simulation, require students to document their address allocation strategy in writing before running the simulation to encourage planning.

What to look forOn an index card, have students write: 1) One reason why IPv6 was developed. 2) The role of a recursive resolver in the DNS process. 3) An example of a device that might use a static IP address.

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
Generate Complete Lesson

Activity 04

Concept Mapping35 min · Small Groups

Concept Mapping: Classroom Network Layout

Individuals scan their local network with tools like Angry IP Scanner, list devices and IPs. Share in small groups to build a collective map, noting DHCP patterns.

Explain the purpose of IP addresses and how they are assigned.

Facilitation TipDuring the Classroom Network Layout mapping, circulate with a colored pen to correct misplaced devices in real time, reinforcing spatial understanding.

What to look forPresent students with a list of IP addresses (some valid IPv4, some valid IPv6, some invalid). Ask them to classify each as IPv4, IPv6, or invalid, and briefly explain their reasoning for one of each category.

UnderstandAnalyzeCreateSelf-AwarenessSelf-Management
Generate Complete Lesson

A few notes on teaching this unit

Teachers should emphasize network fluidity over permanence, using dynamic address examples from the start. Avoid static analogies for DNS, as they often lead to oversimplification. Research shows students learn best when they manipulate addresses and trace queries themselves, rather than passively receiving information. Encourage students to verbalize their observations as they work to strengthen conceptual connections.

By the end of these activities, students should confidently explain how IP addressing and DNS function in real networks. They should compare static and dynamic IP assignment, trace DNS resolution steps, and analyze network layouts with accuracy. Misconceptions will be identified and corrected through direct observation and discussion.


Watch Out for These Misconceptions

  • During Lab Demo: Discover Your IP, watch for students assuming their device's IP address never changes. Redirect them by having them disconnect and reconnect WiFi to observe the new address assignment.

    During Lab Demo: Discover Your IP, ask students to record their device's IP address before and after reconnecting to WiFi. Compare results as a class to demonstrate DHCP lease renewal and address fluidity.

  • During DNS Resolution Trace, watch for students believing DNS queries go to a single central server. Redirect them by tracing the actual query path step-by-step.

    During DNS Resolution Trace, use nslookup commands with the +trace option to show each server in the hierarchy. Have students map the path on paper to visualize delegation and distributed resolution.

  • During IPv4 Address Crunch, watch for students thinking IPv6 only solves address exhaustion. Redirect them by examining simplified headers and security features.

    During IPv4 Address Crunch, pause the simulation to compare IPv4 and IPv6 packet headers side-by-side. Ask students to identify fields that improve efficiency or enable IPsec in IPv6.


Methods used in this brief