- Asked 3/20
- 2075 Asoj · 4 marks
- 2074 Asoj · 5 marks
- 2070 Chaitra · 5 marks
Packet switching
Short answer
In packet switching, a message is split into packets with headers (source, destination, sequence). Each packet is independently routed using store-and-forward at routers, then reassembled in order at the destination. Two approaches: datagram (connectionless) and virtual circuit (connection-oriented).
Explain the operation of packet switching.
Packet switching is a switching method in which a message is divided into small units called packets, each carrying a header (source, destination, sequence number), and the packets are sent through the network independently and then reassembled at the destination. Links are shared by many users on demand (statistical multiplexing). The nodes use store-and-forward: a packet is fully received, checked, queued and then forwarded to the next node.
Operation
- The source splits the message into packets and adds headers.
- Each packet is given to the first router, which stores it in a buffer and checks it for errors.
- The router looks at the destination address (or virtual circuit number) and its routing table and forwards the packet on the best link.
- The process repeats at every router until the packet reaches the destination.
- The destination reorders packets by sequence number and rebuilds the message.
+--R1---R2--+
A -----+ +----- B
+--R3---R4--+
Packets P1,P2,P3 can take different routes
and arrive: P2 P1 P3 -> reordered at B
Two approaches
- Datagram: each packet is routed independently, no setup; packets may arrive out of order (Internet, IP).
- Virtual circuit: a logical path is set up first, and all packets follow it in order (X.25, frame relay, ATM).
Features
- Efficient link use for bursty data; no wasted idle bandwidth.
- Alternative routes if a link fails.
- Delay is variable because of queuing; packets can be lost when buffers overflow.
- Packet header is overhead.
Delay in one hop = transmission time (L/R) + propagation + queuing.
✓ Answer checked by Claude Sonnet 5.5
Related questions
- Circuit vs packet switching · Data Communication, chapter 7 · asked 4×
- Packet vs message switching · Data Communication, chapter 7
- Switching, circuit vs packet, X.25 layers · Data Communication, chapter 7
- Datagram vs virtual circuit switching · Data Communication, chapter 7 · asked 3×
- Circuit vs packet switching · Computer Networks and Security, chapter 2 · asked 3×
- Three-phase SPWM inverter switching instants · Power Electronics, chapter 5 · asked 3×
- Time division switching and space switch · Telecommunications, chapter 4
- Power transistor switching and base drive · Power Electronics, chapter 1