Activity: Network Addressing & Protocols

Topologies, OSI Model, IP addressing, DNS, and MAC addressing with interactive tools

Grade XII • Computer Science ⏱ ~20 min

Brief Intro β€” Network Addressing & Protocols

Behind every click on a website lies a complex system of rules and addresses that ensure your data reaches the right destination. From the physical cables to the high-level protocols, network addressing and standard models like OSI provide the language that computers use to talk to each other.

In this activity, you'll explore network topologies, the seven layers of the OSI model, and how IP addresses and DNS work together to navigate the global internet.

Prerequisites

Objectives Learning Goals & Outcomes

By the end of this activity, you will be able to:

Part 1 Network Topologies

Network topology defines the physical or logical arrangement of nodes and connections in a network, impacting its cost and reliability.

Interactive Simulator: Topology Explorer

Select a topology to see its structure, advantages, and disadvantages.

🚌
Bus Topology
All devices connected to a central cable
Structure: All devices connected to a single central cable (backbone).
Advantages: Simple, inexpensive, easy to install for small networks.
Disadvantages: Single point of failure, limited cable length, difficult troubleshooting.

Task 1: Topology Comparison

TopologyStructureAdvantagesDisadvantagesUse Cases
BusSingle central cableSimple, cheapSingle point of failureSmall networks, temporary setups
StarAll devices connect to central hubEasy to manage, fault isolationHub failure affects allModern LANs, office networks
RingDevices connected in a circleNo collisions, equal accessOne break affects allToken ring networks, campus LANs
MeshEvery device connects to every otherHighly redundant, reliableExpensive, complex cablingCritical systems, data centers
TreeHierarchical star topologyScalable, organizedRoot failure affects allLarge organizations, WANs
HybridCombination of topologiesFlexible, customizableComplex to designEnterprise networks
Part 2 OSI Reference Model

The Open Systems Interconnection (OSI) model standardizes network functions into seven distinct layers to ensure different systems can communicate.

Interactive Simulator: OSI Layer Explorer

Click on each layer to learn its function and protocols.

7
Application Layer
6
Presentation Layer
5
Session Layer
4
Transport Layer
3
Network Layer
2
Data Link Layer
1
Physical Layer

Task 2: OSI Layer Functions

LayerFunctionProtocols/Devices
PhysicalTransmits raw bit stream over physical mediumEthernet cables, hubs, repeaters
Data LinkError-free transfer of frames between nodesMAC addresses, switches, bridges
NetworkRouting and logical addressing (IP)IP, routers, ICMP
TransportEnd-to-end connection and reliabilityTCP, UDP, ports
SessionSession establishment and managementNetBIOS, RPC
PresentationData translation, encryption, compressionSSL/TLS, JPEG, MPEG
ApplicationUser interface and network servicesHTTP, FTP, SMTP, DNS
Part 3 IP Addressing

IP addresses are the logical identifiers that allow data to be routed across networks, organized into classes with specific ranges and masks.

Interactive Simulator: IP Address Analyzer

Enter an IP address to analyze its class, subnet mask, and other properties.

IP Address: 192.168.1.10
Class: C
Default Subnet Mask: 255.255.255.0
Type: Private
Network Address: 192.168.1.0
Broadcast Address: 192.168.1.255

Task 3: IP Address Classes

ClassFirst Octet RangeDefault Subnet MaskNetwork SizeUse Case
A1 - 126255.0.0.016M hostsLarge organizations
B128 - 191255.255.0.065K hostsMedium organizations
C192 - 223255.255.255.0254 hostsSmall networks
D224 - 239N/AMulticastMulticasting
E240 - 255N/AReservedExperimental/Research

Task 4: Public vs Private IP Addresses

Address TypeDefinitionAddress RangesAccessibility
Public IPGlobally routable on InternetAll other addressesAccessible from anywhere
Private IPLocal network use only10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
Not routable on Internet

Task 5: Static vs Dynamic IP Assignment

AspectStatic IPDynamic IP
AssignmentManually configuredAutomatically assigned by DHCP
StabilityPermanent until changedCan change over time
AdministrationRequires manual managementAutomated, less management
Use CasesServers, printers, network devicesWorkstations, mobile devices
ProsReliable, good for servicesEasy setup, efficient address use
ConsConfiguration overheadAddress can change unexpectedly
Part 4 DNS and MAC Addressing

While IP addresses handle logical routing, MAC addresses provide unique physical identification, and DNS translates human-friendly names into numbers.

Interactive Simulator: DNS Resolution Visualizer

See how DNS resolves domain names to IP addresses.

1
User enters www.example.com in browser
2
Computer checks local DNS cache
3
If not cached, query goes to DNS resolver (ISP)
4
DNS resolver queries root server (.)
5
Root server directs to TLD server (.com)
6
TLD server directs to authoritative server (example.com)
7
Authoritative server returns IP address
8
IP address is cached and returned to browser

Task 6: DNS (Domain Name System)

Task 7: MAC Address

Task 8: Subnet Mask and Network Address

Subnet Mask: Defines which portion of IP address is network vs host portion

Network Address: First address in subnet (all host bits = 0)

Broadcast Address: Last address in subnet (all host bits = 1)

Example: For IP 192.168.1.10 with mask 255.255.255.0:

Ready to test your knowledge?

Take the Assessment β†’