PYQ Vault

SSC CGL Tier II Computer Knowledge · Computer Networks

Network Devices, Layers and Media

What switches, gateways and other devices do in a network, which OSI layer handles what, and the basic terms: bandwidth, protocol and transmission media.

Why this matters

11 questions in the Tier II bank, 9 EASY and 2 MODERATE. The switch has been asked five times, so its job (forwarding data inside a LAN by MAC address) is the one fact to be sure of.

Concept 1 of 2: Network devices

A switch connects computers within one network and sends each piece of data only to the computer it is meant for. A gateway connects two different networks that may use different rules, translating between them.

Definition

Key facts:

  • Switch: connects devices in a LAN; filters traffic; forwards by MAC address (OSI layer 2).
  • Layer 3 switch: a switch that can also route between networks.
  • Gateway: joins networks using different models; also called a protocol converter.
  • Hub: sends everything to every port (no filtering).
  • Router: sends packets between networks by IP address.

Diagram · the same message through a hub and a switch

Hub: no filteringAsends to DhubBgets itCgets itDgets itSwitch: filters by MAC addressAsends to DswitchBnot sentCnot sentDgets itA switch connects computers within one network (a LAN).
DeviceFact askedAsked in
SwitchFilters traffic between connected devices2022
GatewayConnects networks on different models2022
GatewayAlso called a protocol converter2022
SwitchLayer 2, forwards by MAC address2023
SwitchConnects computers within a LAN2024
Layer 3 switchForwards packets to the right device in a LAN2024
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

SSC CGL Tier II · 2022 · Tier II (CGL 2022), 3 Mar 2023 · Q148Easy

Example 1 · Computer Networks · Network Devices, Layers and Media

_______ is also known as protocol convertor.

Mixing up a hub and a switch

Both connect computers in a LAN, but only the switch filters traffic and sends data to the one device it is meant for.

Concept 2 of 2: Layers, protocols and media

Networks follow rules (protocols) at several levels, organised in the OSI model's seven layers. Bandwidth is how much data a link can carry each second, and the cable or signal used is the medium.

Definition

Key facts:

  • Protocol: a set of rules at a level of a connection.
  • Bandwidth: data capacity in bits per second.
  • OSI network layer (layer 3): routes packets between networks by logical (IP) address.
  • OSI data link layer (layer 2): moves frames by MAC address.
  • WAN media: fibre optic cable is the common choice.
TermFact askedAsked in
BandwidthCapacity in bits per second2022
ProtocolRules at several levels of a connection2022
Fibre optic cableCommon medium for WANs2024
Network layerRoutes packets by logical address2025
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

SSC CGL Tier II · 2025 · Tier II (CGL 2025), 18 Jan 2026 · Q133Easy

Example 2 · Computer Networks · Network Devices, Layers and Media

In the OSI model, which layer is responsible for routing packets across different networks using logical addressing?

Confusing the network and data link layers

The network layer (3) uses IP addresses to route between networks; the data link layer (2) uses MAC addresses inside one network.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Reference tables (2)

Network devices6 rows
DeviceFact askedAsked in
SwitchFilters traffic between connected devices2022
GatewayConnects networks on different models2022
GatewayAlso called a protocol converter2022
SwitchLayer 2, forwards by MAC address2023
SwitchConnects computers within a LAN2024
Layer 3 switchForwards packets to the right device in a LAN2024
Layers, protocols and media4 rows
TermFact askedAsked in
BandwidthCapacity in bits per second2022
ProtocolRules at several levels of a connection2022
Fibre optic cableCommon medium for WANs2024
Network layerRoutes packets by logical address2025

Watch out for (2)

Test yourself on a real paper

Sit a past SSC CGL Tier II paper, timed and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Sit an SSC CGL Tier II past paper