Topologies, OSI Model, IP addressing, DNS, and MAC addressing with interactive tools
Grade XII • Computer Science ⏱ ~20 minBrief 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
By the end of this activity, you will be able to:
Network topology defines the physical or logical arrangement of nodes and connections in a network, impacting its cost and reliability.
Select a topology to see its structure, advantages, and disadvantages.
Task 1: Topology Comparison
| Topology | Structure | Advantages | Disadvantages | Use Cases |
|---|---|---|---|---|
| Bus | Single central cable | Simple, cheap | Single point of failure | Small networks, temporary setups |
| Star | All devices connect to central hub | Easy to manage, fault isolation | Hub failure affects all | Modern LANs, office networks |
| Ring | Devices connected in a circle | No collisions, equal access | One break affects all | Token ring networks, campus LANs |
| Mesh | Every device connects to every other | Highly redundant, reliable | Expensive, complex cabling | Critical systems, data centers |
| Tree | Hierarchical star topology | Scalable, organized | Root failure affects all | Large organizations, WANs |
| Hybrid | Combination of topologies | Flexible, customizable | Complex to design | Enterprise networks |
The Open Systems Interconnection (OSI) model standardizes network functions into seven distinct layers to ensure different systems can communicate.
Click on each layer to learn its function and protocols.
Task 2: OSI Layer Functions
| Layer | Function | Protocols/Devices |
|---|---|---|
| Physical | Transmits raw bit stream over physical medium | Ethernet cables, hubs, repeaters |
| Data Link | Error-free transfer of frames between nodes | MAC addresses, switches, bridges |
| Network | Routing and logical addressing (IP) | IP, routers, ICMP |
| Transport | End-to-end connection and reliability | TCP, UDP, ports |
| Session | Session establishment and management | NetBIOS, RPC |
| Presentation | Data translation, encryption, compression | SSL/TLS, JPEG, MPEG |
| Application | User interface and network services | HTTP, FTP, SMTP, DNS |
IP addresses are the logical identifiers that allow data to be routed across networks, organized into classes with specific ranges and masks.
Enter an IP address to analyze its class, subnet mask, and other properties.
Task 3: IP Address Classes
| Class | First Octet Range | Default Subnet Mask | Network Size | Use Case |
|---|---|---|---|---|
| A | 1 - 126 | 255.0.0.0 | 16M hosts | Large organizations |
| B | 128 - 191 | 255.255.0.0 | 65K hosts | Medium organizations |
| C | 192 - 223 | 255.255.255.0 | 254 hosts | Small networks |
| D | 224 - 239 | N/A | Multicast | Multicasting |
| E | 240 - 255 | N/A | Reserved | Experimental/Research |
Task 4: Public vs Private IP Addresses
| Address Type | Definition | Address Ranges | Accessibility |
|---|---|---|---|
| Public IP | Globally routable on Internet | All other addresses | Accessible from anywhere |
| Private IP | Local network use only | 10.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
| Aspect | Static IP | Dynamic IP |
|---|---|---|
| Assignment | Manually configured | Automatically assigned by DHCP |
| Stability | Permanent until changed | Can change over time |
| Administration | Requires manual management | Automated, less management |
| Use Cases | Servers, printers, network devices | Workstations, mobile devices |
| Pros | Reliable, good for services | Easy setup, efficient address use |
| Cons | Configuration overhead | Address can change unexpectedly |
While IP addresses handle logical routing, MAC addresses provide unique physical identification, and DNS translates human-friendly names into numbers.
See how DNS resolves domain names to IP addresses.
www.example.com in browserTask 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 β