Skip to content
Computer Science · Class 12 · Computer Networks and Connectivity · Term 1

Networking Devices: Hubs, Switches, Routers

Students will learn about the functions of key networking hardware components such as hubs, switches, and routers.

CBSE Learning OutcomesCBSE: Computer Networks - Evolution of Networking - Class 12

About This Topic

In the CBSE Class 12 Computer Science curriculum, students examine networking devices: hubs, switches, and routers, key to understanding network operations. Hubs function at OSI Layer 1, repeating signals to all ports indiscriminately, which causes collisions and limits bandwidth in multi-device setups. Switches operate at Layer 2, building MAC address tables to send frames only to destination ports, enabling full-duplex communication and higher efficiency. Routers work at Layer 3, using IP addresses and routing protocols to forward packets between distinct networks, such as linking a school LAN to the internet.

This topic from the Computer Networks and Connectivity unit (Term 1) tackles standards on networking evolution. It prompts students to differentiate device roles, trace router packet paths, and forecast issues like broadcast storms from hubs in crowded networks. Mastery supports skills in topology design, fault diagnosis, and performance optimisation, linking to protocols and security.

Active learning suits this topic well. Tools like Cisco Packet Tracer let students assemble virtual setups, dispatch pings, inspect tables, and witness Layer-specific actions. Group simulations reveal real impacts, transforming rote definitions into intuitive grasp and predictive reasoning.

Key Questions

  1. Differentiate between the functions of a hub, a switch, and a router.
  2. Explain how a router directs data packets across different networks.
  3. Predict the impact of using a hub instead of a switch in a busy network.

Learning Objectives

  • Compare the primary functions and operational layers (OSI Model) of hubs, switches, and routers.
  • Explain the process by which a router determines the optimal path for data packets across interconnected networks.
  • Analyze the performance implications of using a hub versus a switch in a network experiencing significant traffic.
  • Classify network devices based on their role in forwarding data at different layers of the OSI model.

Before You Start

Introduction to Computer Networks

Why: Students need a foundational understanding of what a network is and why devices need to communicate before learning about specific hardware that facilitates this.

OSI Model and TCP/IP Model

Why: Understanding the different layers of network communication is crucial for differentiating the functions of hubs, switches, and routers, which operate at distinct layers.

Key Vocabulary

HubA basic networking device that connects multiple devices in a network, broadcasting incoming data to all connected ports. It operates at the Physical Layer (Layer 1) of the OSI model.
SwitchAn intelligent networking device that connects devices and forwards data packets only to the intended destination port based on MAC addresses. It operates at the Data Link Layer (Layer 2) of the OSI model.
RouterA networking device that connects different networks and directs data packets between them using IP addresses and routing tables. It operates at the Network Layer (Layer 3) of the OSI model.
MAC AddressA unique hardware identifier assigned to network interfaces for communications at the Data Link Layer. Switches use MAC addresses to forward frames.
IP AddressA unique numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. Routers use IP addresses to direct packets.

Watch Out for These Misconceptions

Common MisconceptionHubs and switches work identically.

What to Teach Instead

Hubs flood all ports at Layer 1, sparking collisions; switches target via MAC at Layer 2. Simulations in Packet Tracer let students ping multiple devices, see floods versus precision, and self-correct through data logs.

Common MisconceptionRouters merely speed up switches.

What to Teach Instead

Switches manage local traffic; routers handle cross-network routing with IP logic. Role-plays across 'networks' show switches failing subnets, while routing succeeds, clarifying distinctions via experiential failure.

Common MisconceptionHubs suffice for all networks as they are basic.

What to Teach Instead

Basics breed inefficiency via half-duplex broadcasts. Active comparisons measure throughput drops in busy sims, helping students quantify why switches dominate modern LANs.

Active Learning Ideas

See all activities

Real-World Connections

  • Internet Service Providers (ISPs) like Jio and Airtel use vast networks of routers to direct internet traffic from your home or office to websites hosted across the globe.
  • In a typical office building, a switch connects all the computers, printers, and servers within that office's local area network (LAN), allowing them to communicate efficiently.
  • Home Wi-Fi routers combine the functionality of a router, switch, and wireless access point, enabling multiple devices in your house to connect to the internet simultaneously.

Assessment Ideas

Quick Check

Present students with three diagrams, each showing a different device (hub, switch, router) connecting multiple computers. Ask them to label each device and write one sentence explaining its primary function in that specific setup.

Discussion Prompt

Pose this scenario: 'Imagine a small school network with 20 computers and a single server. If you had to choose between using a hub or a switch to connect them, which would you pick and why? What problems might arise if you chose the other device?'

Exit Ticket

On a slip of paper, ask students to write: 1. One key difference between a switch and a router. 2. An example of a situation where a router is essential.

Frequently Asked Questions

What differentiates hubs, switches, and routers in CBSE Class 12?
Hubs broadcast at Physical Layer, causing collisions; switches forward via MAC tables at Data Link Layer for efficiency; routers direct IP packets across networks at Network Layer. CBSE focuses on these for evolution of networking, equipping students to design scalable systems and troubleshoot real setups like school intranets.
How does a router direct data packets across networks?
Routers inspect IP headers, consult routing tables built from protocols like RIP or OSPF, and choose optimal paths. They perform NAT for internet access and fragment packets if needed. In class, this explains wide-area connectivity, contrasting local switch actions, vital for understanding internet backbone.
How can active learning help teach networking devices?
Active methods like Packet Tracer simulations and role-plays make OSI layers tangible. Students build, test, and tweak networks, observing hub collisions or router paths live. Group debriefs build troubleshooting skills, far surpassing diagrams. CBSE-aligned tools foster retention and application to scenarios like Wi-Fi congestion.
Why avoid hubs in busy networks like offices?
Hubs create shared collision domains, halving effective bandwidth under load via CSMA/CD retries. Switches segment traffic per port, boosting speeds. Students predict this via key questions; demos confirm hubs cause 50% drops, justifying upgrades for 10+ devices in modern Ethernet.