9618/31 October/November 2021 · Question 6 · 8 marks
(a) Explain how packet switching is used to transfer messages across the internet. (b) Outline the function of a router in packet switching.
Points that gain marks
- A large message is divided into smaller packets of the same size.
- Each packet has a header and a payload; the header holds the source and destination IP addresses and a sequence number.
- Each packet is sent on its own and may take a different route.
- Packets may arrive out of order and are reassembled into the message at the destination.
- If a packet is missing or damaged, a re-transmission request is sent.
- The router reads the destination IP address in the packet header.
- It uses its routing table to decide the next hop on the best route, and sends the packet on.
In this lab: Levels 1 and 2 make you the routers; levels 3 and 4 make you the receiver.