Knowledge Organiser: Packet Switching
Key Terms
- Packet: A small chunk of data with header, payload, and trailer
- Packet switching: Method of transmitting data by splitting it into packets that travel independently
- Header: Part of a packet containing source IP, destination IP, and packet sequence number
- Payload: The actual data carried in a packet (500–1500 bytes typically)
- Trailer: End of a packet containing error-checking data (checksum/CRC)
- Router: Network device that forwards packets towards their destination using IP addresses
Must-Know Facts
- Data is broken into small packets before transmission
- Each packet can take a different route through the network
- Packets are reassembled in the correct order at the destination using sequence numbers
- Packets may arrive out of order — this is normal
- Packet switching is efficient — network bandwidth is shared by many users
- If a packet is lost or corrupted, only that packet is retransmitted (not the whole file)
- Packets can reroute around failures — making the network resilient
Key Concepts
- Packet structure: Header (addresses + sequence number) + Payload (data) + Trailer (error check)
- Why split into packets: Efficient sharing of network links; resilience (reroute around failures); only lost packets retransmitted
- Reassembly: Destination device uses sequence numbers in headers to reorder packets correctly
- Packet switching vs circuit switching: Packet = shared paths, efficient; circuit = dedicated line, wasteful
Common Mistakes
- Saying all packets travel the same route: In packet switching, different packets from the same message can take different routes through the network — they are reassembled in the correct order at the destination using sequence numbers
- Confusing header and payload: The header contains addressing information (source IP, destination IP, sequence number); the payload is the actual data being transmitted — the header is the envelope, the payload is the letter
- Saying packets arrive in order: Packets can arrive out of order due to taking different routes — the receiving device uses sequence numbers in the header to reassemble them correctly
- Forgetting what the trailer contains: The trailer contains error-checking data (e.g. a checksum) that allows the receiver to detect if a packet was corrupted during transmission