2078 8

BIT101 ยท 2078 ยท 5 marks

Define a packet. Explain the working of the packet switching technique.

Define a packet. Explain the working of the packet switching technique. [5]

Introduction to Information TechnologyChapter 7: Data Transmission and SwitchingPacket definition and structure

Quick answer

A packet is a small unit of data that is broken down from a larger message for transmission across a network.

Packet Switching

Definition of a Packet

A packet is a small unit of data that is broken down from a larger message for transmission across a network. Each packet contains:

  • Header - source address, destination address, sequence number, and control information
  • Payload (Data) - the actual chunk of the original message
  • Trailer - error-checking information (e.g., CRC)

Packets from the same message may travel independently through the network and are reassembled at the destination.


Packet Switching Technique

Packet switching is a data transmission method in which a message is divided into smaller units called packets, each of which is transmitted independently through the network and reassembled at the destination.


Working of Packet Switching

Step-by-Step Process

Step 1: Packetization

  • The sender breaks the original message into fixed or variable-size packets.
  • Each packet is numbered (sequenced) and given a header containing source and destination addresses.

Step 2: Transmission

  • Each packet is sent independently into the network.
  • Packets may take different routes to reach the same destination.

Step 3: Store-and-Forward

  • At each intermediate node (router/switch), the packet is:
    1. Received and stored temporarily in a buffer
    2. Examined - the header is read to determine the next hop
    3. Forwarded - sent toward the destination via the best available route

Step 4: Routing

  • Each router uses a routing table to decide the best path for each packet.
  • Different packets of the same message may follow different paths.

Step 5: Reassembly

  • At the destination, packets are collected and reordered using sequence numbers.
  • The original message is reconstructed and delivered to the application.

Diagram

Sender --> [P1][P2][P3] --> Network (different paths) --> [P1][P2][P3] --> Receiver
                              Router A --> P1
                              Router B --> P2
                              Router A --> P3

Advantages of Packet Switching

FeatureBenefit
Efficient bandwidth useLine is shared among multiple users
Fault tolerancePackets can reroute around failures
No dedicated path neededNo call setup required
Suitable for bursty dataResources used only when needed

Disadvantage

  • Variable delay (jitter) - packets may arrive out of order or with different delays.
  • Overhead - each packet carries header information.

Summary: Packet switching divides data into packets, routes each independently through the network using store-and-forward at each node, and reassembles them at the destination. It is the foundation of modern networks including the Internet.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.