Computer Networks · Switching Techniques
Types of Switching: Circuit Switching, Packet Switching, and Message Switching
Overview
Switching is the mechanism used to move data through a network by selecting a path between nodes.
It is classified into three types — circuit switching, packet switching, and message switching — with packet switching further split into virtual circuits and datagrams.
Knowing this classification and where each type sits in the protocol stack is the foundation for studying how data actually travels through a network.
Key concepts
- Switching: the mechanism used to move data through a network by selecting a path between nodes.
- Circuit Switching: one of the three types of switching; it is not performed at the network layer.
- Packet Switching: one of the three types of switching; it is done at the network layer and is divided into two sub-types.
- Virtual Circuits: a sub-type of packet switching.
- Datagrams: a sub-type of packet switching.
- Message Switching: one of the three types of switching; it is done at the network layer.
- Layer placement: switching is generally a network-layer activity, but circuit switching is the exception — it is not done at the network layer.
How it works
- Classify switching into its three types: circuit switching, packet switching, and message switching.
- Within packet switching, split into its two sub-types: virtual circuits and datagrams.
- Study each of these types one by one.
- Before studying switching in detail, note the layer placement: switching is a network-layer activity, except circuit switching, which is not done at the network layer.
Comparison
| Switching Type | Sub-types | Layer note |
|---|---|---|
| Circuit Switching | — | Not done at the network layer |
| Packet Switching | Virtual Circuits, Datagrams | Network layer switching |
| Message Switching | — | Application layer switching |
Revision summary
- Switching has exactly three types: circuit, packet, message.
- Packet switching has exactly two sub-types: virtual circuits and datagrams.
- Switching is a network-layer concept, but circuit switching is not performed at the network layer — this is the key exception.
- Message switching, unlike packet switching, is not network-layer switching; it is store-and-forward of whole messages.
- Do not confuse the three top-level types with the two packet-switching sub-types.
Previous-year exam insights
- Circuit switching reserves dedicated resources (bandwidth/path) during the setup phase before data transfer, whereas packet switching does not reserve resources — packets are forwarded independently and may queue.
Asked inUGC NET 2018 - In circuit switching, data travels over a dedicated path with no store-and-forward delay at intermediate nodes; in message switching (and packet switching) data must be stored and retrieved from memory at each node, adding delay.
Asked inUGC NET 2012 - X.25 is the ITU-T standard for the interface between a DTE and a packet-switched network (packet-switched public data network); X.21 is for circuit-switched digital interfaces, X.3 defines PAD parameters, and X.75 is for internetworking between packet-switched networks.
Asked inUGC NET 2011 - To emulate a datagram (connectionless) service over a connection-oriented network layer, the per-packet overhead fraction is (setup + teardown) / packet size; the minimum packet size is (setup + teardown) / allowed overhead fraction.
Asked inISRO 2018 - Virtual-circuit packet switching has a call setup phase and per-flow state in routers (like circuit switching) but still uses statistical multiplexing and store-and-forward; datagram packet switching has no setup and each packet is routed independently.
- Circuit switching has three phases — circuit establishment, data transfer, and circuit disconnection — and its resources remain dedicated for the whole connection, giving fixed delay but poor utilization for bursty traffic.