package switching
Structure Of Internet
Internet, Intranet and World Wide Web
|
Packet Switching
|
IP Adresses------>
|
![Picture](/uploads/2/6/7/5/26754689/237871.png?226)
Different routes taken by three different data packets being sent to the same destination
Packet switching is the method by which the internet works, it features delivery of packets of data between devices over a shared network. i.e. the school web server sending you a webpage over the internet or you sending an email to a friend. To get from one device to another the data packets will have to travel through network adapters, switches, routers and other network nodes. The route taken by each packet might vary and at times there might be a lot of data travelling through these nodes meaning packets will be queued. This will result in varying times it takes to send data from one device to another depending on the traffic load in the network.
![Picture](/uploads/2/6/7/5/26754689/3784492.png?201)
Demonstration of how the internet can re-route message if nodes fail. This makes the internet very robust.
Packet switching steps:
- Data split into chunks (packets)
- Each packet has a from address, to address and payload (data chunk)
- If data requires multiple chunks then the order of each packet is noted
- Packets sent onto the network, moving from router to router taking different paths (set by the router). Each packet's journey time can therefore differ.
- Once packets arrive they are re-ordered
- Message sent from recipient to sender indicating that the message has been received
- If no confirmation message, sender transmits data again