Past exam question: 2073 Shrawan, Q7
Open in the Padhaiko appQuestion
What is Data Switching? Clarify the differences between datagram switching and virtual packet switching.
Solution
Definition of Data Switching: Data Switching is the forwarding mechanism by which intermediate network nodes (switches or routers) transfer data arriving on an incoming transmission link to an appropriate outgoing transmission link, steering information along a path from source to destination across a shared mesh network.
Differences Between Datagram and Virtual Circuit Packet Switching:
| Dimension | Datagram Packet Switching (Connectionless) | Virtual Circuit Packet Switching (Connection-Oriented) |
|---|---|---|
| Connection Setup | No setup phase; packets are transmitted immediately | Requires three distinct phases: Setup, Data Transfer, Teardown |
| Packet Routing | Each packet is treated as an independent entity and routed dynamically based on current network conditions | All packets follow the identical pre-established logical path (virtual circuit) |
| Addressing Overhead | High; every packet must carry complete destination and source global IP addresses | Low; packets carry only a short, locally significant Virtual Circuit Identifier (VCI) |
| Packet Sequencing | Packets may arrive out of order and must be reordered by the destination host | In-order delivery is guaranteed because all packets traverse the identical path |
| Effect of Node Failure | Resilient; subsequent packets are automatically re-routed around failed nodes | Fragile; if any intermediate switch on the circuit fails, the connection breaks and must be re-established |
| Congestion / Quality of Service | Difficult to prevent congestion or guarantee QoS | Resources (buffers, bandwidth) can be reserved during setup to ensure strict QoS |
| Examples | Internet IP routing (IPv4/IPv6) | ATM, Frame Relay, MPLS |
Answer:
Data switching is the routing process at intermediate nodes that directs data across interconnected links from source to destination.
- Datagram switching is connectionless: each packet is routed independently with full destination addresses, potentially arriving out of order.
- Virtual Circuit switching is connection-oriented: a logical path is pre-established before data transmission, ensuring all packets arrive in sequence with minimal header overhead.