Packet Switching
Computer Science: OCR GCSE, topic 1.3.6
Packet Switching
Packet switching is the process of breaking data down into packets. The packets are sent across the Internet to another computer. Then the data is re-assembled.

Sender's local area network
- The sender will generate data in an application on their computer.
- Generating happens at the application layer.
- The data is split into packets of data.
- Splitting happens at the transport layer.
- Internet Protocol adds IP addresses to each packet.
- Adding happens at the Internet layer.
- Packets are grouped into frames and sent to the router on the LAN.
- Grouping happens at the Network layer.

Over the Internet
- The sender's router inspects the packet to determine if the destination IP is on the current LAN.
- The IP might not be on the LAN.
- If so, the router sends the packet onto the Internet (or other wide area network).
- Sending happens at the Internet layer.
- Each packet is sent from the sender's router to the destination router via connected routers.
- The path of each packet can be different, which maximises efficient use of the network by avoiding bottlenecks.

Recipient's local area network
- The packets take different paths, so they arrive at the destination in the wrong order.
- The packets are unpacked and reassembled into the correct order.
- The reassembly uses the sequence number of each packet.
Test yourself on Packet Switching
Process on the Sender's Local Area Network (LAN)
Process of Routing over the Internet
How is network usage optimised?
All the packets between two computers use the same single route. What problem could this route experience?
Name the four layers involved when data is sent across a network.