PadhaikoAll subjects

Past exam question: 2072 Kartik, Q8(a)

Data Communication · 5 marks

Open in the Padhaiko app

Topic: Intro switched communication network, connection oriented and…

Question

Differentiate between datagram switching and virtual circuit switching technique.

Solution

Comparative Architecture and Routing: Packet switching networks forward data as discrete units called packets using two fundamental operational paradigms: connectionless datagram switching and connection-oriented virtual circuit switching.

Datagram Switching (Connectionless):
Packet 1: Host A ---> Switch 1 ---> Switch 3 ---> Host B
Packet 2: Host A ---> Switch 2 ---> Switch 3 ---> Host B
Packet 3: Host A ---> Switch 1 ---> Switch 4 ---> Host B
(Each packet routed independently; out-of-order delivery possible)

Virtual Circuit Switching (Connection-Oriented):
Call Setup Phase: Host A === [ Fixed Logical Path Reserved: S1-S3 ] === Host B
Data Transfer:    All packets travel along the established VC using short VCIs
Teardown Phase:   Virtual circuit released

Detailed Comparison Table:

FeatureDatagram SwitchingVirtual Circuit Switching
Connection SetupNo connection setup phase; packets sent immediately.Pre-established virtual connection setup phase required before data transfer.
Addressing OverheadEach packet carries complete global source and destination IP addresses (large header).Packets carry only a short local Virtual Circuit Identifier (VCI) tag (small header).
Routing DecisionsIntermediate nodes evaluate routing tables independently for every packet.Route determined once during setup; intermediate nodes forward packets based on VCI translation tables.
Packet SequencingPackets may take different paths and arrive out of order; destination must reassemble.Packets follow identical path and always arrive strictly in sequential order.
Switch Failure EffectRobust: Subsequent packets dynamically reroute around failed switches.Vulnerable: Failure of any intermediate switch terminates the entire virtual circuit.
Resource ReservationNo resource reservation; vulnerable to buffer congestion.Bandwidth and buffers can be reserved during setup for guaranteed Quality of Service (QoS).
Canonical ExampleInternet Protocol (IP), UDP.Asynchronous Transfer Mode (ATM), MPLS, Frame Relay.
Answer:

Datagram switching routes each packet independently using its destination address without setup (packets may arrive out of order), whereas virtual circuit switching establishes a pre-defined logical path during connection setup so all packets follow the same route in sequence.

All past exam questions for Data Communication